[Buildbot-commits] buildbot/buildbot master.py,1.47,1.48 interfaces.py,1.14,1.15

Brian Warner warner at users.sourceforge.net
Tue Sep 28 17:51:42 UTC 2004


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

Modified Files:
	master.py interfaces.py 
Log Message:
* buildbot/test/test_control.py: test new interfaces
* buildbot/test/test_run.py (Status): handle new interfaces
* buildbot/test/test_vc.py (SetupMixin.doBuild): same

* buildbot/process/base.py (BuildControl): implement IBuildControl
and its lonely getStatus() method

* buildbot/process/builder.py (BuilderControl): implement
IBuilderControl, obtained by adapting the Builder instance
(Builder.startBuild): return a BuilderControl instead of a
Deferred. The caller can use bc.getStatus().waitUntilFinished() to
accomplish the same thing.

* buildbot/master.py: move all import statements to the top
(Control): implement IControl, obtained by adapting the
BuildMaster instance.

* buildbot/interfaces.py: add IControl, IBuilderControl, and
IBuildControl. These are used to force builds. Eventually they
will provide ways to reconfigure the Builders, pause or abandon a
Build, and perhaps control the BuildMaster itself.








More information about the Commits mailing list