Install Module

Target of this module is manage installation of the projects under dbrm. Currently this module is not completed and is under heavy development.

Commands

install version

Show version of install module.

  $# dbrm install version
  Version: 0.1.0

install show_installable

Show list of actions to execute on installation between two releases or to a particular release. Method is currently not completed.

  $# dbrm install show_installable -h
  [-n name]               Release Name.
  [-t version_to]         Release version target of the installation.
  [-f version_from]       Release version source of the installation.

install install

Install or upgrade a project to a particular release. METHOD NOT COMPLETED.

  $# dbrm install install -h
  [-n name]               Release Name.
  [-t version_to]         Release version target of the installation.
  [-f version_from]       Release version source of the installation.

API

_install_check_show_installable_args

Internal function for read and parse command line arguments.

Command Arguments:

  • -n [rel_name]: Release name. Mandatary argument.
  • -f [version_from]: Release version from. Mandatary argument.
  • -t [version_to]: Release version to. Mandatary argument.
  • `-h: Show command options

Variables Used:

  • DBM_REL_NAME: for release name.
  • DBM_REL_VERSION_TO: for release version to.
  • DBM_REL_VERSION_FROM: for release version from.

Return:

  • 0: on success
  • 1: on error
(Show/Hide)