[Buildbot-commits] buildbot ChangeLog,1.454,1.455

Brian Warner warner at users.sourceforge.net
Mon May 23 17:45:57 UTC 2005


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

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

fix HTMLLogFile upgrades, add basedir to sys.path in 'buildbot start'

	* buildbot/scripts/runner.py (start): put the basedir in sys.path
	before starting: this was done by twistd back when we spawned it,
	now that we're importing the pieces and running them in the
	current process, we have to do it ourselves. This allows
	master.cfg to import files from the same directory without
	explicitly manipulating PYTHONPATH. Thanks to Thomas Vander
	Stichele for the catch.

	* buildbot/status/builder.py (HTMLLogFile.upgrade): oops! second
	fix to make this behave like other LogFiles, this time to handle
	existing LogFiles on disk. (add the missing .upgrade method)
	* buildbot/test/test_status.py (Log.testHTMLUpgrade): test it


Index: ChangeLog
===================================================================
RCS file: /cvsroot/buildbot/buildbot/ChangeLog,v
retrieving revision 1.454
retrieving revision 1.455
diff -u -d -r1.454 -r1.455
--- ChangeLog	22 May 2005 02:16:14 -0000	1.454
+++ ChangeLog	23 May 2005 17:45:55 -0000	1.455
@@ -1,3 +1,18 @@
+2005-05-23  Brian Warner  <warner at lothar.com>
+
+	* buildbot/scripts/runner.py (start): put the basedir in sys.path
+	before starting: this was done by twistd back when we spawned it,
+	now that we're importing the pieces and running them in the
+	current process, we have to do it ourselves. This allows
+	master.cfg to import files from the same directory without
+	explicitly manipulating PYTHONPATH. Thanks to Thomas Vander
+	Stichele for the catch.
+
+	* buildbot/status/builder.py (HTMLLogFile.upgrade): oops! second
+	fix to make this behave like other LogFiles, this time to handle
+	existing LogFiles on disk. (add the missing .upgrade method)
+	* buildbot/test/test_status.py (Log.testHTMLUpgrade): test it
+
 2005-05-21  Brian Warner  <warner at lothar.com>
 
 	* buildbot/test/test_runner.py (Create.testMaster): match the





More information about the Commits mailing list