diff options
| author | Daniel P. Berrange <berrange@redhat.com> | 2012-12-13 18:56:24 +0000 |
|---|---|---|
| committer | Daniel P. Berrange <berrange@redhat.com> | 2012-12-19 18:32:03 +0000 |
| commit | ba9ee7eb22ca17553e2e768365220c9a9838ae1d (patch) | |
| tree | cbade7e6d8ef034166e4f493d1193b9ca6d6b05f /tools/enable-pre-commit-hook.sh | |
| parent | cbf9d897384b22b45f253fa78c1dd08d13f6a2e8 (diff) | |
| download | nova-ba9ee7eb22ca17553e2e768365220c9a9838ae1d.tar.gz nova-ba9ee7eb22ca17553e2e768365220c9a9838ae1d.tar.xz nova-ba9ee7eb22ca17553e2e768365220c9a9838ae1d.zip | |
Define a product, vendor & package strings in version.py
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>
Diffstat (limited to 'tools/enable-pre-commit-hook.sh')
0 files changed, 0 insertions, 0 deletions
