A command-line tool for managing Odoo dependencies.
Project description
bl
Why BL
Because ak is a bit slow and I was tired of waiting around
Install
pipx install bl-odoo
Usage
Build
bl build -c <path_to_spec.yaml> -z <path_to_frozen.yaml> -j <concurrency>
Params
path_to_spec.yamlshould be the path to your spec (default: spec.yaml)path_to_frozen.yamlshould be the path to your spec (default: frozen.yaml)concurrencynumber of module clone simultaneously (default: 28)
How it looks
Freeze
bl freeze -c <path_to_spec.yaml> -z <path_to_frozen.yaml> -j <concurrency>
Params
path_to_spec.yamlshould be the path to your spec (default: spec.yaml)path_to_frozen.yamlshould be the path to your spec (default: frozen.yaml)concurrencynumber of module clone simultaneously (default: 28)
Odoo is taking a really long time to clone
Yes !
You can add a locales entry to your odoo repo in spec.yaml like so:
odoo:
modules:
- account
...
remotes:
odoo: https://github.com/odoo/odoo
merges:
- odoo 14.0
locales:
- fr
- en
It will only download the french and english translation instead of all of them
- without locales: 849MB and 40 seconds fresh build
- with locales fr, en: 169MB and 27 seconds fresh build
Benchmarks
Ak benchmarks
Fresh install
Already cloned once
Bl benchmarks
Fresh install
Already cloned once
Results
| Type | AK | BL |
|---|---|---|
| Cold | ~100s | 2 - 10x faster |
| Hot | 3-20s | 2 - 10x faster |
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bl_odoo-0.3.3.tar.gz.
File metadata
- Download URL: bl_odoo-0.3.3.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03aec349bb1bcd6c6067946d57bec7da4be81347d3162b56a9b24e603328270b
|
|
| MD5 |
f719ce11894183a0505d2f704f8c863f
|
|
| BLAKE2b-256 |
a5c05b261593cf153960d4cbe79e2126d4a5aa22ced6db5a65a143635965173a
|
File details
Details for the file bl_odoo-0.3.3-py3-none-any.whl.
File metadata
- Download URL: bl_odoo-0.3.3-py3-none-any.whl
- Upload date:
- Size: 14.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e6d036fee87ea68e775d7aa9f068e774d91bff5adca1fee3603dfb4e9ba5cb1
|
|
| MD5 |
d9d23be34e950df540e48f9145a95a87
|
|
| BLAKE2b-256 |
87a55185bd3b911fece85049c91e1914c6c815b7aa13e2cf253a3c7f579971ba
|