Ticket #327 (closed enhancement: fixed)
Git VC slave command neglects to fetch non-branch-head tags
| Reported by: | jgill | Owned by: | |
|---|---|---|---|
| Priority: | patches-accepted | Milestone: | 0.7.10 |
| Version: | 0.7.8 | Keywords: | git tag |
| Cc: |
Description
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.
Attachments
Change History
Changed 5 years ago by jgill
-
attachment
git-fetch-327.patch
added
Note: See
TracTickets for help on using
tickets.
![[Buildbot Logo]](/chrome/site/header-text-transparent.png)
patch to add '-t' arg to git-fetch commandline