Simple utlity to filter odoo addons into a single directory
Project description
Odoo filter addons
Simple command line utility used to filter specific odoo addons from multiple repositories. It leverages git-aggregator and its repo.yml format as well as doodba's addons addons.yml format.
Installation
- Via
pipx
withpipx install odoo-filter-addons
(recommended) - Via
pip
withpython3 -m pip install odoo-filter-addons
- After cloning locally with
python3 -m pip install .
Usage
In order to work, the program requires a folder containing the configuration files
repos.yml
and
addons.yml
,
and if repos.yml
references environment variables they can be defiend in repos.env
.
If the files are valid, the modules specified in addons.yml
are filtered from the
results of running gitaggregate
into the specified output directory.
By default, both the input and output path default to the current working directory,
but can be overridden through the -i/--input-path
and -o/--output-path
flags
respectively. Additionally, some other flags can be provided to alter the behavior of
the program:
Flag | Default | Description |
---|---|---|
-c, --clean / --no-clean | True | Clean intermediate output |
-r, --release / --no-release | False | Create a release commit if any changes are made |
-p, --push / --no-push | False | Push to remote repo if any changes are commited |
-g, --gitlab-ci | False | Update client addon repository in GitLab CI |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file odoo_filter_addons-1.2.0rc1.tar.gz
.
File metadata
- Download URL: odoo_filter_addons-1.2.0rc1.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8674b7f5e795c1112c29a725cf9c81347ca182c0b6eeeae215a8d93b986c001f |
|
MD5 | 47f74081ca2e7b05b88d30199337e447 |
|
BLAKE2b-256 | d1aba666bbad778866943e10f1a19aaf9d3d31871703283e4f381c3ae3a228ac |
File details
Details for the file odoo_filter_addons-1.2.0rc1-py3-none-any.whl
.
File metadata
- Download URL: odoo_filter_addons-1.2.0rc1-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 475e70306c7d1abb7bc62b16f84520a4cd8ca886359fe5b689b31557d10ab04a |
|
MD5 | 4a7082597a7b860eaccab2e11e8b6910 |
|
BLAKE2b-256 | f21a4a862f917f76df11cc95165914c712e655fa6bdc44cf6f0d1067102bb106 |