Skip to main content

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 with pipx install odoo-filter-addons (recommended)
  • Via pip with python3 -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 gitaggregate output
-C, --cache / --no-cache False Cache gitaggregate output, overrides -c
-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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

odoo_filter_addons-1.3.2.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

odoo_filter_addons-1.3.2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file odoo_filter_addons-1.3.2.tar.gz.

File metadata

  • Download URL: odoo_filter_addons-1.3.2.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.9

File hashes

Hashes for odoo_filter_addons-1.3.2.tar.gz
Algorithm Hash digest
SHA256 272a52cf06cc7edf0c58fb9955b8bc2351ce8c33d4c9970a2d00a528915acd68
MD5 c311a8c6172e151e8356cbf29e5fb155
BLAKE2b-256 55bc28fe2b2b4f9ae66de68a52183a6d4561c777a7e15c8970dfa4395bf2e0e9

See more details on using hashes here.

File details

Details for the file odoo_filter_addons-1.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_filter_addons-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5dc6f0b328d00627e62939c134d3e9761b1394e772f9f102d24f0b50c3e51ae7
MD5 35c3b201f6a8eaa9f300f2dccd2b9bda
BLAKE2b-256 82a90e5c3b8e035f82c1659b294c50a97c29b6b4148571c02af15e3ccaedf747

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page