PBR

Comment 3 for bug 1206730

Revision history for this message
Monty Taylor (mordred) wrote : Re: [Bug 1206730] Re: glance version is not monotonic

It isn't expected to. The version is not monotonically increasing nor is it designed to be. Milestone version is a beta and is from the milestone-proposed branch. It's not expected that the versions produced from master to m-p to master communicate any relation to each other.

Bhuvan Arumugam <email address hidden> wrote:

>For the record it's still an issue. Patch in
>https://review.openstack.org/#/c/27222/ didn't fix it.
>
>--
>You received this bug notification because you are subscribed to the bug
>report.
>https://bugs.launchpad.net/bugs/1206730
>
>Title:
> glance version is not monotonic
>
>Status in OpenStack Image Registry and Delivery Service (Glance):
> New
>
>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-cache-manage list-cached' for xattr"
> $ python setup.py --version
> 2013.2.a2.gadb454d
>
> $ git checkout adb454d~1
> Previous HEAD position was adb454d... Merge "Fix 'glance-cache-manage list-cached' for xattr"
> 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.2.a115.gd675456
>
> I suspect the latest version of pbr may fix this, but glance is using
> oslo's versioning rather than pbr.
>
>To manage notifications about this bug go to:
>https://bugs.launchpad.net/glance/+bug/1206730/+subscriptions
>