pbr 1.9 tag parsing incompatible with older git versions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PBR |
Fix Released
|
Undecided
|
James Polley |
Bug Description
pbr 1.9 changed the git log command used for extracting tags (see commit da9ab10). This log command has different output for the two versions of git I've tested. Newer git (I tested 2.1.4) gives the output pbr expects, but older git (I tested 1.7.10.4, the version in Debian Wheezy stable) gives different output that does not include the string "tag" preceding a tag, so the new pbr parser doesn't recognize the tags.
Here's a sample 'git log --format=
7d57ece\x00Merge "Revert "Support `truncated` flag returned by identity service""\x00 (2.3.1)
Here's the same rev as reported by git 2.1.4:
7d57ece\x00Merge "Revert "Support `truncated` flag returned by identity service""\x00 (tag: 2.3.1)
Changed in pbr: | |
assignee: | nobody → R. Nortman (r-nortman) |
status: | New → In Progress |
Note also that Ubuntu 12.04 LTS (Precise Pangolin) should also suffer from this issue, as it has an even slightly earlier Git version of 1.7.9.5.