Skip to main content

A command-line tool for managing Odoo dependencies.

Project description

bl

Why BL

Because ak is slow and bl is fast

Because ak crashes if anything goes wrong

Because ak error are impossible to find

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.yaml should be the path to your spec (default: spec.yaml)
  • path_to_frozen.yaml should be the path to your spec (default: frozen.yaml)
  • concurrency number of module clone simultaneously (default: 28)

How it looks

bl_build

Freeze

bl freeze -c <path_to_spec.yaml> -z <path_to_frozen.yaml> -j <concurrency>

Params

  • path_to_spec.yaml should be the path to your spec (default: spec.yaml)
  • path_to_frozen.yaml should be the path to your spec (default: frozen.yaml)
  • concurrency number 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

ak_bench_cold

Already cloned once

ak_bench_hot

Bl benchmarks

Fresh install

bl_bench_cold

Already cloned once

bl_bench_hot

Results

Type AK BL
Cold ~100s 2 - 10x faster
Hot 3-20s 2 - 10x faster

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

bl_odoo-0.3.2.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bl_odoo-0.3.2-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file bl_odoo-0.3.2.tar.gz.

File metadata

  • Download URL: bl_odoo-0.3.2.tar.gz
  • Upload date:
  • Size: 14.3 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

Hashes for bl_odoo-0.3.2.tar.gz
Algorithm Hash digest
SHA256 bb93e2ccc30f3881ba39f789e0bbba77e504fccbe5da05aec27aac63ab6813c3
MD5 ce171fd48c73b34373cf5d1bb4036df4
BLAKE2b-256 f453c6fcb5f8b2efd0ea08f69e34918267d178209146d31d0bc0271ccf161f4f

See more details on using hashes here.

File details

Details for the file bl_odoo-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: bl_odoo-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 13.6 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

Hashes for bl_odoo-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5a01e02fa7ce36f5264643fbabedc76d476442c6d638c83fdec5cfaf0fe67080
MD5 f83b82d62370a13453171c196e8672fc
BLAKE2b-256 b8ba1316a2695ddd24edd9370fce20cd6d50c580cc7ffddba40b40d1fb014e6b

See more details on using hashes here.

Supported by

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