[Buildbot-devel] configuration help
Stefan Seefeld
seefeld at sympatico.ca
Thu Nov 24 23:05:40 UTC 2005
Hi Chris,
Chris Leishman wrote:
> I had much the same problem, and it occured to me that the
> svn_buildbot.py script has not concept of branches, and there is no
> easy way I can see in the master configuration to automatically
> determine the branch.
>
> So I've created a patch to svn_buildbot that adds a --branch argument,
> and passes that as the branch name when sending the change message to
> buildbot.
that looks like one possibility. However, as svn_buildbot.py is invoked
by svn itself (well, via the post-commit shell script), and since svn
itself doesn't have any 'branch' concept, I would have to preprocess
the arguments to figure out the branch in a shell script.
I figure such a pattern matching is much simpler to provide as a python
function, and so I would much prefer a way to write that function
directly into my master.cfg file, if possible.
Kind regards,
Stefan
More information about the devel
mailing list