[Buildbot-commits] buildbot/buildbot scheduler.py,1.2,1.3
Brian Warner
warner at users.sourceforge.net
Wed Jul 20 04:49:08 UTC 2005
Update of /cvsroot/buildbot/buildbot/buildbot
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18786/buildbot
Modified Files:
scheduler.py
Log Message:
Revision: arch at buildbot.sf.net--2004/buildbot--dev--0--patch-256
Creator: Brian Warner <warner at lothar.com>
update Locks docs, add listBuilderNames to all Schedulers
* buildbot/scheduler.py (Dependent.listBuilderNames): oops, add
utility method to *all* the Schedulers
(Periodic.listBuilderNames): same
* docs/buildbot.texinfo (Interlocks): update chapter to match
reality
Index: scheduler.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/scheduler.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- scheduler.py 20 Jul 2005 04:21:57 -0000 1.2
+++ scheduler.py 20 Jul 2005 04:49:06 -0000 1.3
@@ -256,6 +256,9 @@
self.upstream = upstream
self.builderNames = builderNames
+ def listBuilderNames(self):
+ return self.builderNames
+
def startService(self):
service.MultiService.startService(self)
self.upstream.subscribeToSuccessfulBuilds(self.upstreamBuilt)
@@ -292,6 +295,9 @@
self.doPeriodicBuild)
self.timer.setServiceParent(self)
+ def listBuilderNames(self):
+ return self.builderNames
+
def doPeriodicBuild(self):
bs = buildset.BuildSet(self.builderNames,
SourceStamp(branch=self.branch))
More information about the Commits
mailing list