summaryrefslogtreecommitdiffstats
path: root/nova/version.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove openstack.common.version.Monty Taylor2013-05-151-2/+2
| | | | Change-Id: Ieb9ac3c2ce85777a33a2e15640670d03b2e7d2b7
* Improve Python 3.x compatibilityDirk Mueller2013-04-221-1/+1
| | | | | | | A bit of mechanical translation to clean out the deprecated except x,y: construct Change-Id: I80883b6b0c014bdf4799e8b7b2c4a4a07d951a0b
* Update OpenStack LLC to FoundationKurt Taylor2013-02-261-1/+1
| | | | | | Update all references of "LLC" to "Foundation". Change-Id: I009e86784ef4dcf38882d64b0eff484576e04efe
* Use oslo-config-2013.1b4Mark McLoughlin2013-02-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | The cfg API is now available via the oslo-config library, so switch to it and remove the copied-and-pasted version. Add the 2013.1b4 tarball to tools/pip-requires - this will be changed to 'oslo-config>=2013.1' when oslo-config is published to pypi. This will happen in time for grizzly final. Add dependency_links to setup.py so that oslo-config can be installed from the tarball URL specified in pip-requires. Remove the 'deps = pep8==1.3.3' from tox.ini as it means all the other deps get installed with easy_install which can't install oslo-config from the URL. Make tools/hacking.py include oslo in IMPORT_EXCEPTIONS like it already does for paste. It turns out imp.find_module() doesn't correct handle namespace packages. Retain dummy cfg.py file until keystoneclient middleware has been updated (I18c450174277c8e2d15ed93879da6cd92074c27a). Change-Id: I4815aeb8a9341a31a250e920157f15ee15cfc5bc
* Update to simplified common oslo version code.Monty Taylor2013-02-101-16/+6
| | | | | | Based on https://review.openstack.org/#/c/19957/ Change-Id: Ieefee2af8812d0217e95eeffb3cf53d8e55c8fe6
* Allow loading of product/vendor/package info from external fileDaniel P. Berrange2012-12-191-0/+47
| | | | | | | | | | | | | | | | | | | | | Currently the version.py file hardcodes some basic info for the NOVA_PRODUCT, NOVA_VENDOR and NOVA_PACKAGE constants. It is desirable that OS distro vendors can override/extend this data in packages they ship. Cloud providers may also desire to do the same. This allows Nova to optionally load this data from a /etc/nova/release file. That file should contain the data in a trivial "ini" format. For example: [Nova] vendor = Fedora Project package = 1.fc18 Note that vendor sare not required to override all strings. In this example, the 'product' field is not set, leaving it on the default 'OpenStack Nova' value. Change-Id: I3d8d32eaf35268c4b0908b0a93b7c9a2ea9c580a Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* Remove obsolete VCS version info completelyDaniel P. Berrange2012-12-191-6/+5
| | | | | | | | | | | | | | | | | | The VCS version string in nova/version.py has been hardcoded to 'LOCALBRANCH:LOCALVERSION' since change 0bbb0e8cb1daa351af91cf97b2bcababfc0c7f9f The only places which use this info are some logging calls, and since 'nova-manager version' command. The latter would more usefully output the distro specific package string. Delete the VCS related methods in version.py and replace their usage with a new method version_string_with_package() which appends the distro-specific package tag Change-Id: I972b79c329198cb5376d537c6b672830094cd759 Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* Define a product, vendor & package strings in version.pyDaniel P. Berrange2012-12-191-0/+15
| | | | | | | | | | | | | | | | | | To have one single place where all code in Nova can access product, vendor & package strings, extend version.py to expose a product_string(), vendor_string() and package_string() methods. The product will default to "OpenStack Nova", the vendor to "OpenStack" and the package to None. The latter is intended solely for OS distro vendors to include their package version suffix (eg the "Release:" field from RPM or perhaps a VCS tag) Following changes will make this data configurable via a plain text file, and then update various parts of Nova to make use of the data. Change-Id: I3eb14d11f8949ce909a8f529851913d3dccf0e8c Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* Bump version to 2013.1Thierry Carrez2012-09-191-1/+1
| | | | | | Bump version to 2013.1 on master branch to open Grizzly development Change-Id: Ie1632784c458b62b99321a0ba3a4d614672735b2
* Open FolsomThierry Carrez2012-03-201-1/+1
| | | | | | Switch version to 2012.2 to formally open Folsom. Change-Id: If2e9e624a13444e4cb6a08f3bb76ca3027d7ef46
* Add optional revision field to version numberMark McLoughlin2012-01-111-3/+3
| | | | | | | | | Add a revision field to the version number to account for releases from the stable branch, e.g. 2011.3.1. See http://wiki.openstack.org/StableBranchRelease Change-Id: I34238a5639d34c9cf44655775a6be80fdd446233
* Remove some remnants of ChangeLog and vcsversion.py generationMark McLoughlin2011-12-061-9/+1
| | | | | | | | Since moving to bzr, we no longer generate ChangeLog and vcsversion.py and since commit deb31cb55 we no longer even have the bzr specific code for generating them. So, let's just remove any references to them. Change-Id: I4f96b9be48e289f9129ae8e3ad4cbc1b22db07d2
* Open Essex (switch version to 2012.1)Thierry Carrez2011-09-091-1/+1
|
* docstring cleanup, nova dirtermie2011-04-201-3/+3
|
* Diablo versioningThierry Carrez2011-04-151-2/+2
|
* Final versioningThierry Carrez2011-04-131-1/+1
|
* Open Cactus development.Soren Hansen2011-02-021-2/+2
|
* Set FINAL = True in version.py.Soren Hansen2011-02-021-1/+1
|
* Add copyright and license info to version.pySoren Hansen2011-01-071-1/+16
|
* Less code generation.Soren Hansen2011-01-071-22/+18
|
* Add default version file for developers.Todd Willey2011-01-061-0/+35