docs: add the contribution guide the agent guide points at
The agent guide now sends contributors to CONTRIBUTING.md for the conventions, and that file did not exist, so the pointer was a dead end and the conventions lived only in the README, where they sat next to the feature list. The guide covers what a contributor needs in one place — the licence terms that constrain reuse, the build and the four CMake options, the nine test targets and what each one covers, the code conventions, and the point of the architecture split that decides where new code goes — plus the commit rules the agent guide states, including signed commits and no tool attribution. The READMEs and the doc index now link to it instead of duplicating the list.
This commit is contained in:
5 files changed
+364
-9
No files matched your search
@@ -307,15 +307,15 @@ Le plugin doit être compilé avec le même compilateur et les mêmes en-têtes
|
||||
|
||||
## Développement & conventions
|
||||
|
||||
Ce projet suit les conventions de l'organisation **FWS**, détaillées dans `AGENTS.md` :
|
||||
Ce projet suit les conventions de l'organisation **FWS**, détaillées dans [`CONTRIBUTING.md`](CONTRIBUTING.md) / [`CONTRIBUTING.en.md`](CONTRIBUTING.en.md) :
|
||||
|
||||
- **Branches** : `type/description` (ex. `feat/login`, `fix/typo`).
|
||||
- **Commits** : message en **anglais**, format **Conventional Commits** `<type>(<portée>): <description>`. Types autorisés : `feat`, `fix`, `docs`, `style`, `refactor`, `perf`, `test`, `build`, `ci`, `chore`, `revert`. Titre court et impératif ; le corps n'explique que le **pourquoi**.
|
||||
- **Commits** : message en **anglais**, format **Conventional Commits** `<type>(<portée>): <description>`. Types autorisés : `feat`, `fix`, `docs`, `style`, `refactor`, `perf`, `test`, `build`, `ci`, `chore`, `revert`. Titre court et impératif ; le corps n'explique que le **pourquoi** ; commit **signé**, sans mention d'outil ni co-auteur automatique.
|
||||
- **Fichiers** : `kebab-case` ; identifiants (variables, fonctions, classes) en **anglais**.
|
||||
- **Code & commentaires** : en **anglais**, style « pourquoi » (documenter le non-évident — choix d'implémentation, trade-offs —, pas le banal).
|
||||
- **Tests** : fichiers `*.test.*` avec noms `describe` / `it` en anglais ; les tests (et le typecheck / lint quand ils existent) doivent passer avant de considérer une tâche terminée. Lancez-les avec `ctest` depuis `build/`.
|
||||
- **Issues & bugs** : suivis via les **issues** liées au tableau **Kanban** ; toute PR corrigeant un bug référence l'issue (`Fixes #123`) ; ne pas fermer ni modifier une issue sans demande explicite.
|
||||
- **Fichiers sensibles (`.gitignore`)** : ne jamais committer `.env*`, `.freebuff/`, `build/` / `dist/` / `target/` / `__pycache__/`, `node_modules/`, secrets. Un `.gitignore` existe à la racine du repo.
|
||||
- **Fichiers sensibles (`.gitignore`)** : ne jamais committer `.env*`, `.freebuff/`, `build/` / `dist/` / `target/` / `__pycache__/`, `node_modules/`, secrets. Un `.gitignore` existe à la racine du dépôt. Pour construire, tester et proposer une modification, voir [`CONTRIBUTING.md`](CONTRIBUTING.md).
|
||||
|
||||
## Licence
|
||||
|
||||
|
||||
Reference in new issue
Block a user