bf07bc1865
[FIX] cli.py: comment import debugypy
2025-06-02 07:40:08 +02:00
e41abfc928
revert pyproject.toml
2025-06-01 15:28:30 +02:00
a34d880721
added option custom_addon in config.yaml
2025-05-27 07:52:50 +02:00
a362783e6d
odoo_openupgrade_wizard/tools/tools_system.py aktualisiert
2025-05-19 20:57:08 +02:00
Rémy Taymans
7b8f9f828a
Merge branch '16.0-add-postgres-default-database' into 'main'
...
[IMP] cli tools: default 'postgres' database.
See merge request odoo-openupgrade-wizard/odoo-openupgrade-wizard!112
2025-05-04 13:16:51 +00:00
hugues de keyzer
32cde3f0e7
disable odoo memory limit by default
...
by default, odoo limits the available memory to 2560 MiB, which can
cause MemoryError exceptions, especially when dealing with high amounts
of records. disable this limit by default.
2025-05-02 16:37:29 +02:00
Sylvain LE GAL
8bf6dd385a
[IMP] cli tools: default 'postgres' database.
...
Rational: when calling oow psql, sometimes, we don't want to put a database. Example, if we call "oow -d postgres -c 'psql'".
In that case, this improvment makes that default postgres database will be proposed in the 'prompt', if no database is provided
2025-02-27 12:45:16 +01:00
Rémy Taymans
42bf4f4379
Merge branch 'add-option-skip-update-all' into 'main'
...
[IMP] oow upgrade. Add skip_update as an option in config.yml.
See merge request odoo-openupgrade-wizard/odoo-openupgrade-wizard!111
2025-02-11 13:41:47 +00:00
Sylvain LE GAL
bfde1ddc1f
fixup! [IMP] oow upgrade. Add skip_update as an option in config.yml. (migration_step option). If enabled, in this step, the update all will be skipped, and only pre-migration (SQL) and post-migration (python script) will be executed. This is interesting: - for the first step, if your production is up-to-date, to save time. - for the last step, in recent version (since V14), where openupgrade doesn't contain odoo code. In that case, you should be sure that all your migration is OK, because in openupgrade context, some errors are just ignored. Use this option with caution.
2025-02-11 10:45:25 +01:00
Sylvain LE GAL
4fc7056932
[IMP] oow upgrade. Add skip_update as an option in config.yml. (migration_step option). If enabled, in this step, the update all will be skipped, and only pre-migration (SQL) and post-migration (python script) will be executed.
...
This is interesting:
- for the first step, if your production is up-to-date, to save time.
- for the last step, in recent version (since V14), where openupgrade doesn't contain odoo code. In that case, you should be sure that all your migration is OK, because in openupgrade context, some errors are just ignored.
Use this option with caution.
2025-02-03 11:26:37 +01:00
Simon Maillard
ca53f46248
[IMP] Use builtins "exists" click feature to check if provided files
...
exists
2025-02-01 13:59:11 +00:00
Simon Maillard
7d1183b140
[IMP] cli restoredb: manage filestore in subfolder
2025-01-31 19:28:01 +00:00
Rémy Taymans
a00ee58b62
Merge branch 'IMP-estimate-workload-hide-done-work' into 'main'
...
[IMP] estimate-workload html file
See merge request odoo-openupgrade-wizard/odoo-openupgrade-wizard!110
2025-01-31 15:28:30 +00:00
Sylvain LE GAL
c66789dc71
[FIX] template: correct indentation
2025-01-31 15:24:40 +01:00
Rémy Taymans
95f58f3a9f
[FIX] generate_odoo_command_options docstring
2025-01-31 13:23:38 +01:00
Simon Maillard
d595c6584c
[IMP] split generate_odoo_command
...
In 2 functions:
- generate_odoo_command_options
- generate_odoo_command
To be able to use generate_odoo_command_options from other places
2025-01-31 13:23:38 +01:00
Sylvain LE GAL
4b4ec890b2
fixup! fixup! fixup! [ADD] guess requirements feature
2024-11-05 15:03:13 +01:00
Sylvain LE GAL
5178bbc8ff
fixup! fixup! [ADD] guess requirements feature
2024-11-05 13:44:09 +01:00
Sylvain LE GAL
0bfacbd133
fixup! [ADD] guess requirements feature
2024-11-05 01:00:52 +01:00
Sylvain LE GAL
68bfe19acd
[REF] simplify code
2024-11-04 20:42:07 +01:00
Sylvain LE GAL
3b3d652756
[ADD] guess requirements feature
2024-11-04 20:42:07 +01:00
LE GAL SYLVAIN
8791a883f9
Merge branch 'ADD-17.0-branch' into 'main'
...
[ADD] Support 17.0
See merge request odoo-openupgrade-wizard/odoo-openupgrade-wizard!100
2024-11-04 13:06:16 +00:00
Sylvain LE GAL
2d4a7d6917
[FIX] remove docker build warning, regarding ENV values.
...
WARN: LegacyKeyValueFormat: 'ENV key=value' should be used instead of legacy 'ENV key value' format
2024-11-04 11:32:53 +01:00
Sylvain LE GAL
c0b8be6b20
[ADD] support 18.0
2024-11-04 11:26:23 +01:00
Sylvain LE GAL
1f079e088e
[ADD] support 17.0
2024-11-04 11:22:37 +01:00
Sylvain LE GAL
0785c31825
[REF] Improve settings. Introduce _FIRST_ODOO_VERSION_SUPPORTED and _LAST_ODOO_VERSION_SUPPORTED
2024-11-04 10:55:46 +01:00
Sylvain LE GAL
1b201a52d4
[FIX] raise error.
2024-11-02 14:44:23 +01:00
Simon Maillard
f0bc155c3b
[FIX] psycopg2 / pg versions auth conflict
...
Downgrade auth method/encryption to md5 if initial odoo version is <=12
and postgres version >=14
2024-10-09 14:50:59 +02:00
Rémy Taymans
5ddbbc39e2
Merge branch 'fix-docker-build-handling' into 'main'
...
[FIX] Docker build failure doesn't display logs because build_log is now a list of dicts?
See merge request odoo-openupgrade-wizard/odoo-openupgrade-wizard!89
2024-10-09 12:46:36 +00:00
Sylvain LE GAL
1d15b1f8d3
[FIX] Try to #60 . introduce retry mechanism when container removal failed
2024-10-08 15:16:06 +02:00
Simon Maillard
eb22c93e15
[DBG] temporary add debug statement
2024-10-08 11:40:02 +02:00
Rémy Taymans
20a53ab0b6
Merge branch 'alexAubin1-main-patch-05082' into 'main'
...
[FIX] cli: Require --database argument for commands that need it (run, psql, generate_module_analysis, install_from_csv)
See merge request odoo-openupgrade-wizard/odoo-openupgrade-wizard!87
2024-10-03 18:48:12 +00:00
Alexandre Aubin
99b710a703
[FIX] Docker build failure doesn't display logs because build_log is now a list of dicts?
2024-10-03 20:04:13 +02:00
Alexandre Aubin
d59c487d1b
cli: always require --database argument for commands that needs it
...
(run, psql, generate_module_analysis, install_from_csv), prevent it from
being None resulting in funky stuff
2024-10-03 19:11:16 +02:00
Rémy Taymans
393411f937
Merge branch 'fix_docker_container_removal_already_in_progress' into 'main'
...
[FIX] Container removal already in progress
Closes #60
See merge request odoo-openupgrade-wizard/odoo-openupgrade-wizard!84
2024-10-03 16:16:12 +00:00
Simon Maillard
f649627d63
[FIX] Container removal already in progress
...
fixes #60
2024-10-03 14:17:20 +02:00
Ahmet Yiğit Budak
ff56b47a94
[FIX] Make sure that source exist before droping dest
2024-10-03 10:45:58 +00:00
LE GAL SYLVAIN
1f95377efa
Merge branch 'main' into 'main'
...
[FIX] pull-submodule work with python3.10
See merge request odoo-openupgrade-wizard/odoo-openupgrade-wizard!80
2024-10-01 09:27:18 +00:00
Rémy Taymans
29674afe84
Merge branch 'ref-simplify-odoo-versions-list' into 'main'
...
[REF] simplify odoo version list configuration
See merge request odoo-openupgrade-wizard/odoo-openupgrade-wizard!75
2024-10-01 09:11:22 +00:00
Sylvain LE GAL
15b111eaa7
[REF] simplify odoo version list configuration
2024-10-01 09:55:32 +02:00
Boris Gallet
415fe743f6
[FIX] pull-submodule work with python3.10
2024-09-30 17:22:33 +02:00
Sylvain LE GAL
846d2f631b
[IMP] postgtresql-version option
2024-09-30 17:05:56 +02:00
Simon Maillard
f941240fea
Display docker error
...
Display error if any docker container creation fail
2024-09-30 10:14:31 +02:00
Simon Maillard
437cf41d4a
[IMP] Litte code improvment, Removes useless transtyping
2024-08-22 09:06:08 +02:00
Simon Maillard
39f70d1012
[FIX] allow to run multiple post-*py by step
...
Like:
scripts/step_01__regular__12.0/01-post-migration-uninstall-modules.py
scripts/step_01__regular__12.0/02-post-migration-fix-project-issues.py
scripts/step_01__regular__12.0/03-post-migration-fix-mail-aliases.py
scripts/step_01__regular__12.0/04-fix-misc-inconsistant-records.py
2024-08-21 10:12:14 +02:00
Gabriel Pickenhayn
7dcf456525
[ADD] restore-sql
2024-05-07 14:48:44 +00:00
Rémy Taymans
62f77499fb
Merge branch 'allow-to-upgrade-multiple-databases-in-parallel' into 'main'
...
allow to upgrade multiple databases in parallel
See merge request odoo-openupgrade-wizard/odoo-openupgrade-wizard!69
2024-05-02 20:14:48 +00:00
hugues de keyzer
af1b6efce6
remove specific container instead of pruning
2024-04-30 15:11:20 +02:00
hugues de keyzer
560f4f5485
publish docker ports only when needed
2024-04-30 15:10:43 +02:00
Rémy Taymans
0a0c763a49
Merge branch 'allow-minus-in-database-names' into 'main'
...
allow hyphen-minus character in database names
See merge request odoo-openupgrade-wizard/odoo-openupgrade-wizard!70
2024-04-12 10:32:13 +00:00