Skip to content

Tags: leemannd/marabunta

Tags

0.5.0

Toggle 0.5.0's commit message
**Features**

Odoo 10 Support

- Switch the default command line for running odoo to ``odoo`` instead of
  ``odoo.py`` (renamed in Odoo 10). For usage with previous version, you must
  specify the ``install_command`` in the ``migration.yml`` file.

0.4.2

Toggle 0.4.2's commit message
**Bugfixes**

- Prevent error (25, 'Inappropriate ioctl for device') when
  stdout is not a tty by disabling the interactive mode.

0.4.1

Toggle 0.4.1's commit message
**Bugfixes**

- Do not print on stdout the result of operations twice

0.4.0

Toggle 0.4.0's commit message
**Improvements**

- New dependency on ``pexpect``. Used to create a pseudo-tty to execute the
  operations.  It enables line buffering and interactivity for pdb in the
  children processes.

**Fixes**

- Noop operations are really considered as such

0.3.3

Toggle 0.3.3's commit message
**Fixes**

- Encode print's outputs to the stdout's encoding or to utf8 by default

0.3.2

Toggle 0.3.2's commit message
**Fixes**

- Failure when there are no version to process

0.3.1

Toggle 0.3.1's commit message
**Fixes**

- Fix decoding issues with output of subprocesses

0.3.0

Toggle 0.3.0's commit message
Introducing **modes**.

**Backward incompatible changes**

- ``--demo`` is replaced by a more general ``--mode`` argument,
  the equivalent being ``--mode=demo``
- ``MARABUNTA_DEMO`` is replaced by ``MARABUNTA_MODE``
- the configuration file has now operations and addons by "modes", allowing to
  load some different scripts or install different addons for different modes
  (the addons list are merged and the operations of the modes are executed
  after the main ones)::

    - version: 0.0.1
      operations:
        pre:  # executed before 'addons'
          - echo 'pre-operation'
        post:  # executed after 'addons'
          - anthem songs::install
      addons:
        upgrade:
          - base
      modes:
        prod:
          operations:
            pre:
              - echo 'pre-operation executed only when the mode is prod'
            post:
              - anthem songs::load_production_data
        demo:
          operations:
            post:
              - anthem songs::load_demo_data
          addons:
            upgrade:
              - demo_addon

- ``--force`` renamed to ``--allow-serie``
- ``MARABUNTA_FORCE`` renamed to ``MARABUNTA_ALLOW_SERIE``
- ``--project-file`` renamed to ``--migration-file``
- ``MARABUNTA_PROJECT_FILE`` renamed to ``MARABUNTA_MIGRATION_FILE``

**Improvements**

- When 'allow_serie' is used, the same Odoo addon will not be
  upgraded more than one time when it is in the 'upgrade' section of
  more than one version

**Fixes**

- Fix error when there is no db version in the database
- Fix error ``AttributeError: 'bool' object has no attribute 'number'``
  when there is an unfinished version
- Fix error when the db version is above the unprocessed version

v0.2.2

Toggle v0.2.2's commit message
release 0.2.2

v0.2.1

Toggle v0.2.1's commit message
release 0.2.1