-
Vincent Hatakeyama authoredVincent Hatakeyama authored
History
20.10.0
Use tomli instead of toml for python < 3.11.
Download wheel for python packages if able, caching them. Use multiprocess to speed up coping/compiling/downloading.
20.9.0
Allow setting log handler instead of log level.
20.8.2
docker_build: When building image with dev tools, do not add the user flags. This allows using venv and when odoo is installed in a user, it is picked automatically.
20.8.1
Use correct gevent uri/option for Odoo 16+.
20.8.0
docker_dev_start: create database when it does not exists (avoid issue with anomization when creating new databases)
20.7.1
Fix typing error.
20.7.0
Change python_packages keys to allow several mount point and targets in the same package).
20.6.0
docker_dev_start:
- add werzeug in odoo 15+ to the automatically enabled dev options
20.5.1
docker_dev_start:
- fix path for volume
20.5.0
Allow setting db_user, db_password, log_handler and pythondevmode in a global settings file (${XDG_CONFIG_HOME-$HOME/.config}/odoo_scripts/config.toml). Configuration can be done by odoo_type too.
Detect missing package when preparing to build the image.
20.4.0
When copying python packages to build the image, use hg archive rather than rsync.
docker_dev_start: Add option to activate S3 storage for attachments (requires the s3_attachment_storage module to be installed to work)
20.3.1
Add missing common shell script.
20.3.0
docker_dev_start:
- Clearer message for missing redner image name.
- Improve version string: include next version and topic for mercurial super projects.
run_tests: exclude all manifest from coverage, previous exclusion did not apply for installable modules.
Rename do_tests shell script so that it is installed, the console script was shadowing it.
20.2.0
docker_build_copy: when not in CI, default to copying packages and let the package be build in the image.
docker_black: also indicate version before running the command.
20.1.0
docker_dev_start: Add ability to run a redis container.
20.0.1
Fix getting the redner api key when starting it for Odoo.
20.0.0
Support for Odoo 16.0 super project: add new python_packages configuration key.
Install shell scripts too.
19.1.0
Support Odoo 14.
19.0.2
docker_dev_start: Change how odoo sources is mounted in the image.
It leaves the installed module path alone and also avoids ending up with empty directory in the odoo clone’s
odoo/addons
directory.
19.0.1
import base import: match only the start of the version, in case the git hash is present in the version string.
19.0.0
docker_black: on Odoo 11 projects, force the line length to 79.
18.1.0
Add pylint output format option and default to a colorized output.
Do not run coverage when giving odoo test tags.
18.0.1
Fix coverage in Odoo 16 image.
18.0.0
Add compatibility with Odoo 16.
17.1.0
do_tests and docker_dev_start: add --test-tags option that passes information to Odoo
17.0.0
Changes to docker_isort so that it can be used to apply changes.
Compatibility with long polling.
Extract version number with setuptools-scm.
Update to use only pyproject.toml and remove setup.py, indicating to use pip 10.0+ to install.
Add tests for python 3.11.
Prettier is in Odoo 11 image, update docker_prettier accordingly.
import_base_import is a new section as the base import is broken in recent version of Odoo due to the inability to get a CRCF token.
Use mypy to check code type and help detect issues.
16.10.0
docker_doc_build: new command to build module documentation.
16.9.1
docker_pylint: fix the command in odoo 15 projects.
16.9.0
docker_dev_start: Exclude acl when restoring.
16.8.2
Fix incorrect prettier and black 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. 16.5.0 ------
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.
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
.
16.2.0
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.