← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1090592] Re: version detection code produces wrong version

 

** Changed in: nova
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1090592

Title:
  version detection code produces wrong version

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released
Status in OpenStack Compute (Nova):
  Fix Released
Status in Oslo - a Library of Common OpenStack Code:
  New
Status in Python client library for Glance:
  Fix Released
Status in Python client library for Keystone:
  New
Status in Python client library for Nova:
  New

Bug description:
  Running the following is making some pretty odd files...

  python setup.py --version on 0.6.0 tag.

  $ python setup.py  --version
  0.6.0
  0.7.0

  It seems to be due to the common/openstack setup.py.

  It uses the following.

  $ git tag --contains HEAD
  0.6.0
  0.7.0

  To reproduce:

  1. git clone git://github.com/openstack/python-glanceclient.git
  2. cd python-glanceclient/
  3. git checkout 0.6.0
  4. git tag --contains HEAD

  The common setup.py might want to use the following instead.

  $ git describe --always --tag

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1090592/+subscriptions