Metadata-Version: 2.0
Name: exo-changelog
Version: 0.1.1
Summary: Manage changelog as migrations
Home-page: https://github.com/tomasgarzon/exo-changelog
Author: Tomas Garzon
Author-email: tomasgarzonhervas@gmail.com
License: BSD
Keywords: exo-changelog
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Django :: 1.11
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
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 :: 3.6
Requires-Dist: django-model-utils (>=2.0)

=============================
exo-changelog
=============================

.. image:: https://badge.fury.io/py/exo-changelog.svg
    :target: https://badge.fury.io/py/exo-changelog

.. image:: https://travis-ci.org/ExOLever/exo-changelog.svg?branch=master
    :target: https://travis-ci.org/ExOLever/exo-changelog

.. image:: https://codecov.io/gh/ExOLever/exo-changelog/branch/master/graph/badge.svg
    :target: https://codecov.io/gh/ExOLever/exo-changelog

Manage changelog as migrations

Documentation
-------------

We have two commands, similar to Django Migrations, code based on it. One command creates an empty file ready for write our python code for the change (as a template file with some basic dependencies). We can include commands call or query using our django models.

We manage dependencies between changes at the same way that Django does. And also, we can manage conflicts through merging.

We only have two operations developed: RunPython and RunSQL (both of them, without parameters)
When you want to apply for changes, please execute applychange with/without app_label. You will see messages similar to migrations.

Quickstart
----------

Install exo-changelog::

    pip install exo-changelog

Add it to your `INSTALLED_APPS`:

.. code-block:: python

    INSTALLED_APPS = (
        ...
        'exo_changelog.apps.ExoChangelogConfig',
        ...
    )


Create the changelog table:
    ./manage.py migrate exo_changelog


Features
--------

* Create an empty change:  ./manage.py makechange <app_name>
* Execute changes: ./manage.py applychange <app_name>


Credits
-------

Tools used in rendering this package:

*  Cookiecutter_
*  `cookiecutter-djangopackage`_

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage




History
-------

0.1.0 (2018-08-28)
++++++++++++++++++

* First release on PyPI.


