[Buildbot-commits] [Buildbot] #2154: Master-side git source step breaks revision+shallow
Buildbot
nobody at buildbot.net
Sun Nov 27 11:43:25 UTC 2011
#2154: Master-side git source step breaks revision+shallow
----------------------+-----------------------------
Reporter: Tobi | Owner:
Type: undecided | Status: new
Priority: minor | Milestone: undecided
Version: 0.8.5 | Keywords: git master-side
----------------------+-----------------------------
Master-side git source step breaks situation of specifying shallow=True,
and then passing a revision property to a build request, that it hasn't /
won't fetch, due to the shallow clone.
Slave-side git source step would, with full builds, detect this situation
and do a "git init ; git fetch ..." instead.
E.g. this code in slave-side git source step:
{{{
#!python
# If they didn't ask for a specific revision, we can get away with
a
# shallow clone.
if not self.args.get('revision') and self.args.get('shallow'):
}}}
I'm not sure how slave-side git handled incremental builds in shallow
clones.
--
Ticket URL: <http://trac.buildbot.net/ticket/2154>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list