[Buildbot-devel] Conceptual Questions: Change-based BuildStep

Dustin J. Mitchell dustin at v.igoro.us
Sun May 19 18:37:08 UTC 2013


On Sun, May 19, 2013 at 2:35 PM, Kenny Ho <kenny.ho at jamdeo.com> wrote:
> Um... essentially.  The changes are not from the same codebase or respository though (I am not sure if I am using the term correctly), otherwise I can probably take advantage of the source stability timer and only build the newer head.  I am dealing with Gerrit which is a collection of git repositories.  There are times that I may have changes in the same gerrit project but on different git repositories that may be related.  I have configured the source stability timer to generate only one Build/BuildRequest when this situation happens and I can see that it works (the Build web UI showed that there are multiple ChangeS in one build, and listed them out correctly.)  I am hoping that there is some way for me to put in the BuildStep to say... git cherry pick Change 1 to path 1, Change 2 to path 2 ... to Change N where N is the total number of ChangeS in the Build.  Is this a supported use case?

I don't see why you'd need to cherry-pick there.  Couldn't you update
the relevant repos?

It might be best to model each git repository in the gerrit project as
a codebase.

Dustin




More information about the devel mailing list