[Buildbot-commits] buildbot/buildbot master.py,1.67,1.68

Brian Warner warner at users.sourceforge.net
Wed May 4 02:09:41 UTC 2005


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

Modified Files:
	master.py 
Log Message:
Revision: arch at buildbot.sf.net--2004/buildbot--dev--0--patch-119
Creator:  Brian Warner <warner at monolith.lothar.com>

add 'buildbot sendchange' command

	* buildbot/scripts/runner.py (sendchange): new command to send a
	change to a buildbot.changes.pb.PBChangeSource receiver.
	* buildbot/test/test_changes.py (Sender): test it

	* buildbot/master.py (BuildMaster.startService): mark .readConfig
	after any reading of the config file, not just when we do it in
	startService. This makes some tests a bit cleaner.

	* buildbot/changes/pb.py: add some log messages


Index: master.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/master.py,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- master.py	28 Apr 2005 07:34:27 -0000	1.67
+++ master.py	4 May 2005 02:09:38 -0000	1.68
@@ -659,7 +659,6 @@
             # the config file, and it would be nice for the user to discover
             # this quickly.
             self.loadTheConfigFile()
-            self.readConfig = True
         if signal and hasattr(signal, "SIGHUP"):
             signal.signal(signal.SIGHUP, self._handleSIGHUP)
         for b in self.botmaster.builders.values():
@@ -884,6 +883,7 @@
         self.loadConfig_Interlocks(interlocks)
         
         log.msg("configuration updated")
+        self.readConfig = True
         return defer.DeferredList(dl)
 
     def loadConfig_Slaves(self, bots):





More information about the Commits mailing list