[Buildbot-devel] setting tree stable timer for generic BuildFactory?

Stephen Davis stephendavis at mac.com
Sat Jun 18 01:46:04 UTC 2005


On Jun 17, 2005, at 6:30 PM, Brian Warner wrote:

>> It appears that these builds start immediately after a commit.  The
>> checkoutDelay parameter is not really what I want for the CVS step
>> but I don't see how to set the build's treeStableTimer without
>> subclassing the generic BuildFactory.  Am I missing something  
>> somewhere?
>
> There's a hook in BuildFactory to set the treeStableTimer on the  
> Builds it's
> creating. Just do:
>
> f = factory.BuildFactory(steps)
> f.treeStableTimer = 10*60 # ten minutes
> builders.append( { ..., 'factory': f } )
>
> (this is another reason the treeStableTimer is being moved to the  
> Scheduler)
>
> BTW, the default treeStableTimer is 10 seconds, so for anything  
> other than a
> "quick" Builder, you'll want set it to something larger.

No kidding!  Figured it was something simple.  I keep forgetting  
everything I know about Python between buildbot releases.  :-)

>> P.S.  BTW, turning the buildbot.texinfo docs into html doesn't really
>> work -- the index.html page is effectively blank.
>>
>
> Hm, I've never actually tried to convert it to HTML. What tool did  
> you use?
> I'll fix that and then stick a copy of the docs up on the web page.

I just looked at the Makefile and did "man makeinfo" to find that I  
could just do "makeinfo --html buildbot.texinfo".  It had an error so  
I had to add the "--force" option but otherwise it mostly worked.

buildbot.texinfo:300: @image file `images/overview.jpg' (for HTML)  
not readable: No such file or directory.
makeinfo: Removing output file `/Users/stephen/Development/src/anon/ 
buildbot/docs/buildbot/index.html' due to errors; use --force to  
preserve.

stephen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20050617/4e17d357/attachment.html>


More information about the devel mailing list