Commit graph

9 commits

Author SHA1 Message Date
f33aa8a64f [FIX] format : rendre repo facultatif, et montrer ce qu'il a dit
Un échec de « repo forall » arrêtait tout : la liste des fichiers locaux, déjà
obtenue, était jetée, et « make format » rendait 0 sans avoir formaté une
ligne. Sa sortie d'erreur, capturée puis jetée, emportait la seule explication,
et seule l'exception Python restait à l'écran. Google Repo n'ajoute pourtant
que les dépôts rapatriés : il est joué sans check, ce qu'il a écrit est relayé,
et les fichiers locaux sont formatés quand même. « Rien à formater » se dit au
lieu d'une sortie muette, et un échec du dépôt lui-même rend non nul.
Vérifié : avec un repo bouchonné qui échoue, son message s'affiche et le
fichier local est formaté.

--- EN ---

A failing "repo forall" stopped everything: the local file list, already
gathered, was dropped, and "make format" returned 0 without formatting a line.
Its error output, captured then thrown away, carried the only explanation, and
only the Python exception stayed on screen. Google Repo only adds the checked
out repositories: it runs without check, whatever it wrote is relayed, and
local files are formatted anyway. "Nothing to format" is said instead of a
silent exit, and a failure of the repository itself returns non-zero.
Checked: with a stub repo that fails, its message shows and the local file is
formatted.

Assisted-by: Claude Opus 5
2026-09-24 13:56:57 -04:00
1e731114f5 [IMP] script: update copyright year to 2026
Reflect the current year in all TechnoLibre
license headers across script/, test/, and docker/.

Generated by Claude Code 2.1.74 model claude-sonnet-4-6

Co-Authored-By: Mathieu Benoit <mathben@technolibre.ca>
2026-03-11 23:16:05 -04:00
5b87769e2e [UPD] script replace subprocess.check_output to subprocess.run 2025-11-27 00:43:22 -05:00
19901ed8b9 [FIX] script format: ignore git repo if not installed 2025-11-26 03:32:18 -05:00
fd2e3594d1 [UPD] script format: support hidden addons/addons repository if contain git 2025-11-19 23:37:50 -05:00
ff83d5e627 [FIX] format script ignore some files/directory 2025-11-11 00:07:06 -05:00
8ab3883b22 [IMP] script format: support format detected all repo 2025-11-06 03:40:46 -05:00
f1f4769a21 [FIX] script format support space into files 2025-11-04 22:41:39 -05:00
93617b1a65 [IMP] support multi version odoo on same workspace
- oficially support odoo 18 instead of odoo 16
- support postgis/postgresql 18 into docker
- change version erplibre 1.6.0
- support private environment and support local git repo manifest
- support switch odoo version
- support docker for each version
- update os installation
- upgrade python requirement
- separate virtual environment for erplibre and odoo
2025-10-31 01:36:26 -04:00