[Buildbot-devel] change source script for CVS

Andy Howell AndyHowell at austin.rr.com
Mon Sep 28 02:08:01 UTC 2009


Doug Latornell wrote:
> On Fri, Sep 25, 2009 at 2:17 PM, Andy Howell <AndyHowell at austin.rr.com> wrote:
>> Hello,
>>
>>        I'm trying to get buildbot working on a CentOS 5.3 system with:
>>
>> Python 2.4.3
>> Buildbot version: 0.7.11p3
>> Twisted version: 2.5.0
>>
>>
>> The docs say to use CVSToys for CVS change updates. After much mucking about with CVSToys,
>> it seems that it was written for an old version of twisted.
>>
>> Is there a CVS loginfo script that uses 'buildbot sendchange'?
>>
> 
> The following works for me:
> 
> ^SOG\|sog  	/ocean/dlatorne/bin/buildbot sendchange --master
> grinder:9989  --username $USER --logfile - %{sv}
> 
> The SOG stuff at the beginning is the regex that tells CVS which
> repositories it is supposed to send changes from.  Your path to
> buildbot will obviously be different.  The rest is pretty straight out
> of the docs.
> 
> Doug
> 

I thought this did the trick, but doesn't solve the problem completely. It fires off the 
build, but it to not actually record the revision.

The lack of revision causes an exception when clicking on the submitter in the waterfall 
window. The attached patch prevents the exception. Once I get CVS getting the revisions 
ok, that won't be needed, but it won't hurt either.

Andy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: changes.diff
Type: text/x-patch
Size: 427 bytes
Desc: not available
URL: <http://buildbot.net/pipermail/devel/attachments/20090927/d335b115/attachment.bin>


More information about the devel mailing list