Homec4science

upgrader: fix auto-generation of upgrades

Authored by Lars Holm Nielsen <lars.holm.nielsen@cern.ch> on Feb 4 2014, 12:23.

Description

upgrader: fix auto-generation of upgrades

  • Fixes an issue with wrong upgrades being generated due to all SQLAlchemy models not being loaded.
  • Adds option to create recipe command to overwrite the upgrade file if it already exists, as well as naming it from the CLI.
  • Fixes an relative import bug in pre/post checks.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>

NOTE: beware, patch amended by Tibor to use new file names

Details

Committed
kuncarJun 4 2014, 16:04
Parents
R3600:6dcb012ae932: upgrader: add auto-generation of upgrades
Branches
Unknown
Tags
Unknown

Event Timeline

Jiri Kuncar <jiri.kuncar@cern.ch> committed R3600:791db237e99d: upgrader: fix auto-generation of upgrades (authored by Lars Holm Nielsen <lars.holm.nielsen@cern.ch>).Jun 4 2014, 16:04