[Buildbot-commits] buildbot ChangeLog,1.478,1.479

Brian Warner warner at users.sourceforge.net
Mon Aug 8 21:39:48 UTC 2005


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

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

deliver large addCompleteLog() files correctly

Twisted's NetstringReceiver imposes a cap of 100k on the chunks of a
LogFile, which causes problems when addCompleteLog() is used to create
large LogFiles.

	* buildbot/process/step.py (BuildStep.addCompleteLog): break the
	logfile up into chunks, both to avoid NetstringReceiver.MAX_LENGTH
	and to improve memory usage when streaming the file out to a web
	browser.
	* buildbot/status/builder.py (LogFile.addEntry): change > to >= to
	make this work cleanly

--This line, and those below, will be ignored--
Files to commit:
   <can't compute list>

This list might be incomplete or outdated if editing the log
message was not invoked from an up-to-date changes buffer!


Index: ChangeLog
===================================================================
RCS file: /cvsroot/buildbot/buildbot/ChangeLog,v
retrieving revision 1.478
retrieving revision 1.479
diff -u -d -r1.478 -r1.479
--- ChangeLog	3 Aug 2005 23:47:28 -0000	1.478
+++ ChangeLog	8 Aug 2005 21:39:46 -0000	1.479
@@ -1,3 +1,12 @@
+2005-08-08  Brian Warner  <warner at lothar.com>
+
+	* buildbot/process/step.py (BuildStep.addCompleteLog): break the
+	logfile up into chunks, both to avoid NetstringReceiver.MAX_LENGTH
+	and to improve memory usage when streaming the file out to a web
+	browser.
+	* buildbot/status/builder.py (LogFile.addEntry): change > to >= to
+	make this work cleanly
+
 2005-08-03  Brian Warner  <warner at lothar.com>
 
 	* buildbot/trybuild.py: new file for 'try' utilities





More information about the Commits mailing list