v.4.0.4

Improvements:

  1. The ability to run a program with luna-config and config command line arguments was added. Where luna-config is an address of Configurator service, with (optional) limitation’s tag, and config is a path to custom config file. If the command is called without additional arguments, the data is taken from the default config.

    alembic -x luna-config=http://127.0.0.1:5070/1 upgrade head
    alembic -x luna-config=http://127.0.0.1:5070/1 -x LUNA_ADMIN_DB=TAG_1 upgrade head
    alembic -x config=devconfig.conf upgrade head
    alembic -x help upgrade head
    

    output for alembic -x help upgrade head command

    usage: alembic [-h] [-x config=] [-x luna_config=] [-x LUNA_ADMIN_DB=] [-x help]
    
    alembic [-x] optional argument:
      -x config =         path to config
      -x luna-config =    origin and api version of luna-configurator service for pulling setting from it (e.g. "http://127.0.0.1:5070/1")
      -x LUNA_ADMIN_DB =  tag for setting LUNA_ADMIN_DB to pull from luna-configurator
      -x help             Show this help message and exit
    

Bugs fixed:

How to update from previous version:

To update from previous version simply replace all folders with files and update dependencies from requirements.txt.