]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
GitbuilderProject: don't mangle rpm versions
authorZack Cerza <zack@redhat.com>
Thu, 8 Sep 2016 14:45:38 +0000 (08:45 -0600)
committerZack Cerza <zack@redhat.com>
Tue, 4 Oct 2016 15:01:20 +0000 (09:01 -0600)
commitc2ba13e4bc135378095e33bc2ef904cab3189682
tree0cfd4c932159ca6ddc1b96cd37acd06cad2b9245
parent4d2c0b6ff076c3ebbf4635393d15614aad37b77b
GitbuilderProject: don't mangle rpm versions

Up until now, given a package like:
"ceph-test-11.0.0-2135.g8403c95.x86_64", we were returning "11.0.0",
which doesn't allow us to properly verify installed package versions.
Start returning the entire string provided by gitbuilder so that we can
ensure we match the value returned by packaging.get_package_version().

For .deb packages, we have always used string like:
"11.0.0-2135-g8403c95-1xenial"

Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/packaging.py