Giter Club home page Giter Club logo

liquimigrate's Introduction

Liquimigrate

image

image

Liquibase migrations for Django

Starting from v0.7.0 Liquimigrate requires Django 1.8 or newer. Django 2.0 is not officially supported yet.

liquimigrate's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

liquimigrate's Issues

Determining ODBC connector type

Liquimigrate determines ODBC connector by checking last part of selected database ENGINE path. There may be many engines compatible with common databases, but with custom names (see django.contrib.gis.db.backends.postgis as an example).

There should be a better way to determine proper ODBC connector. If it will not be possible, there should be a map between ENGINES (full string paths) and ODBC connectors, AND extra option in DATABASES dict for settings full ODBC classpath (LIQUIBASE_ODBC ?), or ODBC map should be extensible via settings.

Django 1.11 compat

Hi!

v0.6.0 is not compatible with django 1.11:

  File "/home/marcin/src/projekty/web-car/git/eggs/liquimigrate-0.6.0-py2.7.egg/liquimigrate/management/commands/liquibase.py", line 51, in <module>
    class Command(BaseCommand):
  File "/home/marcin/src/projekty/web-car/git/eggs/liquimigrate-0.6.0-py2.7.egg/liquimigrate/management/commands/liquibase.py", line 54, in Command
    option_list = BaseCommand.option_list + (
AttributeError: type object 'BaseCommand' has no attribute 'option_list'

Make liquibase compatible with Django 1.9

Liquimigrate does not work anymore with django 1.9:

TypeError: emit_pre_migrate_signal() takes exactly 3 arguments (4 given)

Possibly emit_pre_migrate_signal() signature has changed in django 1.9โ€ฆ

Prepare env for tests

I would like to follow guidelines, but tests module is not prepared for testing Django apps, or I don't know how to preconfigure it. Provided tests package contains no tests and no examples are available.

To make Liquimigrate stable we should make some basic tests, especially for compatibility with multiple versions of Django.

Missing management command in 0.5.x package (PYPI)

unzip liquimigrate-0.5.1-py2.py3-none-any.whl 
Archive:  liquimigrate-0.5.1-py2.py3-none-any.whl
  inflating: liquimigrate/__init__.py  
  inflating: liquimigrate/models.py  
  inflating: liquimigrate/url.py     
  inflating: liquimigrate/views.py   
  inflating: liquimigrate/settings.py  
  inflating: liquimigrate/vendor/liquibase.jar  
  inflating: liquimigrate/vendor/connectors/postgresql-jdbc3-8.2.jar  
  inflating: liquimigrate/vendor/connectors/mysql-connector-java-5.0.8-bin.jar  
  inflating: liquimigrate-0.5.1.dist-info/DESCRIPTION.rst  
  inflating: liquimigrate-0.5.1.dist-info/metadata.json  
  inflating: liquimigrate-0.5.1.dist-info/top_level.txt  
  inflating: liquimigrate-0.5.1.dist-info/WHEEL  
  inflating: liquimigrate-0.5.1.dist-info/METADATA  
  inflating: liquimigrate-0.5.1.dist-info/RECORD  

No management/commands/ here...

Same for tgz... :(

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.