Skip to content

damiansoriano/purple-screwdriver

 
 

Repository files navigation

purple-screwdriver

Odoo deployment tool (addon)

This module ensure an up-to-date state of modules. As a developer you don't have to worry any manual deployment steps anymore. You have to provide a list of modules that should be installed or remove an already installed module from the config file in order of uninstall.

Decision matrix

Expected status Status Condition Action
uninstalled installed uninstall
uninstalled uninstalled do nothing
installed uninstalled install
installed installed do nothing
installed installed ver Avail != ver Inst upgrade
upgraded uninstalled install
upgraded installed upgrade

Usage

    $ odoo.py screwdriver -d <database name> -c <screwdriver config>

Config file

Yaml configuration. The file should have an entry called addons which should be a mapping between name of modules and expected state (as above). The module name is the the internal name (like 'sale' instead of 'Sale...').

Example

---
addons:
    sale: installed
    hr: updated
    purchase: uninstalled

About

Odoo deployment tool (addon)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 96.7%
  • Shell 3.3%