Skip to main content

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.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.4.tar.gz (16.1 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.4-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bl_odoo-0.3.4.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.5 {"installer":{"name":"uv","version":"0.10.5","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.4.tar.gz
Algorithm Hash digest
SHA256 f08587df18c8d6a3a1a67009fbc095720ad15da0e1f2ed01357af34d8c5fd202
MD5 36f3b86cae5c202f1318b11a00b7b390
BLAKE2b-256 c716622567cdd9659df91f14db44e3a2fb319545979154b6b58431d44273a1a3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bl_odoo-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.5 {"installer":{"name":"uv","version":"0.10.5","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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5cf7f58c31ac9fe22544a4c8e48490ca96d56605e6992adaa76079a28dc19de4
MD5 d274e15c087b99c9488508dcd6f9ddae
BLAKE2b-256 b231b17bd959719c2bd2c1b8ca2213a733d575e37f892f812737bba44f1b8d80

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