PBR

Comment 7 for bug 1356784

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to pbr (master)

Reviewed: https://review.openstack.org/114403
Committed: https://git.openstack.org/cgit/openstack-dev/pbr/commit/?id=dc62764a240f9d94d2def02ab13bdf18560d07d5
Submitter: Jenkins
Branch: master

commit dc62764a240f9d94d2def02ab13bdf18560d07d5
Author: Robert Collins <email address hidden>
Date: Fri Aug 15 12:41:41 2014 +1200

    Only consider tags that look like versions.

    pbr has been allowing any tag (e.g. 'fred') to be a version - but fred
    is clearly not a version! Since git describe cannot validate versions
    for us today, we need to perform the describe calculations ourselves.

    In order for this to work on Python3, a missing method __hash__ needed
    to be added to SemanticVersion.

    Change-Id: I09fa54231e77ae7671aa6f84eb91fd655e49ab25
    Closes-Bug: #1356784