[Buildbot-devel] Stopping builds with WebStatus in buildbot 0.7.6

Aaron_Hsieh at PlayStation.Sony.Com Aaron_Hsieh at PlayStation.Sony.Com
Wed Oct 3 22:45:18 UTC 2007


Well, looks like that one little change fixed it.  I also filed the ticket 
for this as well, at #114.

Aaron




Brian Warner <warner at lothar.com> 
10/03/2007 01:55 PM

To
Aaron Hsieh/R&D/SCEA at PLAYSTATION
cc
"buildbot-devel at lists.sourceforge.net" 
<buildbot-devel at lists.sourceforge.net>
Subject
Re: [Buildbot-devel] Stopping builds with WebStatus in buildbot 0.7.6






I found that when I set AllowForce to True when initializing WebStatus in 
my master.cfg, I am able to force builds and rebuilds, but I don't appear 
to be able to stop builds as far as I can tell.  Is there something else 
that I'm missing here? 

Oops, it's quite possible that I broke something here: that Stop Build 
button is only displayed if the bb.status.web.build.StatusResourceBuild 
object thinks it has a control handle, and the way that gets passed around 
changed considerably in 0.7.6 .

Ah, I see the bug. buildbot/status/web/build.py line 262, "builder_control 
= ..." should be "build_control = ..."

Could you try changing that and see if it fixes the problem? And either 
way, could you file a Trac ticket for this one? I'm away from a computer 
this week, but if that fixes the problem, I'll commit it as soon as I get 
back.

thanks,
 -Brian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20071003/249bb792/attachment.html>


More information about the devel mailing list