[Buildbot-devel] problems with SVNPoller and branches

Charles Lepple clepple at gmail.com
Tue Apr 28 02:17:01 UTC 2009


On Apr 27, 2009, at 9:11 PM, Andrew Lawrence wrote:

> I have an existing buildbot configuration that I'm attempting to  
> update to watch multiple branches.  We're using Subversion for our  
> source control, and our source repository is laid out just like the  
> first example in the documentation for SVNPoller (project/branchname/ 
> filepath).  My old change source and scheduler look like this:
>
> c['change_source'] = SVNPoller(svnurl="svn+ssh://buildbot@<hostname  
> deleted>/data/svn/dev/sm40/trunk")
>
> c['schedulers'].append(Scheduler(name="all", branch=None,
>                                  treeStableTimer=5*60,
>                                  builderNames=["full-linux-32bit"]))
>
> I'm trying to change from that to this:
>
> c['change_source'] = SVNPoller(svnurl="svn+ssh://buildbot@<hostname  
> deleted>/data/svn/dev/sm40/", split_file=split_file_branches)
>
> c['schedulers'].append(Scheduler(name="all", branch="trunk",
>                                  treeStableTimer=5*60,
>                                  builderNames=["full-linux-32bit"]))

split_file_branches (at least, the one in changes/svnpoller.py) will  
return the value None for the trunk, so you probably want to stick  
with the previous syntax for this scheduler.

Not sure what's causing the traceback, but what version of Buildbot  
are you using?




More information about the devel mailing list