[Buildbot-commits] buildbot/buildbot/process base.py,1.79,1.80

Brian Warner warner at users.sourceforge.net
Thu May 22 22:12:36 UTC 2008


Update of /cvsroot/buildbot/buildbot/buildbot/process
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv17098/buildbot/process

Modified Files:
	base.py 
Log Message:
[project @ #107:delayBuildStart.diff]
Patch by Ben Hearsum <bhearsum at wittydomain.com>: delay status
notification about build start until _startBuild_2 (after a lock has
been acquired)

Original author: dustin at v.igoro.us
Date: 2008-04-21 19:22:02+00:00

Index: base.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/process/base.py,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -d -r1.79 -r1.80
--- base.py	22 May 2008 22:12:10 -0000	1.79
+++ base.py	22 May 2008 22:12:34 -0000	1.80
@@ -341,7 +341,6 @@
             d.callback(self)
             return d
 
-        self.build_status.buildStarted(self)
         self.acquireLocks().addCallback(self._startBuild_2)
         return d
 
@@ -361,6 +360,7 @@
         return defer.succeed(None)
 
     def _startBuild_2(self, res):
+        self.build_status.buildStarted(self)
         self.startNextStep()
 
     def setupBuild(self, expectations):





More information about the Commits mailing list