[Buildbot-commits] buildbot ChangeLog,1.428,1.429

Brian Warner warner at users.sourceforge.net
Thu May 12 21:56:00 UTC 2005


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

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

fix OfflineLogFile to work with html.Waterfall

	* buildbot/status/builder.py (OfflineLogFile.getChunks): have this
	method generate chunks instead of returning a big list. This
	allows the same method to be used for both old LogFile and new
	OfflineLogFile.
	(OfflineLogFile.getText): use the generator
	(OfflineLogFile.subscribe): same
	* buildbot/status/html.py (TextLog.resumeProducing): same
	* buildbot/interfaces.py (IStatusLog.getChunks): document it


Index: ChangeLog
===================================================================
RCS file: /cvsroot/buildbot/buildbot/ChangeLog,v
retrieving revision 1.428
retrieving revision 1.429
diff -u -d -r1.428 -r1.429
--- ChangeLog	12 May 2005 21:16:49 -0000	1.428
+++ ChangeLog	12 May 2005 21:55:58 -0000	1.429
@@ -1,5 +1,14 @@
 2005-05-12  Brian Warner  <warner at lothar.com>
 
+	* buildbot/status/builder.py (OfflineLogFile.getChunks): have this
+	method generate chunks instead of returning a big list. This
+	allows the same method to be used for both old LogFile and new
+	OfflineLogFile.
+	(OfflineLogFile.getText): use the generator
+	(OfflineLogFile.subscribe): same
+	* buildbot/status/html.py (TextLog.resumeProducing): same
+	* buildbot/interfaces.py (IStatusLog.getChunks): document it
+
 	* buildbot/test/test_web.py (WebTest.test_logfile): Add a test to
 	point out that OfflineLogFile does not currently work with
 	html.Waterfall . Fixing this is high-priority.





More information about the Commits mailing list