Commit graph

132 commits

Author SHA1 Message Date
70d9ad456c [ADD] install: mise as Python provider, pyenv as fallback
mise lays down a precompiled CPython where pyenv builds one: seconds
against one to three minutes, with no -dev package at all. The choice
lives in EL_PYTHON_PROVIDER -- auto, mise or pyenv -- and in a single
file, lib_python_provider.sh. The rest of the repository only knows venv
paths and needs to know none of this.

In auto mode an ALREADY installed interpreter wins, whichever provider put
it there. mise is never installed on its own, "curl | sh" commits too much
for a script to decide -- make install_mise carries that decision.
MISE_PYTHON_COMPILE=false forbids it from quietly compiling: without that
guard it would fall back to pyenv's own engine, giving us the slowness
without the tooling. That is also what stopped gcc from collapsing while
building CPython on a low-memory s390x guest, for nothing.

One real bug falls along the way: a failed venv did not stop the install,
which then went on and failed further down, far from the cause.

--- FR ---

mise pose un CPython précompilé là où pyenv en compile un : des secondes
contre une à trois minutes, et aucun paquet -dev. Le choix vit dans
EL_PYTHON_PROVIDER — auto, mise ou pyenv — et dans un seul fichier,
lib_python_provider.sh. Le reste du dépôt ne connaît que des chemins de
venv et n'a rien à savoir de tout cela.

En mode auto, un interpréteur DÉJÀ posé l'emporte, quel qu'en soit le
fournisseur. mise n'est jamais installé de lui-même, « curl | sh » engage
trop pour qu'un script en décide — make install_mise porte cette décision.
MISE_PYTHON_COMPILE=false lui interdit de compiler en silence : sans ce
garde, il retomberait sur le moteur de pyenv, et nous aurions sa lenteur
sans son outillage. C'est aussi ce qui a évité que gcc s'écroule en
bâtissant CPython sur une VM s390x à faible mémoire, inutilement.

Un vrai défaut tombe au passage : un venv raté n'arrêtait pas
l'installation, qui continuait et échouait plus loin, loin de la cause.

Assisted-by: Claude Opus 5
2026-08-16 23:33:49 -04:00
ba0b919f83 [ADD] make: add SSH remote deployment targets and todo.py integration
Enable deploying and managing ERPLibre on remote servers via SSH
directly from make and the interactive todo.py CLI, since only
local deployment was previously supported.

- New conf/make.ssh.Makefile with 11 targets: ssh_check, ssh_push,
  ssh_install, ssh_run, ssh_stop, ssh_restart, ssh_status, ssh_logs,
  ssh_make, ssh_install_systemd, ssh_install_nginx
- Variables: SSH_HOST (required), SSH_USER, SSH_PORT, SSH_KEY,
  SSH_PATH, SSH_TARGET, SSH_DOMAIN, SSH_ADMIN_EMAIL
- Execute > Deploy menu extended with 11 SSH options in todo.py
- All strings translated fr/en in todo_i18n.py

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

Co-Authored-By: Mathieu Benoit <mathben@technolibre.ca>
2026-08-07 02:52:12 -04:00
c6c5437b80 [FIX] makefile: ignore odoo-version when not existing 2025-12-20 03:15:51 -05:00
aac9815414 [FIX] makefile support odoo version 2025-11-19 23:37:55 -05:00
25a1c789d2 [IMP] make robot libre 2025-11-04 23:24:43 -05:00
cbc43fde3c [IMP] todo support odoo upgrade
- add example odoo test
- prevent delete production file with validation
- add makefile with selenium
- script prod to dev uninstall module after installation
- adapt todo with private directory
- script to download remote database
- TODO show documentation for migration
2025-10-31 01:43:26 -04: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
de9779cfc2 [IMP] refactoring .venv.erplibre
- erplibre separate venv erplibre and odoo
- rename python-version to python-odoo-version
- add conf/python-erplibre-version
- rename .venv to .venv.erplibre
- move .venv/repo to .venv.erplibre/bin/repo
- install pyenv into .venv.erplibre
- install poetry into .venv.odooVERSION

- first installation show odoo version to install
- can install erplibre without odoo
- update README.md information about installation with TODO
- change image from github to locally
- remove link creation .venv

- update version: remove code to force create symbolic link .venv
- use dynamic merge manifest, will be able to merge different odoo
version
- can add dev tools
- default manifest is empty to remove conflict
2025-10-31 01:34:26 -04:00
a1b9c98b5f [IMP] refactoring to support multiple version of Odoo
- change path odoo to support multiple
- conf pycharm exclude folder
- refactor run/test/coverage by use same script
2025-10-31 01:32:11 -04:00
770e4b0966 [UPD] makefile support poetry and refactor poetry update with new rep 2025-10-31 01:31:41 -04:00
5bb9812fd8 [UPD] makefile: more clean move make.private.Makefile to conf 2025-05-04 05:51:33 -04:00
f4a6911217 [UPD] makefile refactoring by moving commands into conf
- create make.private.Makefile for private project
2025-05-04 01:02:39 -04:00
70c9698c2d [UPD] make open todo and todo force source .venv with gnome-terminal 2025-05-04 01:02:39 -04:00
1e0f1580e6 [ADD] Makefile can add extension Common.Makefile for custom project 2025-04-28 00:59:10 -04:00
7dc8da3f02 [IMP] bot assistant TODO 2025-04-27 02:40:20 -04:00
37a43e402e [UPD] Makefile: example to update an instance 2025-04-12 17:10:56 -04:00
f156cca6c2 [ADD] Makefile open_selenium 2025-04-12 17:06:09 -04:00
e2e7a61ad6 [UPD] when using stop-after-init, enable no-http
- in many case, no need http when run with argument stop-after-init,
because we want to execute without gui
2024-12-03 23:10:16 -05:00
d91c3c2e95 [IMP] support change odoo and python version
- Makefile show version, switch version and install different version
- erplibre_version with odoo_version, poetry_version and python_version
- support multiple docker version
- support odoo 12, odoo 14, odoo 16
- bullseye, bookworm debian
- update latest version
- script update_env_version to detect actual version and refactor it
- adapt file path to support multiple version
- poetry with verbose by default, ignore python keyring
- python script to generate image db with parallel for all odoo version
- check_addons_exist before generate all image
- support delay to change queue parallel
- fix odoo 12 product configurator
- can show demo website
- swith odoo
- force create addons if missing
- update manifest, because gen config break with wrong manifest
2024-11-02 02:26:02 -04:00
391c73bf39 [UPD] makefile IDE 2024-11-02 02:26:02 -04:00
4a1dc0e0e6 [ADD] Makefile: clear_cache 2024-11-02 02:26:02 -04:00
81c4528b57 [UPD] replace docker-compose to docker compose 2024-05-03 23:13:59 -04:00
9bcc193cdd [FIX] makefile: image db create package dms missing restore db 2023-07-07 03:06:17 -04:00
f3a5bc9399 [UPD] multilingual-markdown: update to last version v1.0.3 2023-07-07 01:04:38 -04:00
6629367580 [UPD] makefile: remove vat e_commerce package 2023-07-06 16:37:49 -04:00
26097b60d4 [UPD] makefile format erplibre: missing xml format 2023-07-06 16:37:49 -04:00
818ea8ca83 [UPD] makefile: increase speed format with parallel 2023-04-29 22:07:07 -04:00
427ab6150b [ADD] makefile: test full fast with debug option 2023-04-29 16:28:25 -04:00
2af6f62ccf [UPD] makefile: parallel make doc 2023-04-12 16:45:41 -04:00
542aeee85d [FIX] makefile test: move serial test in execution second test 2023-04-11 21:32:39 -04:00
1bcbc8efe3 [ADD] makefile: test export 2023-04-09 19:01:49 -04:00
b3e8ce608b [UPD] makefile test coverage: add test template_code_generator and fix dev 2023-03-07 15:42:40 -05:00
90229ad155 [ADD] coverage json 2023-03-05 01:53:30 -05:00
aa7689edec [FIX] make test with coverage: missing coverage parameter 2023-03-04 23:34:37 -05:00
d6f652f58c [UPD] script show_evolution_module: parallelism 2023-02-19 04:43:46 -05:00
85a1ff04f1 [ADD] makefile: format mathbentech business 2023-01-26 00:30:47 -05:00
14bf1c8c56 [ADD] makefile: image_db_create_erplibre_package_dms
- create db image with document management system
2023-01-14 00:34:23 -05:00
88c8804014 [FIX] makefile: image_db_create_erplibre_demo use wrong database 2023-01-14 00:32:24 -05:00
32ff705087 [ADD] release: support alpha and beta + build version
- missing version of alpha/beta
2023-01-12 16:09:27 -05:00
b934315962 [ADD] makefile: comment debug command to run_parallel_test.py 2023-01-07 02:00:19 -05:00
14f8156045 [ADD] run_parallel_cg_migrator: remove migrator from cg run parallel 2023-01-07 00:23:15 -05:00
5ba826823f [FIX] makefile test_full_fast: generate a database test
- because test is in parallel, cannot have enought time to create
_cache_erplibre_base , so create it in serial before
2023-01-05 09:05:51 -05:00
7847229661 [ADD] makefile: run_parallel_cg and run_parallel_cg_template
- use parallel in bash and read txt config
2023-01-05 04:20:43 -05:00
7ed6939907 [UPD] script: move script git, manifest, database, poetry, install
- refactor script emplacement
- update all reference
2023-01-02 21:54:20 -05:00
c425ca45b8 [UPD] makefile: remove website_gengo from website package
- no need to use gengo api to do translation of your website.
2023-01-01 06:30:49 -05:00
89f546ffef [FIX] makefile: drop db before clone when generate image DB 2023-01-01 06:22:14 -05:00
34193b0930 [UPD] makefile: rename module project_time_budget
- Rename module project_task_subtask_time_range => project_time_budget
- Rename module project_task_time_range => project_time_range
- Remove module project_time_management
2023-01-01 06:21:54 -05:00
fdbfe05899 [ADD] makefile: generate image DB with parallel
- add logs modules to install into script install_addons.sh

Signed-off-by: Mathieu Benoit <mathben@technolibre.ca>
2023-01-01 03:27:16 -05:00
babf4b752b [UPD] makefile: rename module product_supplier_name_search from Numigi 2023-01-01 03:27:16 -05:00
7b0637b836 [FIX] makefile: change helpdesk module image 2023-01-01 03:27:16 -05:00