Sun, May 29, 2016 at 11:03:09AM CEST, jprochaz(a)redhat.com wrote:
This patch is first from series which implements version control in
LNST.
The are two types of versions - LNST Major Version and git HEAD commit
hash. LNST Major Version is used when LNST is installed and run from
RPM and git commit hash is used when LNST is run from devel git repo.
LNSTMajorVersion variable in Config.py will have to be manully
incremented each time new release is made.
I somehow missed this and I don't like this. It's addition of garbage commit
everytime we need to do a release.
Since we release rpm only can't we rely on function of rpm? For example,
# rpm -qa --queryformat '%{VERSION}' lnst-ctl
11
-Jan