From 80c73595d28411f1d5ddfd8298bee3a17276b08e Mon Sep 17 00:00:00 2001 From: Faultier314 <114798763+Faultier314@users.noreply.github.com> Date: Sun, 5 Apr 2026 22:25:36 +0200 Subject: [PATCH] feat: add repo standards infrastructure - .gitattributes: normalize line endings to LF - README.md: project overview and feature list - .gitea/PULL_REQUEST_TEMPLATE.md: PR checklist - CHANGELOG.md, VERSION: bump to 0.2.0 Version: 0.2.0 --- .gitattributes | 35 +++++++++++++++++++++++++++++++++ .gitea/PULL_REQUEST_TEMPLATE.md | 28 ++++++++++++++++++++++++++ CHANGELOG.md | 11 +++++++++++ README.md | 32 ++++++++++++++++++++++++++++++ VERSION | 2 +- 5 files changed, 107 insertions(+), 1 deletion(-) create mode 100644 .gitattributes create mode 100644 .gitea/PULL_REQUEST_TEMPLATE.md create mode 100644 README.md diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..a6c04ab --- /dev/null +++ b/.gitattributes @@ -0,0 +1,35 @@ +# Automatische Zeilenendenormalisierung +* text=auto + +# Explizit Text-Dateien auf LF normieren +*.md text eol=lf +*.txt text eol=lf +*.json text eol=lf +*.yaml text eol=lf +*.yml text eol=lf +*.toml text eol=lf +*.xml text eol=lf +*.html text eol=lf +*.css text eol=lf +*.scss text eol=lf +*.js text eol=lf +*.ts text eol=lf +*.tsx text eol=lf +*.jsx text eol=lf +*.py text eol=lf +*.sh text eol=lf +*.env text eol=lf + +# Binärdateien – kein Zeilenenden-Handling +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.ico binary +*.svg binary +*.woff binary +*.woff2 binary +*.ttf binary +*.eot binary +*.pdf binary +*.zip binary diff --git a/.gitea/PULL_REQUEST_TEMPLATE.md b/.gitea/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..90a321e --- /dev/null +++ b/.gitea/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,28 @@ +## Beschreibung + + + +## Typ der Änderung + +- [ ] `feat` – neues Feature +- [ ] `fix` – Bugfix +- [ ] `refactor` – Code-Umbau ohne Verhaltensänderung +- [ ] `chore` – Wartung, Build, Konfiguration +- [ ] `docs` – nur Dokumentation + +## Checkliste + +- [ ] Alle Tests erfolgreich (``) +- [ ] Versionsnummer erhöht (`VERSION` + `CHANGELOG.md`) +- [ ] `docs/project-structure.md` aktualisiert (falls Funktionen/Module geändert) +- [ ] `README.md` aktualisiert (falls nötig) +- [ ] Branch ist aktuell mit `develop` (rebase/merge) +- [ ] Kein direkter Push nach `main` – diese PR geht nach `develop` + +## Getestete Szenarien + + + +## Version + + diff --git a/CHANGELOG.md b/CHANGELOG.md index 9236713..629f026 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,17 @@ Format: `[MAJOR.MINOR.PATCH] - YYYY-MM-DD` --- +## [0.2.0] - 2026-04-05 + +### Added +- `.gitattributes` – automatische LF-Normalisierung, keine CRLF-Warnungen mehr +- `README.md` – Projektbeschreibung, Features-Übersicht, Links zur Dokumentation +- `.gitea/PULL_REQUEST_TEMPLATE.md` – Checkliste für PRs (Tests, Version, Docs) +- Branch Protection für `main` und `develop` (serverseitig konfiguriert) +- Squash-Merge als Standard-Merge-Strategie (serverseitig konfiguriert) + +--- + ## [0.1.1] - 2026-04-05 ### Changed diff --git a/README.md b/README.md new file mode 100644 index 0000000..e235df5 --- /dev/null +++ b/README.md @@ -0,0 +1,32 @@ +# Gartenmanager + +Persönliche Webanwendung zur Verwaltung und Planung von Gartenaktivitäten. + +## Features (geplant) + +- **Pflanzenverwaltung** – Pflanzenarten mit Eigenschaften (Aussaatzeit, Wasserbedarf, Abstand …) +- **Beetplanung** – Beete anlegen und Pflanzen zuordnen +- **Aussaatkalender** – Jahresbasierter Aussaat- und Pflanzungsplan +- **Aufgabenverwaltung** – Gartenaufgaben mit Fälligkeitsdatum +- **Bewässerungsplan** – Intervalle je Beet oder Pflanze + +## Techstack + +> Noch festzulegen. + +## Entwicklung + +> Build- und Run-Befehle werden hier ergänzt, sobald der Techstack feststeht. + +Weiterführende Dokumentation: + +- [Entwicklungsstandards](docs/development-standards.md) +- [Projektstruktur](docs/project-structure.md) +- [Branching-Strategie](docs/branching-strategy.md) +- [Changelog](CHANGELOG.md) + +## Versionierung + +Aktuelle Version: siehe [VERSION](VERSION) + +Schema: `MAJOR.MINOR.PATCH` – Details in den [Entwicklungsstandards](docs/development-standards.md#versionierung). diff --git a/VERSION b/VERSION index 17e51c3..0ea3a94 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.1 +0.2.0