lhcb-org / lbpkr

Go-based installer for RPMs and Dockers
BSD 3-Clause "New" or "Revised" License
5 stars 4 forks source link

LBCORE-699: distinguish between update and upgrade #32

Closed sbinet closed 9 years ago

sbinet commented 9 years ago

https://its.cern.ch/jira/browse/LBCORE-699

lbpkr should distinguish between updating a package (ie: bumping the release number) and upgrading a package (ie: bumping the version number)

$ lbpkr list
DBASE_AppConfig-3.205.0-1

$ lbpkr update
$ lbpkr list
DBASE_AppConfig-3.205.0-2

$ lbpkr upgrade
$ lbpkr list
DBASE_AppConfig-3.206.0-1
sbinet commented 9 years ago

actually, while lbpkr should still be able to distinguish between upgrade and update, it should do so internally and NOT expose it through lbpkr update and lbpkr upgrade. (lbpkr upgrade would break the install of DBASE_xyz for which all the installed versions need to be kept)