[Buildbot-commits] buildbot/buildbot/changes pb.py,1.6,1.7

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


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

Modified Files:
	pb.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: pb.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/changes/pb.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- pb.py	24 Apr 2005 21:30:25 -0000	1.6
+++ pb.py	4 May 2005 02:09:38 -0000	1.7
@@ -3,6 +3,7 @@
 import os, os.path
 
 from twisted.application import service
+from twisted.python import log
 
 from buildbot.pbutil import NewCredPerspective
 from buildbot.changes.changes import Change
@@ -22,7 +23,9 @@
         return self
     def detached(self, mind):
         pass
+
     def perspective_addChange(self, changedict):
+        log.msg("perspective_addChange called")
         pathnames = []
         for path in changedict['files']:
             if self.prefix:





More information about the Commits mailing list