[Buildbot-commits] buildbot/buildbot master.py,1.49,1.50 interfaces.py,1.16,1.17

Brian Warner warner at users.sourceforge.net
Wed Sep 29 03:54:28 UTC 2004


Update of /cvsroot/buildbot/buildbot/buildbot
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29473/buildbot

Modified Files:
	master.py interfaces.py 
Log Message:
* buildbot/status/words.py (IrcStatusBot.privmsg): clean up
failure handling, remove a redundant try/except block. Don't
return the full traceback to the IRC channel.
(IrcStatusBot.command_FORCE): catch new exceptions, return useful
error messages. Get ETA properly.

* buildbot/status/html.py (StatusResourceBuild.body): html.escape
the reason, since (at least) IRC message will have <> in them.
(StatusResourceBuilder.__init__): take an IBuilderControl
(StatusResourceBuilder.force): use the IBuilderControl we get in
the constructor instead of trying to make our own. Catch the
new exceptions and ignore them for now (until we make an
intermediate web page where we could show the error message)
(StatusResource): create with an IControl, use it to give an
IBuilderControl to all children
(Waterfall): take an allowForce= option, pass an IControl object
to StatusResource if it is True

* buildbot/test/test_web.py (ConfiguredMaster): handle IControl

* buildbot/master.py (BotPerspective.perspective_forceBuild):
catch new exceptions and return string forms

* buildbot/interfaces.py: add NoSlaveError, BuilderInUseError
* buildbot/process/builder.py (Builder.forceBuild): raise them
* buildbot/test/test_control.py (Force.testNoSlave): new test
(Force.testBuilderInUse): same








More information about the Commits mailing list