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.2.tar.gz
.
File metadata
- Download URL: odoo_filter_addons-1.2.2.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c771c41c0911f344e871a38429542911bb01fd962afd46192f042e5af713ca1e |
|
MD5 | abdc7ea3aabd8232afd364f8b9857e1a |
|
BLAKE2b-256 | ce8116f49dc048ec0a5bc7419b7e0bdb5734bfe71ae6d853b6924c93614d0f61 |
File details
Details for the file odoo_filter_addons-1.2.2-py3-none-any.whl
.
File metadata
- Download URL: odoo_filter_addons-1.2.2-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cd52ae4e29cf4c5fd576992ab2c34e79e0ee3a4f85d1a09d95f2d96eb8a70d5 |
|
MD5 | 675c1038b63cfaee90ee0d02baa0d208 |
|
BLAKE2b-256 | 2c2ad016d53965f7b44f9dd5beff9fbdf2884026c022141d20aa9971f2866495 |