Ticket #327 (closed enhancement: fixed)
Git VC slave command neglects to fetch non-branch-head tags
|Reported by:||jgill||Owned by:|
I started working with buildbot for the first time today - for what it's worth, it's a great package. One immediate problem I see, however, is that the Git class in buildbot/slave/commands.py fails to fetch tags that don't point to a branch head. For a package I work on, I rely on the output of git describe --tags in the build process to determine version and release numbers. These numbers are unavailable for HEAD revs that aren't individually tagged.
The solution to my problem is trivial: add a -t argument to the git-fetch command, such as is provided in my attached patch.