Homec4science

upgrader: change to module-aware engine

Authored by Lars Holm Nielsen <lars.holm.nielsen@cern.ch> on Feb 1 2014, 09:54.

Description

upgrader: change to module-aware engine

  • Changes upgrader to load upgrades from all installed modules.
  • Changes upgrade naming convention to be compatible with invenio modules.
  • Changes upgrader to use SQLAlchemy models for querying instead of run_sql.
  • Changes recipe creation to use module import paths as input instead of system paths.
  • Relaxes constraint on cross-graph dependencies to allow inter-module dependencies.
  • Removes pre-upgrade check for legacy custom templates.
  • Adds tests of recipe creation.
  • Fixes PEP8 issues.

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:03
Parents
R3600:9fd2e658c26e: base: add inveniomanage database diff command
Branches
Unknown
Tags
Unknown

Event Timeline

Jiri Kuncar <jiri.kuncar@cern.ch> committed R3600:c212e46ab64e: upgrader: change to module-aware engine (authored by Lars Holm Nielsen <lars.holm.nielsen@cern.ch>).Jun 4 2014, 16:03