[Buildbot-devel] Building from multiple repos

Charles Lepple clepple at gmail.com
Sun Mar 1 14:58:35 UTC 2015


On Feb 24, 2015, at 4:46 PM, Jamie Lawrence <Jlawrence at anchorfree.com> wrote:

> We are in the process of setting up a bunch of BB builds. Because of
> historic choices leading to technical debt that won¹t be unwound
> immediately, several of these builds need to pull from two repos, one git
> and one subversion. I¹m trying to make this work.
> 
> If I¹m reading the docs[1] correctly, it looks like the CodebaseGenerator
> is *not* what I need - that appears to be for mapping multiple possible
> repos containing the same codebase to the same named thing. Is this
> correct?

I have not completely set this up myself, so take this with a grain of salt: I think that is one potential use, but a project can be built from multiple codebases, as described here:

http://docs.buildbot.net/0.8.7p1/manual/concepts.html#source-stamps

In the link you cited, there are multiple URLs mapping to multiple codebase names: http://docs.buildbot.net/0.8.7p1/manual/cfg-global.html#cfg-codebaseGenerator

Note that the URLs in the example imply that each component is stored in both Mercurial as well as Git. It sounds like you don't need that at the moment, but it could support a future repository migration. Regardless, you should be able to have one codebase name for your git repository, and a second name for subversion.

-- 
Charles Lepple
clepple at gmail







More information about the devel mailing list