Metadata-Version: 1.1
Name: marabunta
Version: 0.3.0
Summary: Migration tool for Odoo
Home-page: https://github.com/camptocamp/marabunta
Author: Camptocamp (Guewen Baconnier)
Author-email: guewen.baconnier@camptocamp.com
License: AGPLv3+
Description: 🐜🐜🐜 Marabunta 🐜🐜🐜
        =======================
        
        .. image:: https://travis-ci.org/camptocamp/marabunta.svg?branch=master
            :target: https://travis-ci.org/camptocamp/marabunta
        
        Marabunta is a name given to the migration of the legionary ants or to the ants
        themselves. Restless, they eat and digest everything in their way.
        
        This tool aims to run migrations for Odoo versions as efficiently as a
        Marabunta migration.
        
        It loads migration instructions from a YAML file and run the operations if
        required.
        
        Run the tests
        -------------
        
        To run ``marabunta`` tests, it is a good idea to do an *editable*
        install of it in a virtualenv, and then intall and run ``pytest`` as
        follows::
        
          $ git clone https://github.com/camptocamp/marabunta.git
          Cloning into 'marabunta'...
          $ cd marabunta
          $ python2 -m virtualenv env
          $ source env/bin/activate
          $ pip install -e .
          $ pip install pytest
          $ py.test tests
        
        
        
        .. :changelog:
        
        Release History
        ---------------
        
        0.3.0 (2016-07-06)
        ++++++++++++++++++
        
        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
        
        0.2.2 (2016-06-23)
        ++++++++++++++++++
        
        **Improvements**
        
        - Adapted the README so that it is rendered as ReST on pypi.
        
        0.2.1 (2016-06-23)
        ++++++++++++++++++
        
        **Bugfixes**
        
        - Fixed the version information of the package and release date.
        
        0.2.0 (2016-06-23)
        ++++++++++++++++++
        
        **Features**
        
        - Added support for Python 3.4 and 3.5 in addition to 2.7.
        
        **Bugfixes**
        
        - Fixed a crash with empty install args
        
        **Improvements**
        
        - Use YAML ``safe_load`` for added security.
        
        **Documentation**
        
        - Bootstrapped the Sphinx documentation.
        
        **Build**
        
        - Switched to tox for the build. This allow to run the same tests in all
          environment locally like in travis. The travis configuration just calls tox
          now.
        - Added runtime dependencies to the package, kept separate from the build and test dependencies (installed separately by tox).
        
        0.1.1 (2016-06-08)
        ++++++++++++++++++
        
        - Fixed problems with packaging so that now marabunta can be installable from
          pypi.
        
        0.1.0 (2016-06-08)
        ++++++++++++++++++
        
        Initial release. This corresponds to the initial work of Guewen Baconnier.
        
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
