Newer
Older
=======
History
=======
16.8.2
------
Fix incorrect prettier warning.
16.8.1
------
Stop tagging with tip.
16.8.0
------
Prettier for odoo 11.
16.7.3
------
docker_dev_start: Fix restoring database and applying script.
16.7.2
------
docker_dev_start: Fix --start-redner
16.7.1
------
Fix incorrect permissions on /var/lib/odoo. It is now handled correctly both at creation or when using the `--chown` flag.
16.7.0
------
Add command to run a redner for a project, from docker_dev_start or directly with docker_redner.
Fix issue with volume being created at each docker_dev_start run.
Make docker_pylint work on Odoo 11 projects that uses python3.8.
Detect import errors in run_tests.
Add option to disable PYTHONDEVMODE.
16.6.0
------
docker_dev_start: Set the VERSION and SENTRY_RELEASE environment variable. Useful when there is a module displaying their value.
odoorpc merged a fix for the python 3.10 compatibility, so update the requirements accordingly.
Set PYTHONDEVMODE when in dev mode. This will only be used with 3.7 python to display some additional messages.
See https://docs.python.org/3/library/devmode.html#devmode
16.5.1
------
Avoid trying to set db_host with an empty value.
Fix path used when running chown in the image, it was using ``/var/lib/odoo`` which is not where the data is present when running.

Vincent Hatakeyama
committed
When running tests, only install modules that are not going to be tested. Modules to be tested will be installed during the tests.
16.4.0
------
When creating the data volume to store session and filestore, also run chown on them avoiding to have to do it manually.
16.3.0
------
Also mount songs when running pylint with ``docker_pylint``.
Change back option in ``do_tests`` to keep the same comportment as in version <16.0.0. Override of module_list from configuration file is a new option.
16.1.0
------
Shell script: avoid running tests if there is no module to test.
Fix using do_tests as adding the ``--without-demo`` with any value breaks odoo 13.0 tests.
16.0.0
------
Support marabunta that is in the images.
Marabunta is not run when using do_tests.
Change how the tests are run with do_tests: modules not to be tested are installed, then modules to test are installed with test enabled. This fix the issues of installation tests that were not run previously.
15.3.1
------
Fix pyproject.toml so that the project can be installed.
15.3.0
------
Add docker_black to run black on a directory using the project image. Black must be present in that image.
15.2.1
------
Fix prettier volume mount mode; that prevented from writing changes.
15.2.0
------
Add chown option to do_tests.
Add populate options to docker_dev_start.
Add docker_prettier.
Add odoo_conf_inject_env_var entry point.
15.1.0
------
Also do branch coverage when doing coverage.
Better output of odoo 15 tests with run_tests shell script.
Explicitly disable base import with version it is not tested (it did not work with 13.0 anyway).
Change isort options to be able to show differences.

Vincent Hatakeyama
committed
Use the presence of a Dockerfile as a sign that the current directory is a super project. Avoids starting to create files by error.

Vincent Hatakeyama
committed
Add new command and flags to run pylint on some modules.
------
Allow not setting the database owner in do_tests.
Remove static image support.
``docker_build`` also tag with any current tag if any.
``import_jsonrpc``: Add ``--allow-import-errors`` & ``--allow-missing-refs`` to log warnings without blocking errors.
``import_jsonrpc``: More lenient float parsing - handle commas / dots / nbspaces.
13.3.0
------
Sort subdirectories when importing files. This was supposed to be the case but was not done correctly.
13.2.0
------
Do not require odoorpc that works with python 3.10, just be aware that you need to use the one from requirements if you want python 3.10 compatibility.
13.1.0
------
Add a handy method in odoo.py when writing scripts.
13.0.0
------
Update odoorpc required version to one including the fix for python 3.10.
12.0.1
------
Do not use python 3.10 as odoorpc is not compatible with this version.
12.0.0
------
Default to not doing flake8 and isort in do_tests.
11.1.0
------
Add the possibility to indicate a different path for the copied sources.
11.0.1
------
Fix reading other sources from setup, it was only accepting directories.
Password in imports and odoo scripts is not mandatory anymore, if not provided, it will be asked by using getpass.

Vincent Hatakeyama
committed
11.0.0
------
docker_build_copy: Add the copy of setup files in directory odoo_setup so that they can be added to the Docker images of each projects.
10.0.1
------
Fix setting default developer mode.
10.0.0
------
Add option to include custom developer mode. Default is still to use reload and pdb. To use ipdb, use ``--dev-opt ipdb`` instead of ``--ipdb``.
docker_dev_start chown option also chown the content of ``/var/lib/odoo`` for recent Odoo.
9.0.1
-----
Run chown in odoo as root.
-----
Add install option to do_tests, allowing to override installed modules.

Vincent Hatakeyama
committed
Fix issues with documentation generation (incompatibility with expand)
Changed following base image changes.
Odoo 13 set not null errors when testing are ignored the same way it was in other versions.
8.0.1
-----
Fix nested blacklisting.
-----
flake8 and isort are not run by default when running docker_dev_start.
do_tests.py: Do not crash when super project has an hyphen in its name.
For example, allow ignoring odoo-mint/theme when expanding odoo-mint-hr.
🔨 Change list_modules command to output in the console when used.
Handle option --odoo-sources in odoo 13.
🚑 avoid error on warning.out
7.0.5
-----
Clarify chown message.
Fix issue when trying to build an image using python 3.5 with development tools.
7.0.4
-----
Fix copy of modules static with core in its path.
Push image to our registry too.
Fix reading odoo_type when using expansion.
7.0.3
-----
Omit Odoo manifests from coverage.
Fix copy of modules with core in its path.
7.0.2
-----
Fix colors of passing/failures in run_tests.
7.0.1
-----
Also add expanding in shell scripts.
7.0.0
-----
Rewrote expanding to allow blacklisting. It should be simpler to add new options.
Change to how output is colorized in shell scripts.
Add .expand to several options so that a super project can reuse other super projects.
Fix --odoo-help in docker_dev_start to avoid requiring a database.
5.0.0
-----
Use semver.
docker_dev_start and do_tests: use socket when starting postgresql rather than a port that might be used on the host.
docker_dev_start stops doing systematic chown on the content of /mnt in the container. The argument ``--chown`` can be used to do that. This was needed when the odoo user changed in an image, a rare occurence.
Add :ref:`docker_pg.py` command to start postgres like :ref:`docker_dev_start.py` does when using ``--start-postgresql``, but without starting odoo.

Vincent Hatakeyama
committed
4.2.1
-----
Disable test, meaning that import_base_import does not work in odoo 13.
4.2
---
Adapt import scripts to odoo 13. import_base_import **does not work** in this version yet.
Fix missing PyYAML dependency.

Vincent Hatakeyama
committed
Colored logs.

Vincent Hatakeyama
committed
Docker calls are now done with the API rather than with subprocesses.
:file:`isort` shell script has been removed, it is now available as a python 3 script :ref:`docker_isort`.
Logging default is now the info level. Use `-q`/`--quiet` to decrease verbosity.

Vincent Hatakeyama
committed
4.1
---
Shell scripts stop assuming that they are in a directory inside the superproject, but assume they are called from the superproject directory instead.
Improve documentation generation.
Fix issue with pg.extensions key in config file.
Fix issue with flake8 call not using :file:`setup.cfg` preferences; it was called from another directory.
Default to pdb with pdb++ instead of ipdb. New option ``--ipdb`` to run ipdb instead if wanted.

Vincent Hatakeyama
committed
docker_dev_start: add argument to run SQL script after eventual restauration but before starting the server.
4.0
---
Change how documentation is generated, and do not exit with an error code on module generation errors.
3.3
---
Do not include CI files when duplicating sources.
Expose ``logging_from_verbose``.
Change failure and error detection in ``run_tests``.

Vincent Hatakeyama
committed
3.2
---
Changed several shell scripts to python 3 scripts.
Add odoo 13.
Add ODOO_ADDONS_PATH env var to start.
Add option to bind odoo sources in the image:
- ``update_duplicate_sources`` now relies on the metaproject clone URL instead
of its directory name. Works fine with the bitbucket.org ➔ orus.io move.
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
3.0
---
Script uses python 3.
2.20
----
- start locale py3o stack with ``docker_dev_start.py``
(when report_py3o_fusion_server is in module list).
2.19
----
- remove references to ``addon_dirs``, use ``module`` instead.
2.11
----
- create_documentation: Fix paths of per-module documentation.
- Support Odoo 10 ("odoo-bin" instead of "openerp-server").
2.10
----
Add script to duplicate code on another repository.
2.9
---
- conf2reST.py: Prefer anonymous links to avoid conflicts when the same version is shared by 2
repos (as the "link target" system would then be in use).
2.8
---
- add script to create archive of source
- create_documentation: only create documentation for used modules, reusing the setup.cfg key defined for create_archive if it is present
- docker_build: copy modules (defined in setup.cfg in superproject to a new directory for docker to do)
2.7
---
Add conf2reST.py script.
2.0
---
Read module_list, module_list_test, addon_dirs and odoo_type from setup.cfg instead of directories
1.0
---
Initial version