erplibre/script/database
Mathieu Benoit cfbdd9406e [REF] format : passer l'outillage et les tests sous ruff
Le formateur de ce dépôt est ruff depuis qu'il remplace black, qui ne connaît
aucune cible au-delà de py313 ; ce passage applique sa norme à l'arbre entier,
d'un coup, pour qu'aucun commit de fond n'ait à porter du style. L'écart tient
presque entièrement aux chaînes coupées à la main que ruff recolle quand elles
tiennent sur une ligne, et aux « with » multiples qu'il regroupe : aucune
valeur ne change, et les clés de traduction non plus.
Vérifié : la suite unitaire reste verte après le passage, et le contrôle de
syntaxe ne signale rien.

--- EN ---

This repository's formatter is ruff since it replaced black, which knows no
target beyond py313; this pass applies its standard to the whole tree at once,
so that no substantive commit has to carry style. The difference is almost
entirely the hand-split strings ruff joins back when they fit on one line, and
the multiple "with" it merges: no value changes, nor do the translation keys.
Checked: the unit suite stays green after the pass, and the syntax check
reports nothing.

Assisted-by: Claude Opus 5
2026-09-24 14:40:38 -04:00
..
migrate [REF] format : passer l'outillage et les tests sous ruff 2026-09-24 14:40:38 -04:00
compare_backup.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
compare_database_application.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
db_drop_all.py [FIX] cache et journal : hôte imbriqué soustrait, décision écrite 2026-09-16 21:32:03 -04:00
db_duplicate.py [FIX] database: de 12 à 15, neutraliser par le script plutôt que refuser 2026-08-29 02:11:04 -04:00
db_restore.py [REF] format : passer l'outillage et les tests sous ruff 2026-09-24 14:40:38 -04:00
delete_production.sh [UPD] script: move script git, manifest, database, poetry, install 2023-01-02 21:54:20 -05:00
download_remote.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
download_remote.sh [IMP] todo support odoo upgrade 2025-10-31 01:43:26 -04:00
fix_mariadb_sql_example_1.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
get_module_list_from_database.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
get_repo_from_backup.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
get_repo_from_module.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
image_db.py [REF] format : passer l'outillage et les tests sous ruff 2026-09-24 14:40:38 -04:00
lib_db_select.sh [ADD] run: choisir la base au démarrage, sans jamais bloquer 2026-08-23 17:26:41 -04:00
list_remote.py [REF] format : passer l'outillage et les tests sous ruff 2026-09-24 14:40:38 -04:00
mariadb_sql_example_1.sql [UPD] makefile: improve test 2022-01-24 14:09:17 -05:00
migrate_prod_to_test.sh [IMP] refactoring to support multiple version of Odoo 2025-10-31 01:32:11 -04:00
README.base.md [ADD] Multilingual translation of all documentation (EN/FR) 2026-03-04 22:23:52 -05:00
README.fr.md [ADD] Multilingual translation of all documentation (EN/FR) 2026-03-04 22:23:52 -05:00
README.md [ADD] Multilingual translation of all documentation (EN/FR) 2026-03-04 22:23:52 -05:00
restore_mariadb_sql_example_1.sh [IMP] refactoring .venv.erplibre 2025-10-31 01:34:26 -04:00

Database

This section is for code generator database migrator.

This configuration is for development environnement.

You need to install script ./script/install/install_dev_extra_ubuntu.sh.

Restore database

Run script to restore database:

./script/database/restore_mariadb_sql_example_1.sh