erplibre/script/git
Mathieu Benoit 0e5441ac39 [ADD] commentaires : un relevé non bloquant, sa règle, le code nettoyé
Rien ne relevait les commentaires hors convention. L'outil lit commentaires et
docstrings, jamais le code autour, et rend deux familles inégales :
l'identifiant — adresse, courriel, chemin de compte, nom de la liste privée —
est une trouvaille ; le récit — témoignage, date, personne — un signal à relire.

Le hook pre-commit le lance sur l'index, sort toujours en 0 — un contrôle
bloquant à cette échelle se fait désinstaller — et parle quand l'outil échoue.
La règle du générateur et sa doc portent le nettoyage au fur et à mesure, et
l'exemple d'un interdit s'invente : base, adresse, compte et hôte en prennent un.

L'écran du contexte est posé, sans entrée de menu. Vérifié : 252 tests des six
fichiers d'essai touchés passent.

--- EN ---

Nothing reported the comments that break the convention. The tool reads
comments and docstrings, never the code around them, and returns two unequal
families: identifying data — address, e-mail, account path, private-list name
— is a finding; narrative — witness marker, date, person — a signal to re-read.

The pre-commit hook runs it on the index, always exits 0 — a blocking check at
that scale gets uninstalled — and speaks when the tool fails. The generator
rule and its doc carry the clean-up as you go, and a forbidden thing's example
is invented: a real database, address, account and host each take one.

The context screen is in place, with no menu entry. Checked: 252 tests of the
six touched fixture files pass.

Assisted-by: Claude Opus 5
2026-08-30 06:08:30 -04:00
..
hooks [ADD] commentaires : un relevé non bloquant, sa règle, le code nettoyé 2026-08-30 06:08:30 -04:00
__init__.py [UPD] script: move script git, manifest, database, poetry, install 2023-01-02 21:54:20 -05:00
clean_repo_manifest.sh [FIX] git clean repo manifest adapt for multi odoo 2025-11-05 04:36:47 -05:00
commit_msg_lib.py [ADD] commentaires : un relevé non bloquant, sa règle, le code nettoyé 2026-08-30 06:08:30 -04:00
fork_project.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
fork_project_ERPLibre.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
git_change_remote.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
git_change_remote_https_to_git.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
git_diff_repo_manifest.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
git_local_server.py [UPD] script Format 2026-03-14 23:26:31 -04:00
git_merge_repo_manifest.py [ADD] installation: add optional extra modules (CybroOdoo) 2026-08-07 02:09:24 -04:00
git_repo_manifest.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
git_repo_update_group.py [ADD] commentaires : un relevé non bloquant, sa règle, le code nettoyé 2026-08-30 06:08:30 -04:00
git_show_code_diff_repo_manifest.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
git_tool.py [FIX] script: différer les annotations, la 12 tourne en Python 3.7 2026-08-23 03:13:58 -04:00
git_update_repo.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
github_api.py [FIX] script: différer les annotations, la 12 tourne en Python 3.7 2026-08-23 03:13:58 -04:00
pull_request_ERPLibre.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
remote_code_generation_git_compare.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
repo_diff_last_version.sh [IMP] refactoring .venv.erplibre 2025-10-31 01:34:26 -04:00
repo_diff_stat_last_version.sh [IMP] refactoring .venv.erplibre 2025-10-31 01:34:26 -04:00
repo_remove_auto_install.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
repo_revert_git_diff_date_from_code_generator.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
repo_url.py [FIX] script: différer les annotations, la 12 tourne en Python 3.7 2026-08-23 03:13:58 -04:00
tag_push_all.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00