On Mon, 2010-09-13 at 17:49 +0200, András Murányi wrote:
>
> Also, about the slave names, would it be possible to
> use the same names
> that are on the PdLab page? I.e. not CamelCase, but
> with-dashes
> instead :)
>
> Sure, i will. Soon :)
>
> Done - used the names verbatim from the PdLab page, which means there
> is *some* CamelCase, also x86_64 *and* amd64. At least it's now in
> perfect sync with the wiki page.
> Tonight i'll try to set up the slaves.
>
> Now i'm at CVS polling... it goes with a script snippet, which
> i'm not sure about if it does what we want... could you take a
> look at
http://128.238.56.50:8010/waterfall sometimes and see
> if the changes trigger the right builder? The snippet is like
> this:
>
> def my_file_splitter(path): # file splitter for
> BRANCHNAME/PROJECT/FILEPATH repos
> pieces = path.split('/')
> if pieces[0] == 'trunk':
> branch = None
> pieces.pop(0) # remove 'trunk'
> elif pieces[0] == 'branches':
> pieces.pop(0) # remove 'branches'
> # grab branch name
> branch = 'branches/' + pieces.pop(0)
> else:
> return None # something weird
> projectname = pieces.pop(0)
> # if projectname != 'pure-data':
> # return None # wrong project
> return (branch, '/'.join(pieces))
>
> further explanation is here:
>
http://buildbot.net/buildbot/docs/latest/SVNPoller.html
>
> It really seems to me that buildbout does not understand yet which
> builder to start upon which change. Once you have time, you could take
> a look into this 'splitter' thing.