docs: refresh organization documentation
Replace the profile README with a project-focused overview, add bilingual contribution guidance and visual assets, and clarify the rules agents must follow when commits are requested. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
This commit is contained in:
8 files changed
+655
-476
No files matched your search
@@ -0,0 +1,59 @@
|
||||
# AGENTS.md — AI Agent Instructions
|
||||
|
||||
> Reference file for AI agents (Codebuff, Cursor, Claude Code, GitHub Copilot…) working on an FWS repository. Read this file first: it contains the instructions to follow. `README.md` introduces the organization and `CONTRIBUTING.en.md` details the collaboration conventions.
|
||||
|
||||
## Context
|
||||
|
||||
- **FWS** is an open-source organization made up of multiple projects: each project is free to choose its technology stack, with no language restriction.
|
||||
- Main project: **FWS ISO** — a live and installable Linux distribution based on Arch Linux, designed to simplify installation and everyday use.
|
||||
- Detailed conventions: `CONTRIBUTING.md` (FR) / `CONTRIBUTING.en.md` (EN).
|
||||
|
||||
## Rules to follow
|
||||
|
||||
### Commits
|
||||
|
||||
- Commit messages must be written in **English** and follow **Conventional Commits**: `<type>(<scope>): <description>`.
|
||||
- Allowed types: `feat`, `fix`, `docs`, `style`, `refactor`, `perf`, `test`, `build`, `ci`, `chore`, `revert`.
|
||||
- Keep titles short and imperative. Add a body only to explain **why**, not how.
|
||||
|
||||
### Naming
|
||||
|
||||
- Branches: `type/description` (for example, `feat/login` or `fix/typo`).
|
||||
- Files: **kebab-case** (for example, `my-component.ts`).
|
||||
- Identifiers (variables, functions and classes): **English**.
|
||||
|
||||
### Code and comments
|
||||
|
||||
- Write comments in **English**, in a “why” style. Do not comment self-explanatory code; document non-obvious decisions, trade-offs and edge cases.
|
||||
- Follow the repository's existing technology stack and conventions before adding dependencies.
|
||||
|
||||
### Sensitive files (`.gitignore`)
|
||||
|
||||
- **Never commit** environment files (`.env*`), AI assistant data (`.freebuff/`), build artifacts (`dist/`, `build/`, `target/`, `__pycache__/`…), dependencies (`node_modules/`) or secrets.
|
||||
- Every repository must have a `.gitignore` at its root.
|
||||
|
||||
### Tests
|
||||
|
||||
- Test files use `*.test.*`; `describe` / `it` test names are written in English.
|
||||
- Run tests, typechecks and linters when available before considering a task complete.
|
||||
|
||||
### Issues and bug reports
|
||||
|
||||
- Track bugs and requests through **issues** and, when available, the project's Kanban board.
|
||||
- A pull request that fixes a bug must reference the issue in its title or description (`Fixes #123`).
|
||||
- Do not close or modify an issue without an explicit user request.
|
||||
|
||||
### User-requested commits
|
||||
|
||||
- When the user explicitly asks for a commit, the AI must create it after checking the changes and available checks, without waiting for an additional confirmation.
|
||||
- The commit title and body must never mention the AI, the assistant, Codebuff or the tool used.
|
||||
- Do not add the AI as an author or co-author in the commit message.
|
||||
|
||||
## Agent best practices
|
||||
|
||||
- Read `AGENTS.en.md`, `README.md` and `CONTRIBUTING.en.md` before editing code.
|
||||
- Commits must always be signed.
|
||||
- Make the smallest change that addresses the request.
|
||||
- Do not push, merge or publish without an explicit user request.
|
||||
- Follow the project's Kanban cards when the board exists to organize work.
|
||||
- When in doubt, ask instead of guessing.
|
||||
@@ -1,12 +1,12 @@
|
||||
# AGENTS.md — Instructions pour les agents IA
|
||||
|
||||
> Fichier de référence pour les agents IA (Codebuff, Cursor, Claude Code, GitHub Copilot…) qui travaillent sur un repo de l'organisation **FWS**. Un agent doit lire ce fichier en premier : il contient les instructions à respecter. Le `README.md` apporte le contexte complet.
|
||||
> Fichier de référence pour les agents IA (Codebuff, Cursor, Claude Code, GitHub Copilot…) qui travaillent sur un dépôt de l'organisation **FWS**. Un agent doit lire ce fichier en premier : il contient les instructions à respecter. Le `README.md` présente l'organisation et le `CONTRIBUTING.md` détaille les conventions de collaboration.
|
||||
|
||||
## Contexte
|
||||
|
||||
- **FWS** est une organisation open source multi-projets : chaque projet choisit librement sa stack (pas de restriction de langage).
|
||||
- Projet principal : **FWS Arch** — un fork d'Arch Linux avec une surcouche conviviale pour simplifier l'installation et l'usage au quotidien.
|
||||
- Conventions détaillées : `README.md` (FR) / `README.en.md` (EN).
|
||||
- **FWS** est une organisation open source multi-projets : chaque projet choisit librement sa stack technique (sans restriction de langage).
|
||||
- Projet principal : **FWS ISO** — une distribution Linux basée sur Arch Linux, pensée pour simplifier l'installation et l'usage au quotidien.
|
||||
- Conventions détaillées : `CONTRIBUTING.md` (FR) / `CONTRIBUTING.en.md` (EN).
|
||||
|
||||
## Règles à respecter
|
||||
|
||||
@@ -24,30 +24,36 @@
|
||||
|
||||
### Code & commentaires
|
||||
|
||||
- Commentaires en **anglais**, style « pourquoi » : pas de commentaire si le code est explicite, documenter le non-évident (choix d'implémentation, trade-offs, cas limites).
|
||||
- Respecter la stack et les conventions existantes du repo avant d'ajouter de nouvelles dépendances.
|
||||
- Commentaires en **anglais**, style « pourquoi » : pas de commentaire si le code est explicite ; documenter le non-évident (choix d'implémentation, compromis, cas limites).
|
||||
- Respecter la stack technique et les conventions existantes du dépôt avant d'ajouter de nouvelles dépendances.
|
||||
|
||||
### Fichiers sensibles (`.gitignore`)
|
||||
|
||||
- Ne **jamais** committer : fichiers d'environnement (`.env*`), données d'assistants de développement (`.freebuff/`), artefacts compilés (`dist/`, `build/`, `target/`, `__pycache__/`…), dépendances (`node_modules/`), secrets.
|
||||
- Un `.gitignore` doit exister à la racine de chaque repo.
|
||||
- Ne **jamais** versionner : fichiers d'environnement (`.env*`), données d'assistants de développement (`.freebuff/`), artefacts compilés (`dist/`, `build/`, `target/`, `__pycache__/`…), dépendances (`node_modules/`), secrets.
|
||||
- Un `.gitignore` doit exister à la racine de chaque dépôt.
|
||||
|
||||
### Tests
|
||||
|
||||
- Fichiers de test : `*.test.*`, noms `describe` / `it` en anglais.
|
||||
- Fichiers de test : `*.test.*` ; noms de tests `describe` / `it` en anglais.
|
||||
- Vérifier que les tests (et le typecheck / lint quand ils existent) passent avant de considérer une tâche terminée.
|
||||
|
||||
### Issues & signalement de bugs
|
||||
|
||||
- Les bugs et demandes sont suivis via les **issues**, liées au tableau Kanban.
|
||||
- Une PR qui corrige un bug référence l'issue dans son titre ou sa description (`Fixes #123`).
|
||||
- Les bugs et demandes sont suivis via les **issues** et, lorsqu'il existe, le tableau Kanban du projet.
|
||||
- Une pull request qui corrige un bug référence l'issue dans son titre ou sa description (`Fixes #123`).
|
||||
- Ne pas fermer ni modifier une issue sans demande explicite de l'utilisateur.
|
||||
|
||||
### Commits demandés par l'utilisateur
|
||||
|
||||
- Lorsque l'utilisateur demande explicitement de créer un commit, l'IA doit le faire après avoir vérifié les changements et les contrôles disponibles, sans attendre une confirmation supplémentaire.
|
||||
- Le titre et le corps du commit ne doivent jamais mentionner l'IA, l'assistant, Codebuff ou l'outil utilisé.
|
||||
- Ne pas ajouter l'IA comme auteur ou co-auteur dans le message du commit.
|
||||
|
||||
## Bonnes pratiques pour un agent
|
||||
|
||||
- Lire `AGENTS.md` puis `README.md` avant d'éditer du code.
|
||||
- Il faut absolument que les commits soient signés
|
||||
- Lire `AGENTS.md`, le `README.md` et le `CONTRIBUTING.md` avant d'éditer du code.
|
||||
- Les commits doivent être signés.
|
||||
- Faire les changements les plus petits possibles qui répondent à la demande.
|
||||
- Ne pas pousser, merger ni publier sans demande explicite de l'utilisateur.
|
||||
- Suivre les cartes du tableau Kanban du projet pour l'organisation du travail.
|
||||
- En cas de doute, demander plutôt que deviner.
|
||||
- Ne pas pousser, fusionner ni publier sans demande explicite de l'utilisateur.
|
||||
- Suivre les cartes du tableau Kanban lorsqu'il existe pour organiser le travail.
|
||||
- En cas de doute, demander plutôt que de deviner.
|
||||
@@ -0,0 +1,174 @@
|
||||
# Contributing to FWS
|
||||
|
||||
Thank you for your interest in FWS. This guide defines the conventions shared by the organization's repositories.
|
||||
|
||||
- [Version française](CONTRIBUTING.md)
|
||||
- [AI agent instructions](AGENTS.en.md)
|
||||
- [All FWS repositories](https://gitea.nocode-var.tech/FWS/-/repositories)
|
||||
|
||||
## Effective date
|
||||
|
||||
These conventions apply to work created on or after **August 26, 2026**.
|
||||
|
||||
- Earlier commits, branches, repositories, code and history are not affected.
|
||||
- No retroactive renaming or history rewriting is required.
|
||||
- All new work must follow these conventions.
|
||||
|
||||
## Before contributing
|
||||
|
||||
1. Read the target repository's `README.md` and license.
|
||||
2. Check its open issues to avoid duplicating existing work.
|
||||
3. Open an issue before starting a notable feature, major change or bug fix.
|
||||
4. Use an AI assistant only after reading [AGENTS.en.md](AGENTS.en.md).
|
||||
|
||||
Each repository remains responsible for its own technical documentation and setup instructions.
|
||||
|
||||
## Commits
|
||||
|
||||
Commit messages must be written in English and follow [Conventional Commits](https://www.conventionalcommits.org/):
|
||||
|
||||
```text
|
||||
<type>(<scope>): <description>
|
||||
```
|
||||
|
||||
Allowed types:
|
||||
|
||||
| Type | Usage |
|
||||
|---|---|
|
||||
| `feat:` | New feature |
|
||||
| `fix:` | Bug fix |
|
||||
| `docs:` | Documentation only |
|
||||
| `style:` | Formatting only, with no behavior change |
|
||||
| `refactor:` | Refactoring without behavior change |
|
||||
| `perf:` | Performance improvement |
|
||||
| `test:` | Add or update tests |
|
||||
| `build:` | Build system or dependencies |
|
||||
| `ci:` | Continuous integration |
|
||||
| `chore:` | Maintenance and configuration tasks |
|
||||
| `revert:` | Revert a previous commit |
|
||||
|
||||
Examples:
|
||||
|
||||
```text
|
||||
feat(auth): add password reset flow
|
||||
fix(installer): resolve partition detection on UEFI
|
||||
docs(readme): clarify setup steps
|
||||
```
|
||||
|
||||
The title must be short and imperative. Add a body only when it explains **why** the change was made, not how it was implemented.
|
||||
|
||||
## Naming
|
||||
|
||||
### Repositories
|
||||
|
||||
New repositories use lowercase kebab case and the `fws-` prefix:
|
||||
|
||||
```text
|
||||
fws-arch
|
||||
fws-web
|
||||
fws-api
|
||||
fws-docs
|
||||
```
|
||||
|
||||
Existing repository names are not renamed retroactively.
|
||||
|
||||
### Branches
|
||||
|
||||
Use `type/description`, written in English and kebab case:
|
||||
|
||||
```text
|
||||
feat/login
|
||||
fix/readme-links
|
||||
docs/api
|
||||
refactor/installer
|
||||
```
|
||||
|
||||
### Files
|
||||
|
||||
Use kebab case for files, regardless of the language:
|
||||
|
||||
```text
|
||||
my-component.ts
|
||||
user-service.py
|
||||
network-manager.c
|
||||
install-script.sh
|
||||
```
|
||||
|
||||
## Code conventions
|
||||
|
||||
- Identifiers such as variables, functions, classes and modules must be written in English.
|
||||
- Comments must explain **why**, not **how**.
|
||||
- Do not comment self-explanatory code.
|
||||
- Document non-obvious implementation choices, trade-offs, edge cases and bug references.
|
||||
- Follow the conventions and tooling already present in the target repository.
|
||||
|
||||
Each project is free to choose its own language, framework and formatter. Use the standard tooling of that stack when available, such as `rustfmt`, `gofmt`, Prettier or Ruff.
|
||||
|
||||
## Repository hygiene
|
||||
|
||||
Every repository must have a `.gitignore` at its root. It must exclude, as applicable:
|
||||
|
||||
- environment files such as `.env` and `.env.*`;
|
||||
- secrets and credentials;
|
||||
- AI assistant data such as `.freebuff/`, `.cursor/` or `.vscode/`;
|
||||
- dependencies and build artifacts such as `node_modules/`, `dist/`, `build/`, `target/` and `__pycache__/`;
|
||||
- generated logs, caches and coverage reports.
|
||||
|
||||
If a sensitive file is accidentally tracked, remove it from Git without deleting the local copy only after confirming that no secret was exposed. Rotate any exposed credential immediately.
|
||||
|
||||
## Tests
|
||||
|
||||
- Name test files using `*.test.*` or the conventional pattern of the project's framework.
|
||||
- Write test names in English.
|
||||
- Run the target repository's typecheck, linter and tests before opening a pull request.
|
||||
- All relevant checks must pass before a pull request can be merged.
|
||||
|
||||
Documentation-only changes should still validate links and formatting when those checks are available.
|
||||
|
||||
## Releases
|
||||
|
||||
Released projects use [Semantic Versioning](https://semver.org/):
|
||||
|
||||
- `MAJOR`: incompatible changes;
|
||||
- `MINOR`: backward-compatible features;
|
||||
- `PATCH`: backward-compatible bug fixes.
|
||||
|
||||
Projects should maintain a `CHANGELOG.md` generated from Conventional Commits or an equivalent release process.
|
||||
|
||||
## Issues and project tracking
|
||||
|
||||
Use issues for bugs, feature requests and questions. Link them to the project's Kanban board when one exists.
|
||||
|
||||
A useful bug report includes:
|
||||
|
||||
- reproduction steps;
|
||||
- expected and observed behavior;
|
||||
- environment, versions and relevant hardware;
|
||||
- logs or screenshots with secrets removed.
|
||||
|
||||
Recommended labels include `bug`, `enhancement`, `question`, `good first issue` and `help wanted`. Reference the issue in the pull request or commit with `Fixes #123` when applicable.
|
||||
|
||||
## Pull request workflow
|
||||
|
||||
1. Create a `type/description` branch from `main`.
|
||||
2. Make focused changes and commit with Conventional Commits.
|
||||
3. Update documentation and tests when relevant.
|
||||
4. Open a pull request with a clear title and description.
|
||||
5. Link the related issue.
|
||||
6. Obtain at least one review.
|
||||
7. Ensure all relevant tests and checks pass.
|
||||
8. Merge with squash so one pull request produces one clean commit on `main`.
|
||||
|
||||
Do not push, merge or publish without the appropriate maintainer approval. Commits must be signed.
|
||||
|
||||
## Documentation and language
|
||||
|
||||
- `README.md` is the French version.
|
||||
- `README.en.md` is the English version.
|
||||
- Both versions must remain synchronized.
|
||||
- `AGENTS.md` and `AGENTS.en.md` are mandatory in every FWS repository and must be updated when organization-wide instructions change.
|
||||
- A repository may provide additional documentation according to its own technology stack and language conventions.
|
||||
|
||||
## Licensing
|
||||
|
||||
Licensing is defined per repository. Always read the target repository's license before copying, modifying or redistributing its code. Do not assume that all FWS repositories use the same license.
|
||||
+174
@@ -0,0 +1,174 @@
|
||||
# Contribuer à FWS
|
||||
|
||||
Merci de votre intérêt pour FWS. Ce guide définit les conventions communes aux dépôts de l'organisation.
|
||||
|
||||
- [Version anglaise](CONTRIBUTING.en.md)
|
||||
- [Instructions pour les agents IA](AGENTS.md)
|
||||
- [Tous les dépôts FWS](https://gitea.nocode-var.tech/FWS/-/repositories)
|
||||
|
||||
## Date d'entrée en vigueur
|
||||
|
||||
Ces conventions s'appliquent aux travaux créés à partir du **26 août 2026**.
|
||||
|
||||
- Les commits, branches, dépôts, code et historiques antérieurs ne sont pas concernés.
|
||||
- Aucun renommage rétroactif ni réécriture d'historique n'est requis.
|
||||
- Tout nouveau travail doit respecter ces conventions.
|
||||
|
||||
## Avant de contribuer
|
||||
|
||||
1. Lisez le `README.md` et la licence du dépôt ciblé.
|
||||
2. Consultez ses issues ouvertes pour éviter de dupliquer un travail existant.
|
||||
3. Ouvrez une issue avant de commencer une fonctionnalité importante, une rupture majeure ou la correction d'un bug.
|
||||
4. Si vous utilisez un assistant IA, lisez d'abord [AGENTS.md](AGENTS.md).
|
||||
|
||||
Chaque dépôt reste responsable de sa documentation technique et de ses instructions d'installation.
|
||||
|
||||
## Commits
|
||||
|
||||
Les messages de commit doivent être rédigés en anglais et suivre le format [Conventional Commits](https://www.conventionalcommits.org/) :
|
||||
|
||||
```text
|
||||
<type>(<portée>): <description>
|
||||
```
|
||||
|
||||
Types autorisés :
|
||||
|
||||
| Type | Usage |
|
||||
|---|---|
|
||||
| `feat:` | Nouvelle fonctionnalité |
|
||||
| `fix:` | Correction de bug |
|
||||
| `docs:` | Documentation uniquement |
|
||||
| `style:` | Formatage uniquement, sans changement de comportement |
|
||||
| `refactor:` | Refactorisation sans changement de comportement |
|
||||
| `perf:` | Amélioration de performance |
|
||||
| `test:` | Ajout ou modification de tests |
|
||||
| `build:` | Système de build ou dépendances |
|
||||
| `ci:` | Intégration continue |
|
||||
| `chore:` | Maintenance et configuration |
|
||||
| `revert:` | Annulation d'un commit |
|
||||
|
||||
Exemples :
|
||||
|
||||
```text
|
||||
feat(auth): add password reset flow
|
||||
fix(installer): resolve partition detection on UEFI
|
||||
docs(readme): clarify setup steps
|
||||
```
|
||||
|
||||
Le titre doit être court et impératif. Ajoutez un corps uniquement pour expliquer **pourquoi** la modification a été faite, et non comment elle a été implémentée.
|
||||
|
||||
## Nommage
|
||||
|
||||
### Dépôts
|
||||
|
||||
Les nouveaux dépôts utilisent des noms en minuscules, en kebab-case et avec le préfixe `fws-` :
|
||||
|
||||
```text
|
||||
fws-arch
|
||||
fws-web
|
||||
fws-api
|
||||
fws-docs
|
||||
```
|
||||
|
||||
Les noms des dépôts existants ne sont pas renommés rétroactivement.
|
||||
|
||||
### Branches
|
||||
|
||||
Utilisez `type/description`, rédigé en anglais et en kebab-case :
|
||||
|
||||
```text
|
||||
feat/login
|
||||
fix/readme-links
|
||||
docs/api
|
||||
refactor/installer
|
||||
```
|
||||
|
||||
### Fichiers
|
||||
|
||||
Utilisez le kebab-case pour les fichiers, quel que soit le langage :
|
||||
|
||||
```text
|
||||
my-component.ts
|
||||
user-service.py
|
||||
network-manager.c
|
||||
install-script.sh
|
||||
```
|
||||
|
||||
## Conventions de code
|
||||
|
||||
- Les identifiants, tels que les variables, fonctions, classes et modules, doivent être rédigés en anglais.
|
||||
- Les commentaires doivent expliquer **pourquoi**, pas **comment**.
|
||||
- Ne commentez pas un code qui se comprend de lui-même.
|
||||
- Documentez les choix d'implémentation, compromis, cas limites et références à des bugs qui ne sont pas évidents.
|
||||
- Suivez les conventions et les outils déjà présents dans le dépôt ciblé.
|
||||
|
||||
Chaque projet peut choisir librement son langage, son framework et son formateur. Utilisez l'outil standard de sa stack technique lorsqu'il existe, comme `rustfmt`, `gofmt`, Prettier ou Ruff.
|
||||
|
||||
## Hygiène du dépôt
|
||||
|
||||
Chaque dépôt doit contenir un `.gitignore` à sa racine. Il doit exclure, selon le projet :
|
||||
|
||||
- les fichiers d'environnement tels que `.env` et `.env.*` ;
|
||||
- les secrets et identifiants ;
|
||||
- les données des assistants IA telles que `.freebuff/`, `.cursor/` ou `.vscode/` ;
|
||||
- les dépendances et artefacts de build tels que `node_modules/`, `dist/`, `build/`, `target/` et `__pycache__/` ;
|
||||
- les journaux, caches et rapports de couverture générés.
|
||||
|
||||
Si un fichier sensible est suivi par erreur, retirez-le de Git sans supprimer la copie locale uniquement après avoir vérifié qu'aucun secret n'a été exposé. Révoquez et renommez immédiatement tout identifiant ayant été compromis.
|
||||
|
||||
## Tests
|
||||
|
||||
- Nommez les fichiers de test avec `*.test.*` ou selon la convention du framework du projet.
|
||||
- Rédigez les noms de test en anglais.
|
||||
- Exécutez le typecheck, le linter et les tests du dépôt ciblé avant d'ouvrir une pull request.
|
||||
- Tous les contrôles pertinents doivent réussir avant le merge.
|
||||
|
||||
Pour une modification de documentation uniquement, validez tout de même les liens et le formatage lorsque les outils correspondants sont disponibles.
|
||||
|
||||
## Versions
|
||||
|
||||
Les projets publiés utilisent [Semantic Versioning](https://semver.org/) :
|
||||
|
||||
- `MAJOR` : changements incompatibles ;
|
||||
- `MINOR` : nouvelles fonctionnalités rétrocompatibles ;
|
||||
- `PATCH` : corrections de bugs rétrocompatibles.
|
||||
|
||||
Les projets doivent maintenir un `CHANGELOG.md` généré à partir des Conventional Commits ou d'un processus de publication équivalent.
|
||||
|
||||
## Issues et suivi des projets
|
||||
|
||||
Utilisez les issues pour les bugs, les demandes de fonctionnalités et les questions. Reliez-les au tableau Kanban du projet lorsqu'il existe.
|
||||
|
||||
Un rapport de bug utile contient :
|
||||
|
||||
- les étapes de reproduction ;
|
||||
- le comportement attendu et le comportement observé ;
|
||||
- l'environnement, les versions et le matériel pertinent ;
|
||||
- les logs ou captures d'écran sans secret.
|
||||
|
||||
Les étiquettes recommandées comprennent `bug`, `enhancement`, `question`, `good first issue` et `help wanted`. Référencez l'issue dans la pull request ou le commit avec `Fixes #123` lorsque cela s'applique.
|
||||
|
||||
## Workflow des pull requests
|
||||
|
||||
1. Créez une branche `type/description` depuis `main`.
|
||||
2. Faites des changements ciblés et respectez les Conventional Commits.
|
||||
3. Mettez à jour la documentation et les tests lorsque cela est pertinent.
|
||||
4. Ouvrez une pull request avec un titre et une description clairs.
|
||||
5. Reliez l'issue concernée.
|
||||
6. Obtenez au moins une relecture.
|
||||
7. Vérifiez que tous les tests et contrôles pertinents réussissent.
|
||||
8. Effectuez un merge en squash afin qu'une pull request produise un commit propre sur `main`.
|
||||
|
||||
Ne poussez, ne fusionnez et ne publiez rien sans l'accord du mainteneur approprié. Les commits doivent être signés.
|
||||
|
||||
## Documentation et langues
|
||||
|
||||
- `README.md` est la version française.
|
||||
- `README.en.md` est la version anglaise.
|
||||
- Les deux versions doivent rester synchronisées.
|
||||
- `AGENTS.md` et `AGENTS.en.md` sont obligatoires dans chaque dépôt FWS et doivent être mis à jour lorsque les instructions communes évoluent.
|
||||
- Un dépôt peut fournir une documentation supplémentaire selon les conventions de sa stack technique et de sa langue.
|
||||
|
||||
## Licences
|
||||
|
||||
Les licences sont définies dépôt par dépôt. Lisez toujours la licence du dépôt ciblé avant de copier, modifier ou redistribuer son code. Ne supposez pas que tous les dépôts FWS utilisent la même licence.
|
||||
+88
-230
@@ -1,255 +1,113 @@
|
||||
# FWS
|
||||
<p align="center">
|
||||
<img src="assets/fws-banner.svg" alt="FWS — Open source projects" width="100%" />
|
||||
</p>
|
||||
|
||||
FWS is an open-source organization made up of several projects. Each project is free to choose its own tech stack (no language restrictions), but must follow the common conventions described in this document.
|
||||
<p align="center">
|
||||
<img src="assets/fws-logo.svg" alt="FWS logo" width="96" />
|
||||
</p>
|
||||
|
||||
The main project is **FWS Arch**, a fork of Arch Linux: we keep the Arch base and add a user-friendly layer on top to simplify day-to-day installation and usage.
|
||||
<h1 align="center">FWS</h1>
|
||||
<p align="center"><strong>An open-source organization building useful, free and accessible software.</strong></p>
|
||||
|
||||
> This document defines the conventions that apply to **all** repositories in the organization.
|
||||
<p align="center">
|
||||
<a href="https://fws.laxacube.ch"><img src="https://img.shields.io/badge/official%20website-fws.laxacube.ch-0891b2?style=flat-square" alt="Official website" /></a>
|
||||
<a href="https://gitea.nocode-var.tech/FWS/-/repositories"><img src="https://img.shields.io/badge/repositories-FWS-4f46e5?style=flat-square" alt="FWS repositories" /></a>
|
||||
<a href="https://gitea.nocode-var.tech/FWS/-/repositories"><img src="https://img.shields.io/badge/7%20projects-7c3aed?style=flat-square" alt="7 projects" /></a>
|
||||
<a href="README.md"><img src="https://img.shields.io/badge/documentation-FR%20%7C%20EN-0f766e?style=flat-square" alt="Bilingual documentation" /></a>
|
||||
<a href="CONTRIBUTING.en.md"><img src="https://img.shields.io/badge/contribute-open%20source-ff6b35?style=flat-square" alt="Contribute" /></a>
|
||||
</p>
|
||||
|
||||
## Effective date
|
||||
FWS brings together a Linux distribution, desktop tools, a website and a community around one idea: keeping the power of open-source technology while delivering a simple, clear and welcoming experience.
|
||||
|
||||
The rules in this document **take effect on August 26, 2026**.
|
||||
|
||||
- Anything done **before that date** — commits, branches, repositories, code, history — **is not affected**: no retroactive renaming or history rewriting.
|
||||
- From that date on, **all new commits, branches, repositories and projects** must follow these conventions.
|
||||
|
||||
## Languages
|
||||
|
||||
- [French version](README.md)
|
||||
- [Download `AGENTS.md`](AGENTS.md)
|
||||
|
||||
## Table of contents
|
||||
|
||||
- [Effective date](#effective-date)
|
||||
- [Languages](#languages)
|
||||
- [Commit conventions](#commit-conventions)
|
||||
- [Naming](#naming)
|
||||
- [Code conventions](#code-conventions)
|
||||
- [Tests](#tests)
|
||||
- [Versioning & releases](#versioning--releases)
|
||||
- [Development organization (Kanban)](#development-organization-kanban)
|
||||
- [Issues & bug reports](#issues--bug-reports)
|
||||
- [Git workflow / Pull requests](#git-workflow--pull-requests)
|
||||
- [Documentation](#documentation)
|
||||
🌐 [Official website](https://fws.laxacube.ch) · 💻 [All repositories](https://gitea.nocode-var.tech/FWS/-/repositories) · 🇫🇷 [Français](README.md)
|
||||
|
||||
---
|
||||
|
||||
## Commit conventions
|
||||
## Why FWS?
|
||||
|
||||
### Language
|
||||
- **A user-focused experience** — tools that hide complexity instead of imposing it.
|
||||
- **A flexible technical architecture** — every project chooses the technology that best fits its problem.
|
||||
- **Concrete projects** — a distribution, a package manager, a community bot, a website and reusable building blocks.
|
||||
- **Open collaboration** — ideas, problems and contributions are tracked through public issues and pull requests.
|
||||
|
||||
All commit messages are written in **English**.
|
||||
## The FWS ecosystem
|
||||
|
||||
### Format: Conventional Commits
|
||||
FWS is not a single project. It is an organization of complementary projects that share a common vision and collaboration framework.
|
||||
|
||||
Every commit follows the [Conventional Commits](https://www.conventionalcommits.org/) format:
|
||||
|
||||
```
|
||||
<type>(<scope>): <description>
|
||||
```text
|
||||
FWS
|
||||
├── FWS ISO → the Linux distribution
|
||||
├── PacManager → graphical package management
|
||||
├── FWS-Website → the official website
|
||||
├── FWS-DiscordBot → the Discord community hub
|
||||
├── Website template → a starting point for websites
|
||||
├── DeskManager → a project still being defined
|
||||
└── .profile → cross-project documentation
|
||||
```
|
||||
|
||||
**Allowed types:**
|
||||
## Our projects
|
||||
|
||||
| Type | Usage |
|
||||
|-------------|-------------------------------------------------------------|
|
||||
| `feat:` | New feature |
|
||||
| `fix:` | Bug fix |
|
||||
| `docs:` | Documentation only |
|
||||
| `style:` | Formatting, whitespace, semicolons… (no code impact) |
|
||||
| `refactor:` | Refactoring without behavior change |
|
||||
| `perf:` | Performance improvement |
|
||||
| `test:` | Adding or updating tests |
|
||||
| `build:` | Build system or dependencies |
|
||||
| `ci:` | CI configuration |
|
||||
| `chore:` | Miscellaneous tasks (cleanup, configuration…) |
|
||||
| `revert:` | Reverting a previous commit |
|
||||
| Project | Description | Technologies | Status | Explore |
|
||||
|---|---|---|---|---|
|
||||
| [**FWS ISO**](https://gitea.nocode-var.tech/FWS/FWS-ISO) | FWS's flagship project: a live and installable Linux distribution based on Arch Linux, with a ready-to-use desktop, games and system maintenance tools. | Arch Linux, Python, Shell | **Active** | [Code](https://gitea.nocode-var.tech/FWS/FWS-ISO) · [Issues](https://gitea.nocode-var.tech/FWS/FWS-ISO/issues) |
|
||||
| [**PacManager**](https://gitea.nocode-var.tech/FWS/FWS-PacManage) | A graphical package manager for Arch Linux. It brings together pacman, Flatpak, package search, updates, cleanup and action history. | C++, Qt 6, CMake | **Active** | [Code](https://gitea.nocode-var.tech/FWS/FWS-PacManage) · [Issues](https://gitea.nocode-var.tech/FWS/FWS-PacManage/issues) |
|
||||
| [**Official website**](https://gitea.nocode-var.tech/FWS/FWS-Website) | FWS's public front door: information about the organization, its projects, downloads and resources. | PHP, CSS, JavaScript | **Active** | [Code](https://gitea.nocode-var.tech/FWS/FWS-Website) · [Issues](https://gitea.nocode-var.tech/FWS/FWS-Website/issues) |
|
||||
| [**FWS-DiscordBot**](https://gitea.nocode-var.tech/FWS/FWS-DiscordBot) | The community Discord bot: support, tickets, moderation, Gitea notifications, statistics and temporary voice channels. | JavaScript, Node.js, SQLite | **Active** | [Code](https://gitea.nocode-var.tech/FWS/FWS-DiscordBot) · [Issues](https://gitea.nocode-var.tech/FWS/FWS-DiscordBot/issues) |
|
||||
| [**Website One-Page Template**](https://gitea.nocode-var.tech/FWS/FWS-TEMPLATE-Website-OnePage) | The official template for quickly creating a one-page website without Node.js, a bundler or a complex build step. | HTML, CSS, JavaScript | **Ready to use** | [Code](https://gitea.nocode-var.tech/FWS/FWS-TEMPLATE-Website-OnePage) · [Issues](https://gitea.nocode-var.tech/FWS/FWS-TEMPLATE-Website-OnePage/issues) |
|
||||
| [**DeskManager**](https://gitea.nocode-var.tech/FWS/FWS-DeskManger) | A project still in the exploratory stage. Its goals and features will be clarified as development progresses. | To be defined | **Incubator** | [Code](https://gitea.nocode-var.tech/FWS/FWS-DeskManger) · [Issues](https://gitea.nocode-var.tech/FWS/FWS-DeskManger/issues) |
|
||||
| [**`.profile`**](https://gitea.nocode-var.tech/FWS/.profile) | The organization's reference repository: an overview and the shared collaboration conventions. | Markdown | **Documentation** | [Code](https://gitea.nocode-var.tech/FWS/.profile) · [Instructions](AGENTS.en.md) |
|
||||
|
||||
**Examples:**
|
||||
## Featured projects
|
||||
|
||||
```
|
||||
feat(auth): add password reset flow
|
||||
fix(installer): resolve partition detection on UEFI
|
||||
docs(readme): clarify setup steps
|
||||
```
|
||||
### 🐧 FWS ISO — A Linux distribution that meets users where they are
|
||||
|
||||
### Message body
|
||||
FWS ISO is a live and installable distribution based on Arch Linux. It aims to simplify installation and provide a system that is ready to use, with desktop selection, driver management, updates, recovery and integrated tools for gaming and virtual reality.
|
||||
|
||||
The title should be short and imperative. A **body is added when needed** to explain the *why* (context, decision, trade-offs), not the *how*.
|
||||
Its goal is to make Arch's capabilities accessible without sacrificing its flexibility.
|
||||
|
||||
```
|
||||
fix(installer): resolve partition detection on UEFI
|
||||
### 📦 PacManager — Visual package management
|
||||
|
||||
The previous heuristics failed on disks with an ESP not mounted at
|
||||
/boot. Fall back to reading the EFI system partition UUID directly
|
||||
from the firmware tables.
|
||||
```
|
||||
PacManager provides a Qt 6 interface for searching, installing, removing and updating packages. Beyond pacman, it offers grouped updates, cache cleanup, action history, logs and plugins such as Flatpak.
|
||||
|
||||
### 🌐 FWS-Website — The organization's showcase
|
||||
|
||||
The official website brings together project presentations, downloads and useful links. It provides a common entry point for discovering the organization and following its projects.
|
||||
|
||||
### 🤖 FWS-DiscordBot — The community in one place
|
||||
|
||||
The Discord bot centralizes support, tickets, moderation, Gitea notifications, status commands and voice channel management. It makes day-to-day community interaction easier while connecting users to repositories and issues.
|
||||
|
||||
## How the organization works
|
||||
|
||||
Each repository has its own technology stack and development cycle, while sharing the same collaboration framework.
|
||||
|
||||
1. **One project, one repository** — code, documentation and tests live with the project they belong to.
|
||||
2. **Freedom to choose the technology stack** — JavaScript, C++, Python, PHP or something else: the technology follows the need.
|
||||
3. **Shared decisions** — major features go through an issue, a dedicated branch and a reviewed pull request.
|
||||
4. **Clean releases** — released projects follow SemVer and keep their `CHANGELOG.md` up to date.
|
||||
5. **Accessible documentation** — READMEs are bilingual, and AI agent instructions are centralized.
|
||||
|
||||
## Contributing
|
||||
|
||||
A contribution can be a bug fix, translation, documentation improvement, test or new feature.
|
||||
|
||||
1. Choose a project and read its README file.
|
||||
2. Check the selected project's issues or open an issue to propose an improvement.
|
||||
3. Read the [contribution guide](CONTRIBUTING.en.md) and, if you use an AI assistant, the [agent instructions](AGENTS.en.md).
|
||||
4. Create a `type/description` branch, then open your pull request.
|
||||
|
||||
Before starting, always check the license and instructions specific to the repository: licensing may differ between projects.
|
||||
|
||||
## Resources
|
||||
|
||||
- [FWS official website](https://fws.laxacube.ch)
|
||||
- [FWS repositories on Gitea](https://gitea.nocode-var.tech/FWS/-/repositories)
|
||||
- [Contribution guide](CONTRIBUTING.en.md)
|
||||
- [Guide de contribution en français](CONTRIBUTING.md)
|
||||
- [AI agent instructions](AGENTS.en.md)
|
||||
|
||||
---
|
||||
|
||||
## Naming
|
||||
**FWS — open-source projects designed to be useful, understood and used.**
|
||||
|
||||
### Repositories
|
||||
|
||||
All repositories in the organization follow the **kebab-case with `fws-` prefix** format:
|
||||
|
||||
```
|
||||
fws-arch # the Arch Linux fork (main project)
|
||||
fws-web # website or web app
|
||||
fws-api # API / backend
|
||||
fws-docs # documentation
|
||||
```
|
||||
|
||||
### Branches
|
||||
|
||||
Branches follow the `type/description` format, in English, kebab-case:
|
||||
|
||||
```
|
||||
feat/login
|
||||
fix/typo-accueil
|
||||
docs/api
|
||||
refactor/installer
|
||||
```
|
||||
|
||||
### Files
|
||||
|
||||
Files are named in **kebab-case**, regardless of the language:
|
||||
|
||||
```
|
||||
my-component.ts
|
||||
user-service.py
|
||||
network-manager.c
|
||||
install-script.sh
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Code conventions
|
||||
|
||||
### Identifiers
|
||||
|
||||
Identifiers (variables, functions, classes, modules) are in **English**:
|
||||
|
||||
```python
|
||||
def get_user_by_id(user_id): ...
|
||||
```
|
||||
|
||||
### Comments
|
||||
|
||||
- Comments are written in **English**.
|
||||
- Comment the *why*, not the how. If the code is self-explanatory, no comment is needed.
|
||||
- Document the non-obvious: implementation choices, trade-offs, edge cases, references to a bug or decision.
|
||||
|
||||
```python
|
||||
# We cache the result because resolving DNS can take up to 2s on
|
||||
# misconfigured resolvers.
|
||||
```
|
||||
|
||||
### Stack freedom
|
||||
|
||||
Each project is free to choose its own tech stack (language, framework). Only the naming and code conventions above are shared.
|
||||
|
||||
### Formatting & linting
|
||||
|
||||
No tool is imposed at the organization level. Recommended best practices:
|
||||
|
||||
- Use the language's standard formatter / linter when one exists (`rustfmt`, `gofmt`, `Prettier`, `ruff`…).
|
||||
- Shared configuration within each project, committed to the repo.
|
||||
- Formatting on save is encouraged.
|
||||
|
||||
### Mandatory .gitignore
|
||||
|
||||
Every repository must contain a **`.gitignore`** at its root. It must at least ignore:
|
||||
|
||||
- **environment files**: `.env`, `.env.*` — never commit secrets in plain text;
|
||||
- **AI / development-assistant data**: `.freebuff/`, `.cursor/`, `.vscode/`… depending on the tool;
|
||||
- **compiled artifacts and dependencies**: `node_modules/`, `dist/`, `build/`, `target/`, `__pycache__/`, `*.pyc`, `*.o`, `*.so`, `*.exe`…;
|
||||
- **generated files**: logs, caches, coverage reports.
|
||||
|
||||
> A file tracked by mistake can be removed from tracking (without being deleted) with `git rm --cached <file>`.
|
||||
|
||||
---
|
||||
|
||||
## Tests
|
||||
|
||||
- Test files are named `*.test.*`:
|
||||
|
||||
```
|
||||
auth.test.ts
|
||||
network-manager.test.c
|
||||
```
|
||||
|
||||
- Test names use `describe` / `it` (or the framework equivalent) in **English**:
|
||||
|
||||
```ts
|
||||
describe('login', () => {
|
||||
it('rejects an invalid password', () => { ... });
|
||||
});
|
||||
```
|
||||
|
||||
- **All tests must pass before merging** a pull request.
|
||||
|
||||
---
|
||||
|
||||
## Versioning & releases
|
||||
|
||||
### SemVer
|
||||
|
||||
Each project publishes its versions using [SemVer](https://semver.org/): `MAJOR.MINOR.PATCH`.
|
||||
|
||||
- `MAJOR`: incompatible changes (breaking changes)
|
||||
- `MINOR`: backward-compatible new features
|
||||
- `PATCH`: backward-compatible bug fixes
|
||||
|
||||
### CHANGELOG
|
||||
|
||||
The CHANGELOG is **generated automatically** from Conventional Commits (e.g. with an automated release tool). `feat:` and `fix:` commits feed the Features / Bug Fixes sections.
|
||||
|
||||
---
|
||||
|
||||
## Development organization (Kanban)
|
||||
|
||||
Development in each project is organized on a **Kanban board**.
|
||||
|
||||
- Each project maintains its own board (e.g. GitHub Projects) to track tasks.
|
||||
- Reference columns: **Backlog / To do**, **In progress**, **In review**, **Done**.
|
||||
- A **card = one unit of work** (feature, bug, task). Each card gives birth to a `type/description` branch and a linked pull request.
|
||||
- A card is moved to **Done** only once its pull request is merged.
|
||||
|
||||
---
|
||||
|
||||
## Issues & bug reports
|
||||
|
||||
Any bug, feature request or improvement is tracked through an **issue**, linked to the project's Kanban board.
|
||||
|
||||
**Rules:**
|
||||
|
||||
- Every issue has a **clear title** and a **precise description**.
|
||||
- For a bug, the description must include:
|
||||
- **reproduction steps**;
|
||||
- **expected behavior** vs **observed behavior**;
|
||||
- **environment** (version, OS, hardware if relevant);
|
||||
- any useful **logs** or screenshots.
|
||||
- **Recommended labels**: `bug`, `enhancement`, `question`, `good first issue`, `help wanted`.
|
||||
- An issue fixed by a PR is **referenced** in the PR or the commit (`Fixes #123`).
|
||||
- Notable changes require an issue before opening the PR.
|
||||
|
||||
---
|
||||
|
||||
## Git workflow / Pull requests
|
||||
|
||||
1. Create a `type/description` branch from `main`.
|
||||
2. Commit following the conventions (see above).
|
||||
3. Open a pull request with a clear title and description.
|
||||
4. **At least one reviewer** must approve the PR.
|
||||
5. **Tests must pass** before merging.
|
||||
6. Merge with **squash**: 1 PR = 1 clean commit on `main`.
|
||||
|
||||
---
|
||||
|
||||
## Documentation
|
||||
|
||||
- Documentation is **bilingual French / English**.
|
||||
- `README.md`: French version.
|
||||
- `README.en.md`: English version (full translation).
|
||||
- Both versions must stay in sync after every change.
|
||||
- `AGENTS.md`: instructions for AI agents — **mandatory in every repository**, kept up to date with the conventions.
|
||||
Features and status evolve independently for each project. Check each repository's README and license for its exact current state.
|
||||
@@ -1,255 +1,111 @@
|
||||
# FWS
|
||||
<p align="center">
|
||||
<img src="assets/fws-banner.svg" alt="FWS — Open source projects" width="100%" />
|
||||
</p>
|
||||
|
||||
FWS est une organisation open source composée de plusieurs projets. Chaque projet est libre de choisir sa stack technique (pas de restriction de langage), mais suit les conventions communes décrites dans ce document.
|
||||
<p align="center">
|
||||
<img src="assets/fws-logo.svg" alt="Logo FWS" width="96" />
|
||||
</p>
|
||||
|
||||
Le projet principal est **FWS Arch**, un fork d'Arch Linux : on conserve la base d'Arch et on ajoute une surcouche conviviale (« user friendly ») pour simplifier l'installation et l'utilisation au quotidien.
|
||||
<h1 align="center">FWS</h1>
|
||||
<p align="center"><strong>Une organisation open source qui conçoit des logiciels utiles, libres et accessibles.</strong></p>
|
||||
|
||||
> Ce document définit les conventions applicables à **tous** les repos de l'organisation.
|
||||
<p align="center">
|
||||
<a href="https://fws.laxacube.ch"><img src="https://img.shields.io/badge/site-fws.laxacube.ch-0891b2?style=flat-square" alt="Site officiel" /></a>
|
||||
<a href="https://gitea.nocode-var.tech/FWS/-/repositories"><img src="https://img.shields.io/badge/d%C3%A9p%C3%B4ts-FWS-4f46e5?style=flat-square" alt="Dépôts FWS" /></a>
|
||||
<a href="https://gitea.nocode-var.tech/FWS/-/repositories"><img src="https://img.shields.io/badge/7%20projets-7c3aed?style=flat-square" alt="7 projets" /></a>
|
||||
<a href="README.en.md"><img src="https://img.shields.io/badge/documentation-FR%20%7C%20EN-0f766e?style=flat-square" alt="Documentation bilingue" /></a>
|
||||
<a href="CONTRIBUTING.md"><img src="https://img.shields.io/badge/contribuer-open%20source-ff6b35?style=flat-square" alt="Contribuer" /></a>
|
||||
</p>
|
||||
|
||||
## Entrée en vigueur
|
||||
FWS réunit une distribution Linux, des outils pour le bureau, un site web et une communauté autour d'une même idée : garder la puissance des technologies open source tout en proposant une expérience simple, claire et accueillante.
|
||||
|
||||
Les règles de ce document **entrent en vigueur le 26 août 2026**.
|
||||
|
||||
- Tout ce qui a été fait **avant cette date** — commits, branches, repos, code, historique — **n'est pas concerné** : pas de renommage rétroactif ni de réécriture d'historique.
|
||||
- À partir de cette date, **tous les nouveaux commits, branches, repos et projets** doivent suivre ces conventions.
|
||||
|
||||
## Langues
|
||||
|
||||
- [English version](README.en.md)
|
||||
- [Télécharger `AGENTS.md`](AGENTS.md)
|
||||
|
||||
## Sommaire
|
||||
|
||||
- [Entrée en vigueur](#entrée-en-vigueur)
|
||||
- [Langues](#langues)
|
||||
- [Conventions de commits](#conventions-de-commits)
|
||||
- [Nommage](#nommage)
|
||||
- [Conventions de code](#conventions-de-code)
|
||||
- [Tests](#tests)
|
||||
- [Versionnage & releases](#versionnage--releases)
|
||||
- [Organisation du développement (Kanban)](#organisation-du-développement-kanban)
|
||||
- [Issues & signalement de bugs](#issues--signalement-de-bugs)
|
||||
- [Workflow Git / Pull Requests](#workflow-git--pull-requests)
|
||||
- [Documentation](#documentation)
|
||||
🌐 [Site officiel](https://fws.laxacube.ch) · 💻 [Tous les dépôts](https://gitea.nocode-var.tech/FWS/-/repositories) · 🇬🇧 [English](README.en.md)
|
||||
|
||||
---
|
||||
|
||||
## Conventions de commits
|
||||
## Pourquoi FWS ?
|
||||
|
||||
### Langue
|
||||
- **Une expérience pensée pour l'utilisateur** — des outils qui masquent la complexité au lieu de l'imposer.
|
||||
- **Une architecture technique libre** — chaque projet choisit la technologie la plus adaptée à son problème.
|
||||
- **Des projets concrets** — une distribution, un gestionnaire de paquets, un bot communautaire, un site et des briques réutilisables.
|
||||
- **Une collaboration ouverte** — les idées, les problèmes et les contributions sont suivis dans des issues et des pull requests publiques.
|
||||
|
||||
Tous les messages de commit sont rédigés en **anglais**.
|
||||
## L'écosystème FWS
|
||||
|
||||
### Format : Conventional Commits
|
||||
FWS n'est pas un unique projet. C'est une organisation de projets complémentaires qui partagent une vision et des règles de collaboration communes.
|
||||
|
||||
Chaque commit suit le format [Conventional Commits](https://www.conventionalcommits.org/) :
|
||||
|
||||
```
|
||||
<type>(<portée>): <description>
|
||||
```text
|
||||
FWS
|
||||
├── FWS ISO → la distribution Linux
|
||||
├── PacManager → la gestion graphique des paquets
|
||||
├── FWS-Website → le site officiel
|
||||
├── FWS-DiscordBot → le hub communautaire Discord
|
||||
├── DeskManager → un projet en cours de définition
|
||||
└── .profile → la documentation transverse
|
||||
```
|
||||
|
||||
**Types autorisés :**
|
||||
## Nos projets
|
||||
|
||||
| Type | Usage |
|
||||
|-------------|------------------------------------------------------------------|
|
||||
| `feat:` | Nouvelle fonctionnalité |
|
||||
| `fix:` | Correction de bug |
|
||||
| `docs:` | Documentation uniquement |
|
||||
| `style:` | Formatage, espaces, points-virgules… (aucun impact sur le code) |
|
||||
| `refactor:` | Refactorisation sans changement de comportement |
|
||||
| `perf:` | Amélioration de performance |
|
||||
| `test:` | Ajout ou modification de tests |
|
||||
| `build:` | Système de build ou dépendances |
|
||||
| `ci:` | Configuration CI |
|
||||
| `chore:` | Tâches diverses (ménage, configuration…) |
|
||||
| `revert:` | Annulation d'un commit |
|
||||
| Projet | Description | Technologies | État | Explorer |
|
||||
|---|---|---|---|---|
|
||||
| [**FWS ISO**](https://gitea.nocode-var.tech/FWS/FWS-ISO) | Le projet phare de FWS : une distribution Linux live et installable fondée sur Arch Linux, avec un bureau prêt à l'emploi, des outils pour les jeux et la maintenance du système. | Arch Linux, Python, Shell | **Actif** | [Code](https://gitea.nocode-var.tech/FWS/FWS-ISO) · [Issues](https://gitea.nocode-var.tech/FWS/FWS-ISO/issues) |
|
||||
| [**PacManager**](https://gitea.nocode-var.tech/FWS/FWS-PacManage) | Un gestionnaire de paquets graphique pour Arch Linux. Il centralise pacman, Flatpak, la recherche, les mises à jour, le nettoyage et l'historique. | C++, Qt 6, CMake | **Actif** | [Code](https://gitea.nocode-var.tech/FWS/FWS-PacManage) · [Issues](https://gitea.nocode-var.tech/FWS/FWS-PacManage/issues) |
|
||||
| [**Site officiel**](https://gitea.nocode-var.tech/FWS/FWS-Website) | Le point d'entrée public de FWS : présentation de l'organisation, des projets, des téléchargements et des ressources. | PHP, CSS, JavaScript | **Actif** | [Code](https://gitea.nocode-var.tech/FWS/FWS-Website) · [Issues](https://gitea.nocode-var.tech/FWS/FWS-Website/issues) |
|
||||
| [**FWS-DiscordBot**](https://gitea.nocode-var.tech/FWS/FWS-DiscordBot) | Le bot Discord de la communauté : support, tickets, modération, notifications Gitea, statistiques et salons vocaux temporaires. | JavaScript, Node.js, SQLite | **Actif** | [Code](https://gitea.nocode-var.tech/FWS/FWS-DiscordBot) · [Issues](https://gitea.nocode-var.tech/FWS/FWS-DiscordBot/issues) |
|
||||
| [**DeskManager**](https://gitea.nocode-var.tech/FWS/FWS-DeskManger) | Un projet encore au stade exploratoire. Son objectif et ses fonctionnalités seront précisés au fil de son développement. | À définir | ** incubateur** | [Code](https://gitea.nocode-var.tech/FWS/FWS-DeskManger) · [Issues](https://gitea.nocode-var.tech/FWS/FWS-DeskManger/issues) |
|
||||
| [**`.profile`**](https://gitea.nocode-var.tech/FWS/.profile) | Le dépôt de référence de l'organisation : présentation globale et conventions communes de collaboration. | Markdown | **Documentation** | [Code](https://gitea.nocode-var.tech/FWS/.profile) · [Instructions](AGENTS.md) |
|
||||
|
||||
**Exemples :**
|
||||
## À la une
|
||||
|
||||
```
|
||||
feat(auth): add password reset flow
|
||||
fix(installer): resolve partition detection on UEFI
|
||||
docs(readme): clarify setup steps
|
||||
```
|
||||
### 🐧 FWS ISO — Une distribution Linux qui arrive à l'utilisateur
|
||||
|
||||
### Corps du message
|
||||
FWS ISO est une distribution live et installable basée sur Arch Linux. Elle vise une installation plus simple et un système immédiatement utilisable, avec le choix du bureau, la gestion des pilotes, les mises à jour, la récupération et des outils intégrés pour les jeux et la réalité virtuelle.
|
||||
|
||||
Le titre doit être court et impératif. Un **corps est ajouté si nécessaire** pour expliquer le *pourquoi* (contexte, décision, trade-off), pas le *comment*.
|
||||
Son objectif : rendre les capacités d'Arch accessibles sans sacrifier sa souplesse.
|
||||
|
||||
```
|
||||
fix(installer): resolve partition detection on UEFI
|
||||
### 📦 PacManager — Le gestionnaire de paquets visuel
|
||||
|
||||
The previous heuristics failed on disks with an ESP not mounted at
|
||||
/boot. Fall back to reading the EFI system partition UUID directly
|
||||
from the firmware tables.
|
||||
```
|
||||
PacManager propose une interface Qt 6 pour rechercher, installer, supprimer et mettre à jour les paquets. Le projet va au-delà de pacman avec des mises à jour groupées, le nettoyage du cache, l'historique des actions, les journaux et des plugins comme Flatpak.
|
||||
|
||||
### 🌐 FWS-Website — La vitrine de l'organisation
|
||||
|
||||
Le site officiel rassemble les présentations, les téléchargements et les liens utiles. Il sert de point d'entrée commun pour découvrir l'organisation et suivre ses projets.
|
||||
|
||||
### 🤖 FWS-DiscordBot — La communauté au même endroit
|
||||
|
||||
Le bot Discord centralise l'aide, les tickets, la modération, les notifications Gitea, les commandes de statut et la gestion de salons vocaux. Il fluidifie la vie de la communauté tout en connectant les utilisateurs aux dépôts et aux issues.
|
||||
|
||||
## Comment fonctionne l'organisation ?
|
||||
|
||||
Chaque dépôt est indépendant dans sa stack technique et son cycle de développement, mais partage le même cadre de collaboration.
|
||||
|
||||
1. **Un projet, un dépôt** — le code, la documentation et les tests vivent avec le projet concerné.
|
||||
2. **Des technologies libres de choix** — JavaScript, C++, Python, PHP ou autre : la technologie suit le besoin.
|
||||
3. **Des décisions partagées** — les fonctionnalités importantes passent par une issue, une branche dédiée et une pull request relue.
|
||||
4. **Des versions propres** — les projets publiés suivent SemVer et tiennent à jour leur `CHANGELOG.md`.
|
||||
5. **Une documentation accessible** — les fichiers README sont bilingues et les instructions destinées aux agents IA sont centralisées.
|
||||
|
||||
## Participer
|
||||
|
||||
Une contribution peut être un correctif, une traduction, une amélioration de documentation, un test ou une nouvelle fonctionnalité.
|
||||
|
||||
1. Choisissez un projet et consultez son README.
|
||||
2. Consultez les issues du projet choisi ou ouvrez une issue pour proposer une amélioration.
|
||||
3. Lisez le [guide de contribution](CONTRIBUTING.md) et, si vous utilisez un assistant IA, les [instructions pour les agents](AGENTS.md).
|
||||
4. Créez une branche `type/description`, puis ouvrez votre pull request.
|
||||
|
||||
Avant de commencer, vérifiez toujours la licence et les instructions propres au dépôt concerné : les licences peuvent varier selon les projets.
|
||||
|
||||
## Ressources
|
||||
|
||||
- [Site officiel FWS](https://fws.laxacube.ch)
|
||||
- [Dépôts FWS sur Gitea](https://gitea.nocode-var.tech/FWS/-/repositories)
|
||||
- [Guide de contribution](CONTRIBUTING.md)
|
||||
- [Guide de contribution en anglais](CONTRIBUTING.en.md)
|
||||
- [Instructions pour les agents IA](AGENTS.md)
|
||||
|
||||
---
|
||||
|
||||
## Nommage
|
||||
**FWS — des projets open source conçus pour être utiles, compris et utilisés.**
|
||||
|
||||
### Repos
|
||||
|
||||
Tous les repos de l'organisation suivent le format **kebab-case avec préfixe `fws-`** :
|
||||
|
||||
```
|
||||
fws-arch # le fork d'Arch Linux (projet principal)
|
||||
fws-web # site ou application web
|
||||
fws-api # API / backend
|
||||
fws-docs # documentation
|
||||
```
|
||||
|
||||
### Branches
|
||||
|
||||
Les branches suivent le format `type/description`, en anglais, en kebab-case :
|
||||
|
||||
```
|
||||
feat/login
|
||||
fix/typo-accueil
|
||||
docs/api
|
||||
refactor/installer
|
||||
```
|
||||
|
||||
### Fichiers
|
||||
|
||||
Les fichiers sont nommés en **kebab-case**, quel que soit le langage :
|
||||
|
||||
```
|
||||
my-component.ts
|
||||
user-service.py
|
||||
network-manager.c
|
||||
install-script.sh
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Conventions de code
|
||||
|
||||
### Identifiants
|
||||
|
||||
Les identifiants (variables, fonctions, classes, modules) sont en **anglais** :
|
||||
|
||||
```python
|
||||
def get_user_by_id(user_id): ...
|
||||
```
|
||||
|
||||
### Commentaires
|
||||
|
||||
- Les commentaires sont rédigés en **anglais**.
|
||||
- On commente le **pourquoi**, pas le comment. Si le code est explicite, pas de commentaire.
|
||||
- On documente le non-évident : choix d'implémentation, trade-offs, cas limites, références à un bug ou une décision.
|
||||
|
||||
```python
|
||||
# We cache the result because resolving DNS can take up to 2s on
|
||||
# misconfigured resolvers.
|
||||
```
|
||||
|
||||
### Liberté de stack
|
||||
|
||||
Chaque projet choisit librement sa stack technique (langage, framework). Seules les conventions de nommage et de code ci-dessus sont communes.
|
||||
|
||||
### Formatage & lint
|
||||
|
||||
Pas d'outil imposé au niveau de l'organisation. Bonnes pratiques recommandées :
|
||||
|
||||
- Utiliser le formateur / linter standard du langage quand il existe (`rustfmt`, `gofmt`, `Prettier`, `ruff`…).
|
||||
- Une configuration partagée au sein de chaque projet, versionnée dans le repo.
|
||||
- Le formatage automatique à l'enregistrement est encouragé.
|
||||
|
||||
### .gitignore obligatoire
|
||||
|
||||
Chaque repo doit contenir un **`.gitignore`** à la racine. Il doit au minimum ignorer :
|
||||
|
||||
- les **fichiers d'environnement** : `.env`, `.env.*` — jamais de secrets en clair dans git ;
|
||||
- les **données des outils IA / assistants de développement** : `.freebuff/`, `.cursor/`, `.vscode/`… selon l'outil ;
|
||||
- les **artefacts compilés et dépendances** : `node_modules/`, `dist/`, `build/`, `target/`, `__pycache__/`, `*.pyc`, `*.o`, `*.so`, `*.exe`… ;
|
||||
- les **fichiers générés** : logs, caches, rapports de couverture.
|
||||
|
||||
> Un fichier suivi par erreur peut être retiré du suivi (sans être supprimé) avec `git rm --cached <fichier>`.
|
||||
|
||||
---
|
||||
|
||||
## Tests
|
||||
|
||||
- Les fichiers de test sont nommés `*.test.*` :
|
||||
|
||||
```
|
||||
auth.test.ts
|
||||
network-manager.test.c
|
||||
```
|
||||
|
||||
- Les noms de tests utilisent `describe` / `it` (ou l'équivalent du framework) en **anglais** :
|
||||
|
||||
```ts
|
||||
describe('login', () => {
|
||||
it('rejects an invalid password', () => { ... });
|
||||
});
|
||||
```
|
||||
|
||||
- **Tous les tests doivent passer avant de merger** une pull request.
|
||||
|
||||
---
|
||||
|
||||
## Versionnage & releases
|
||||
|
||||
### SemVer
|
||||
|
||||
Chaque projet publie ses versions en [SemVer](https://semver.org/) : `MAJEUR.MINEUR.PATCH`.
|
||||
|
||||
- `MAJEUR` : changement incompatible (breaking change)
|
||||
- `MINEUR` : nouvelle fonctionnalité rétrocompatible
|
||||
- `PATCH` : correction de bug rétrocompatible
|
||||
|
||||
### CHANGELOG
|
||||
|
||||
Le CHANGELOG est **généré automatiquement** depuis les commits Conventional Commits (par exemple avec un outil de release automatisée). Les commits `feat:` et `fix:` alimentent les sections Features / Bug Fixes.
|
||||
|
||||
---
|
||||
|
||||
## Organisation du développement (Kanban)
|
||||
|
||||
Le développement de chaque projet est organisé sur un **tableau Kanban**.
|
||||
|
||||
- Chaque projet maintient son propre tableau (ex. GitHub Projects) pour suivre les tâches.
|
||||
- Colonnes de référence : **Backlog / À faire**, **En cours**, **En revue**, **Terminé**.
|
||||
- Une **carte = une unité de travail** (fonctionnalité, bug, tâche). Chaque carte donne naissance à une branche `type/description` et à une pull request qui lui est liée.
|
||||
- Une carte n'est déplacée vers **Terminé** qu'une fois sa pull request mergée.
|
||||
|
||||
---
|
||||
|
||||
## Issues & signalement de bugs
|
||||
|
||||
Toute anomalie, demande de fonctionnalité ou amélioration est suivie via une **issue**, liée au tableau Kanban du projet.
|
||||
|
||||
**Règles :**
|
||||
|
||||
- Chaque issue a un **titre clair** et une **description précise**.
|
||||
- Pour un bug, la description doit inclure :
|
||||
- les **étapes de reproduction** ;
|
||||
- le **comportement attendu** vs le **comportement observé** ;
|
||||
- l'**environnement** (version, OS, matériel si pertinent) ;
|
||||
- les **logs** ou captures d'écran utiles.
|
||||
- **Labels recommandés** : `bug`, `enhancement`, `question`, `good first issue`, `help wanted`.
|
||||
- Une issue résolue par une PR est **référencée** dans la PR ou le commit (`Fixes #123`).
|
||||
- Les changements notables nécessitent une issue avant l'ouverture de la PR.
|
||||
|
||||
---
|
||||
|
||||
## Workflow Git / Pull Requests
|
||||
|
||||
1. Créer une branche `type/description` depuis `main`.
|
||||
2. Commiter en suivant les conventions (voir plus haut).
|
||||
3. Ouvrir une pull request avec un titre et une description clairs.
|
||||
4. **Au moins un reviewer** doit valider la PR.
|
||||
5. Les **tests doivent passer** avant le merge.
|
||||
6. Merger en **squash** : 1 PR = 1 commit propre sur `main`.
|
||||
|
||||
---
|
||||
|
||||
## Documentation
|
||||
|
||||
- La documentation est **bilingue français / anglais**.
|
||||
- `README.md` : version française.
|
||||
- `README.en.md` : version anglaise (traduction intégrale).
|
||||
- Les deux versions doivent rester synchronisées à chaque modification.
|
||||
- `AGENTS.md` : instructions pour les agents IA — **obligatoire dans chaque repo**, à mettre à jour en même temps que les conventions.
|
||||
Les fonctionnalités et le statut de chaque projet évoluent indépendamment. Consultez le README et la licence de chaque dépôt pour connaître son état exact.
|
||||
@@ -0,0 +1,34 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 360" role="img" aria-labelledby="title desc">
|
||||
<title id="title">FWS — Open source projects</title>
|
||||
<desc id="desc">Bannière FWS avec un dégradé nocturne et des accents cyan.</desc>
|
||||
<defs>
|
||||
<linearGradient id="background" x1="0" y1="0" x2="1" y2="1">
|
||||
<stop offset="0" stop-color="#080d1c"/>
|
||||
<stop offset=".55" stop-color="#111c3d"/>
|
||||
<stop offset="1" stop-color="#164e63"/>
|
||||
</linearGradient>
|
||||
<radialGradient id="glow" cx="75%" cy="20%" r="70%">
|
||||
<stop offset="0" stop-color="#22d3ee" stop-opacity=".28"/>
|
||||
<stop offset="1" stop-color="#22d3ee" stop-opacity="0"/>
|
||||
</radialGradient>
|
||||
<linearGradient id="line" x1="0" y1="0" x2="1" y2="0">
|
||||
<stop offset="0" stop-color="#67e8f9"/>
|
||||
<stop offset="1" stop-color="#818cf8"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<rect width="1200" height="360" rx="28" fill="url(#background)"/>
|
||||
<rect width="1200" height="360" rx="28" fill="url(#glow)"/>
|
||||
<g fill="none" stroke="#bae6fd" stroke-opacity=".12">
|
||||
<circle cx="1050" cy="54" r="180"/>
|
||||
<circle cx="1050" cy="54" r="245"/>
|
||||
<circle cx="1050" cy="54" r="310"/>
|
||||
</g>
|
||||
<path d="M40 286h1120" stroke="url(#line)" stroke-width="3" stroke-linecap="round" opacity=".75"/>
|
||||
<g transform="translate(72 66)">
|
||||
<path d="M76 176 152 28l76 148h-28l-16-34H96l-16 34H76Zm34-58h44l-22-46-22 46Z" fill="#67e8f9"/>
|
||||
<text x="152" y="214" fill="#f0f9ff" font-family="Arial, sans-serif" font-size="22" font-weight="700" letter-spacing="8" text-anchor="middle">FWS</text>
|
||||
</g>
|
||||
<text x="360" y="145" fill="#f8fafc" font-family="Arial, sans-serif" font-size="58" font-weight="800">Open source.</text>
|
||||
<text x="360" y="207" fill="#bae6fd" font-family="Arial, sans-serif" font-size="34" font-weight="500">Useful by design.</text>
|
||||
<text x="72" y="330" fill="#cbd5e1" font-family="Arial, sans-serif" font-size="18" letter-spacing="2">SOFTWARE · LINUX · COMMUNITY</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
@@ -0,0 +1,18 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" role="img" aria-labelledby="title desc">
|
||||
<title id="title">Logo FWS</title>
|
||||
<desc id="desc">Monogramme FWS dans un emblème géométrique bleu et cyan.</desc>
|
||||
<defs>
|
||||
<linearGradient id="bg" x1="0" y1="0" x2="1" y2="1">
|
||||
<stop offset="0" stop-color="#0b1020"/>
|
||||
<stop offset="1" stop-color="#172554"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="accent" x1="0" y1="0" x2="1" y2="1">
|
||||
<stop offset="0" stop-color="#67e8f9"/>
|
||||
<stop offset="1" stop-color="#38bdf8"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<rect width="512" height="512" rx="112" fill="url(#bg)"/>
|
||||
<path d="M112 372 256 84l144 288h-52l-30-64H194l-30 64h-52Zm104-112h80l-40-82-40 82Z" fill="url(#accent)"/>
|
||||
<path d="M160 412h192" stroke="#e0f2fe" stroke-width="18" stroke-linecap="round" opacity=".9"/>
|
||||
<text x="256" y="466" fill="#f0f9ff" font-family="Arial, sans-serif" font-size="32" font-weight="700" letter-spacing="12" text-anchor="middle">FWS</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1021 B |
Reference in new issue
Block a user