From 685153b126ebe19d3c6eb67493229c67a506bfd3 Mon Sep 17 00:00:00 2001 From: BlackAngelTV Date: Thu, 24 Sep 2026 19:41:56 +0200 Subject: [PATCH] docs: refresh organization documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- AGENTS.en.md | 59 ++++++++ AGENTS.md | 38 ++--- CONTRIBUTING.en.md | 174 +++++++++++++++++++++++ CONTRIBUTING.md | 174 +++++++++++++++++++++++ README.en.md | 318 ++++++++++++------------------------------ README.md | 316 ++++++++++++----------------------------- assets/fws-banner.svg | 34 +++++ assets/fws-logo.svg | 18 +++ 8 files changed, 655 insertions(+), 476 deletions(-) create mode 100644 AGENTS.en.md create mode 100644 CONTRIBUTING.en.md create mode 100644 CONTRIBUTING.md create mode 100644 assets/fws-banner.svg create mode 100644 assets/fws-logo.svg diff --git a/AGENTS.en.md b/AGENTS.en.md new file mode 100644 index 0000000..faee057 --- /dev/null +++ b/AGENTS.en.md @@ -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**: `(): `. +- 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. diff --git a/AGENTS.md b/AGENTS.md index 265baad..1cc2239 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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. diff --git a/CONTRIBUTING.en.md b/CONTRIBUTING.en.md new file mode 100644 index 0000000..8e52082 --- /dev/null +++ b/CONTRIBUTING.en.md @@ -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 +(): +``` + +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. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..39a323d --- /dev/null +++ b/CONTRIBUTING.md @@ -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 +(): +``` + +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. diff --git a/README.en.md b/README.en.md index b9dbb38..0bf1cc5 100644 --- a/README.en.md +++ b/README.en.md @@ -1,255 +1,113 @@ -# FWS +

+ FWS — Open source projects +

-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. +

+ FWS logo +

-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. +

FWS

+

An open-source organization building useful, free and accessible software.

-> This document defines the conventions that apply to **all** repositories in the organization. +

+ Official website + FWS repositories + 7 projects + Bilingual documentation + Contribute +

-## 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: - -``` -(): +```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 `. - ---- - -## 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. diff --git a/README.md b/README.md index f4702e4..79a1afa 100644 --- a/README.md +++ b/README.md @@ -1,255 +1,111 @@ -# FWS +

+ FWS — Open source projects +

-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. +

+ Logo FWS +

-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. +

FWS

+

Une organisation open source qui conçoit des logiciels utiles, libres et accessibles.

-> Ce document définit les conventions applicables à **tous** les repos de l'organisation. +

+ Site officiel + DépÎts FWS + 7 projets + Documentation bilingue + Contribuer +

-## 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/) : - -``` -(): +```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 `. - ---- - -## 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. diff --git a/assets/fws-banner.svg b/assets/fws-banner.svg new file mode 100644 index 0000000..cf98420 --- /dev/null +++ b/assets/fws-banner.svg @@ -0,0 +1,34 @@ + + FWS — Open source projects + BanniĂšre FWS avec un dĂ©gradĂ© nocturne et des accents cyan. + + + + + + + + + + + + + + + + + + + + + + + + + + FWS + + Open source. + Useful by design. + SOFTWARE · LINUX · COMMUNITY + diff --git a/assets/fws-logo.svg b/assets/fws-logo.svg new file mode 100644 index 0000000..5bbea7e --- /dev/null +++ b/assets/fws-logo.svg @@ -0,0 +1,18 @@ + + Logo FWS + Monogramme FWS dans un emblĂšme gĂ©omĂ©trique bleu et cyan. + + + + + + + + + + + + + + FWS +