[Buildbot-devel] problems with SVNPoller and branches
Andrew Lawrence
andrew at parascale.com
Tue Apr 28 02:48:59 UTC 2009
On Mon, Apr 27, 2009 at 7:17 PM, Charles Lepple <clepple at gmail.com> wrote:
> 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?
>
I also tried setting branch=None in the scheduler for trunk, but that didn't
make a difference. I'm using Buildbot version 0.7.10p1 (with Twisted
version 8.1.0).
--Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20090427/3e086c24/attachment.html>
More information about the devel
mailing list