[Buildbot-commits] buildbot ChangeLog,1.727,1.728
Brian Warner
warner at users.sourceforge.net
Fri Sep 15 14:48:46 UTC 2006
Update of /cvsroot/buildbot/buildbot
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv21118
Modified Files:
ChangeLog
Log Message:
[project @ add IStatusLog.readlines()]
Original author: warner at lothar.com
Date: 2006-09-08 21:42:21
Index: ChangeLog
===================================================================
RCS file: /cvsroot/buildbot/buildbot/ChangeLog,v
retrieving revision 1.727
retrieving revision 1.728
diff -u -d -r1.727 -r1.728
--- ChangeLog 15 Sep 2006 14:47:41 -0000 1.727
+++ ChangeLog 15 Sep 2006 14:48:44 -0000 1.728
@@ -1,5 +1,15 @@
2006-09-08 Brian Warner <warner at lothar.com>
+ * buildbot/interfaces.py (IStatusLog.readlines): make it easier to
+ walk through StatusLogs one line at a time, mostly for the benefit of
+ ShellCommand.createSummary methods.
+ * buildbot/status/builder.py (LogFile.readlines): implement it.
+ Note that this is not yet memory-efficient, it just pulls the
+ whole file into RAM and then splits it up with a StringIO.
+ Eventually this should be a generator that only pulls chunks from
+ disk as necessary.
+ * buildbot/test/test_status.py (Log.testReadlines): test it
+
* docs/buildbot.texinfo: update to match changes
* buildbot/process/factory.py: stop using old definitions
* buildbot/process/process_twisted.py: same
More information about the Commits
mailing list