pbr generates versions that are not monotonic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PBR |
Fix Released
|
High
|
Robert Collins |
Bug Description
The version that setup.py --version returns goes backwards when a milestone tag is created. Note that commit adb454d is the newest of these three commits, so it's version should be greater than the version of commit d675456, but it's not:
$ git checkout adb454d
Previous HEAD position was d675456... Merge "removed unused variable 'registry_port'"
HEAD is now at adb454d... Merge "Fix 'glance-
$ python setup.py --version
2013.
$ git checkout adb454d~1
Previous HEAD position was adb454d... Merge "Fix 'glance-
HEAD is now at d13493b... Adding Cinder backend storage driver to Glance
$ python setup.py --version
2013.2.b2
$ git checkout adb454d~2
Previous HEAD position was d13493b... Adding Cinder backend storage driver to Glance
HEAD is now at d675456... Merge "removed unused variable 'registry_port'"
$ python setup.py --version
2013.
I suspect the latest version of pbr may fix this, but glance is using oslo's versioning rather than pbr.
Changed in pbr: | |
status: | Fix Committed → Fix Released |
https:/ /review. openstack. org/#/c/ 27222/ may address this bug