PBR

Comment 5 for bug 1570458

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

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

commit 626ecb6275d1402ac0f4d127990c62672878ed32
Author: Randall Nortman <email address hidden>
Date: Thu Apr 14 17:07:43 2016 -0400

    Fix handling of old git log output

    Older versions of git produce log output (using --format specifiers)
    that doesn't prefix tags with a "tag:" prefix, though they do using
    the --decorate log format. This was a bug in git that was fixed, but
    the older git is still in the wild. This change combines both the new
    --format specifier method with the --decorate method to find tags even
    if used with the old, buggy git, while (hopefully) avoiding
    identifying non-tags as tags.

    This is based on I6b557687f2428a528a8aa7f76e84797162488887 but tries to
    use a single format string that works across all versions of git.

    Because the format string has changed, some of the test data has had to
    change to reflect the new format.

    Change-Id: I58a1b12e0f4054fd25bddc77fabb6c89239561ff
    Closes-Bug: #1570458
    Co-Authored-By: James Polley <email address hidden>