[Buildbot-devel] How to do incremental building with buildbot.steps.Source.Git ?
Marc-Antoine Ruel
maruel at chromium.org
Sat Jan 16 12:55:00 UTC 2010
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
M-A
On Fri, Jan 15, 2010 at 9:33 PM, Guo Hongruan <camelguo at gmail.com> wrote:
> Hi guys,
> I want to do incremental build with Git repos. That's I want to keep the
> building result and just building the files changed since last building.
> So I write my master.cfg as the following:
>
> oe_oe_inc_nightly_glibc.addStep(source.Git(repourl=repository,
> branch=oebranch, mode='update',retry=(30,5)))
> /*use mode='update' to tell buildbot I want to keep the building result
> (object files, temp files) and just build the files changed since last
> building*/
>
> But I found every time, buildbot will delete the whole building result
> and build it completely. From the log file, I saw:
> 1, buildbot first delete all previous building result using the following
> command:
> git clean -f -d -x
> 2. Then it builds the project completely.
>
> My question is how to do incremental building with Git? It seems that the
> mode='update' of Git does not work as expected.
>
> Thanks a lot.
>
> --
> Guo Hongruan, Embedded Linux Consultant
> Skype: camelguo
> Twitter: camelguo
> http://www.gulessoft.com
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
More information about the devel
mailing list