[Buildbot-devel] How to do incremental building with buildbot.steps.Source.Git ?

Dustin J. Mitchell dustin at zmanda.com
Sun Jan 17 05:42:37 UTC 2010


On Sat, Jan 16, 2010 at 6:55 AM, Marc-Antoine Ruel <maruel at chromium.org> wrote:
> I uses -x only if ignore_ignores is True in 0.7.12 branch.
>
> Maybe worth adding a flag "always_purge" like the one I added in SVN,
> defaulting to True to not change current behavior.
>
> See
> http://github.com/djmitche/buildbot/blob/master/buildbot/slave/commands.py

We had a long talk in IRC about this -- the current implementation of
the Git source step effectively clobbers in mode=update.  The
particular change that started this behavior was reverted in the
release branch:

  http://github.com/djmitche/buildbot/commit/7fa5137bbc449144d76334bd366920d8b6a7c2c0

In the next version, we're thinking of having only two modes for all
source steps: clobber ("I only want the source from VC in the build
directory") and update ("please carefully update the source, leaving
everything else as you found it").  Different VC engines might have
one or more ways to implement each of these modes - in particular, git
can do clobber in a number of ways ranging from "super-reliable but
high-bandwidth" to "fast but won't work for everybody".  We will
probably need to come up with shorter names for those :)

Dustin

-- 
Open Source Storage Engineer
http://www.zmanda.com




More information about the devel mailing list