Commit graph

894 commits

Author SHA1 Message Date
d7d72db7bc [FIX] script: show erplibre clone path clearly
The root repo clone command showed "." as target path
which was confusing and easy to miss in the list.
Display "erplibre" instead for clarity.

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

Co-Authored-By: Mathieu Benoit <mathben@technolibre.ca>
2026-03-11 03:55:50 -04:00
84a021258e [IMP] script: shallow push by default in git server
Repos like odoo and OpenUpgrade blocked for 5+ minutes
trying to unshallow from GitHub (~3GB). Push shallow
by default with receive.shallowUpdate on bare repos.
Add --unshallow flag to opt into full history fetch.

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

Co-Authored-By: Mathieu Benoit <mathben@technolibre.ca>
2026-03-11 03:55:44 -04:00
24bcb3a7d3 [IMP] script: async init/remote/push in git server
Sequential processing of 100+ repos was slow. Use
asyncio with semaphore-bounded concurrency to run
init, remote and push actions in parallel. New -j flag
controls max parallel jobs (default: 8).

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

Co-Authored-By: Mathieu Benoit <mathben@technolibre.ca>
2026-03-11 03:55:41 -04:00
291c9cf5e0 [IMP] script: add erplibre root repo to git server
The root repo (erplibre/erplibre) was missing from the
local git server because it is not in the Google Repo
manifest. Include it so a full clone of the platform
is possible from the local server across all 4 actions.

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

Co-Authored-By: Mathieu Benoit <mathben@technolibre.ca>
2026-03-11 03:55:36 -04:00
43fd5a17ae [REF] script: use Execute helper in git daemon
Replace raw subprocess.Popen and manual signal handling
with Execute.exec_command_live for consistency with
other refactored scripts.

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

Co-Authored-By: Mathieu Benoit <mathben@technolibre.ca>
2026-03-11 03:55:32 -04:00
8083c8010e [REF] script: improve variable naming conventions
Remove Hungarian notation prefixes (lst_, dct_) from variable
names in git_repo_manifest, git_repo_update_group, and their
tests for better readability and consistency with the codebase
refactoring effort.

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

Co-Authored-By: Mathieu Benoit <mathben@technolibre.ca>
2026-03-11 03:25:43 -04:00
d60caa3897 [REF] script: improve variable naming conventions
Replace Hungarian notation prefixes (lst_, dct_) with
descriptive English names for better readability across
git and todo modules.

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

Co-Authored-By: Mathieu Benoit <mathben@technolibre.ca>
2026-03-11 03:25:43 -04:00
095eaa1661 [REF] script: extract git helpers into modules
Reduce GitTool class size by moving URL transformation
and GitHub API logic into dedicated repo_url and
github_api modules for better separation of concerns.

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

Co-Authored-By: Mathieu Benoit <mathben@technolibre.ca>
2026-03-11 03:25:43 -04:00
4a46ebbf4c [REF] script: add type hints to execute and i18n
Improve code maintainability and IDE support by adding
type annotations to function signatures and instance
variables in execute.py and todo_i18n.py. Also let
Black simplify unnecessary parentheses.

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

Co-Authored-By: Mathieu Benoit <mathben@technolibre.ca>
2026-03-11 03:25:43 -04:00
2dde5467db [REF] script: add type hints and remove duplicate methods
Complete the manager extraction by removing methods from todo.py
that were already moved to database_manager.py (select_database,
restore_from_database, create_backup_from_database, open_file_image_db,
download_database_backup_cli). Add type annotations to manager
classes for better code clarity. Update tests to target the
manager instances directly.

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

Co-Authored-By: Mathieu Benoit <mathben@technolibre.ca>
2026-03-11 03:25:43 -04:00
ec134d9299 [REF] script: extract managers from todo into modules
Reduce complexity of todo.py by extracting database,
kdbx, and version logic into dedicated manager classes.
Update tests to reference new module paths.

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

Co-Authored-By: Mathieu Benoit <mathben@technolibre.ca>
2026-03-11 03:25:43 -04:00
666f285fca [REF] script: improve naming and translate to English
Continue variable renaming to remove Hungarian notation
prefixes (dct_, lst_) and adopt descriptive names. Translate
remaining French comments and user-facing strings to English
for consistency across the codebase.

Generated by Claude Code 2.1.72 model claude-opus-4-6

Co-Authored-By: Mathieu Benoit <mathben@technolibre.ca>
2026-03-11 03:25:27 -04:00
e27c544f02 [REF] script: rename variables to follow naming conventions
Replace Hungarian notation, French variable names, and
lowercase constants with clear English names across 5
scripts: config_file, execute, kill_process_by_port,
todo, and git_tool. Remove unused find_in_private
variable. All 142 tests pass.

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

Co-Authored-By: Mathieu Benoit <mathben@technolibre.ca>
2026-03-11 02:06:02 -04:00
054c12af6d [ADD] test: add unit tests for refactoring
Ensure safe refactoring by covering all 6 target scripts
with 121 tests: execute.py, todo_i18n.py,
kill_process_by_port.py, git_tool.py, and todo.py.

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

Co-Authored-By: Mathieu Benoit <mathben@technolibre.ca>
2026-03-11 02:06:02 -04:00
f78f578552 [ADD] test: add unit tests for ConfigFile
Ensure deep_merge_with_lists, get_config, and get_config_value
behave correctly with multi-layer config merging (base, override,
private) to prevent regressions in config resolution logic.

Generated by Claude Code 2.1.72 model claude-opus-4-6

Co-Authored-By: Mathieu Benoit <mathben@technolibre.ca>
2026-03-11 02:06:02 -04:00
c3684ee320 [IMP] conf: simplify Claude commit template
The previous template used a piped shell command to detect the
active model, which caused permission errors in sandboxed
environments. Replace with a simple Python script approach and
add disable-model-invocation for reliability.

Generated by Claude Code 2.1.72 model claude-opus-4-6

Co-Authored-By: Mathieu Benoit <mathben@technolibre.ca>
2026-03-11 02:06:02 -04:00
98d2ea890c [ADD] todo: add AI assistant tools menu with Claude Code commit setup
Provide developers with a streamlined way to configure Claude Code
commit templates directly from the TODO CLI, reducing manual setup
and ensuring consistent commit formatting across the team.

Generated by Claude Code 2.1.72 model claude-opus-4-6

Co-Authored-By: Mathieu Benoit <mathben@technolibre.ca>
2026-03-11 02:06:02 -04:00
d87bb46354 [ADD] TODO run test from script 2026-03-11 02:06:02 -04:00
a80c436e75 [IMP] script git_local_server: tool to deploy git server to share code
Generated by Claude Code v2.1.71 model Opus 4.6
2026-03-11 02:05:55 -04:00
cbe4288b87 Merge branch 'fix_kill_process'
- kill process automatic with interactive question to protect system
  crash
- fix erplibre installation python
- poetry update
- fix markdown translation
2026-03-11 00:55:47 -04:00
86863f8e20 [UPD] TODO format 2026-03-11 00:55:28 -04:00
2dd43bba01 [IMP] script kill process by port: add protection and interactive menu 2026-03-09 16:18:14 -04:00
3d80d1df75 [UPD] erplibre pip requirement missing tldextract and PyYAML
- Update selenium and comment about it
2026-03-08 18:59:00 -04:00
93cf203b64 [FIX] doc agent translation 2026-03-08 17:39:20 -04:00
4037002649 [UPD] odoo 18 poetry update 2026-03-08 16:15:27 -04:00
300f43814d Merge branch 'develop'
- support i18n script TODO
- support command test script TODO
- support commande security check python venv TODO
- update claude agent
- change default version odoo 18
2026-03-08 16:12:55 -04:00
6fe4fd0676 [IMP] script TODO support running test 2026-03-08 16:09:44 -04:00
f1f57758a1 [IMP] i18n script todo 2026-03-08 16:09:44 -04:00
6ece30e54b [UPD] ERPLibre version default odoo 18 2026-03-08 16:09:44 -04:00
45160289f9 [ADD] claude agent information 2026-03-08 16:09:44 -04:00
a0b9a93bb1 [IMP] script todo: support security check python environment 2026-03-08 16:09:44 -04:00
Mathieu Benoit
4b2bdddbff
Update issue templates
Last was broken
2026-03-08 16:05:48 -04:00
deff4db326 [FIX] revert markdown .github, french cause problem 2026-03-07 01:04:55 -05:00
10ae20e75f Merge branch 'improve_todo'
- support multiple functionnality for TODO
- networking
- config queue job
- script debug todo
- run custom database
- support neutralize database
- search_class support depends
- todo database make backup
2026-03-07 00:48:46 -05:00
dd11ed8990 [IMP] todo: create backup command and improve restore database name 2026-03-07 00:48:08 -05:00
9499e19045 [IMP] script search class model: transmit information module to install 2026-03-07 00:48:08 -05:00
67222ea129 [FIX] TODO: config regenerate .repo/local_manifests/erplibre_manifest.xml 2026-03-07 00:48:08 -05:00
88b5ae1316 [UPD] manifest update with code_generator 2026-03-07 00:48:08 -05:00
0a7bca4801 [UPD] script todo_upgrade support odoo --neutralize 2026-03-07 00:48:08 -05:00
449224f91b [IMP] script todo: network option for ssh forwarding and performance 2026-03-07 00:48:08 -05:00
fe9a8c95ff [IMP] script todo: config setup queue_job 2026-03-07 00:48:08 -05:00
f0cc9b2eb9 [IMP] script todo feature debug file todo.py 2026-03-07 00:48:08 -05:00
dfc340d0c4 [IMP] script todo: support run custom database 2026-03-07 00:48:08 -05:00
9cc3e88c16 [FIX] todo database open dialog correction 2026-03-07 00:48:08 -05:00
6c0005bca2 [FIX] script execute first installation 2026-03-07 00:48:08 -05:00
5529b15917 Merge branch 'support_markdown_french'
- support french markdown
- install mmg
- support linuxmint 22.3
- upgrade make for docker 18
- add claude.md
2026-03-07 00:46:33 -05:00
7d1ad1866e [FIX] doc markdown french accent 2026-03-07 00:46:05 -05:00
11ab53bc2d [UDP] make doc parallel doc_markdown 2026-03-07 00:46:05 -05:00
154f9aa03b [FIX] erplibre requirement install mmg for traduction markdown 2026-03-07 00:46:05 -05:00
8e7fab76a9 [ADD] doc FAQ.md guide support wkhtmltopdf for recent version 2026-03-07 00:46:05 -05:00