When a builder state changes to "building", set the ETA to "unknown".
authorTim Potter <tpot@hp.com>
Wed, 9 Apr 2008 01:41:33 +0000 (11:41 +1000)
committerTim Potter <tpot@hp.com>
Wed, 9 Apr 2008 01:41:33 +0000 (11:41 +1000)
If the buildbot hasn't had any successful runs, no ETA data is availabe
and the buildETAUpdate callback is never called.

gbuildbotclient

index a69399b..e30a2f4 100755 (executable)
@@ -186,9 +186,13 @@ class App(pb.Referenceable):
                 # Update status
 
                 if statename == 'building':
+
                     model.set_value(
                         iter, self.COL_BUILDER_BUILD_STATUS, 'Unknown')
 
+                    model.set_value(
+                        iter, self.COL_BUILDER_BUILD_ETA_TEXT, 'Unknown')
+
         self.model.foreach(updateState, None)
 
     def remote_buildFinished(self, buildername, build, result):