[SCM] build.samba.org - branch master updated
Jelmer Vernooij
jelmer at samba.org
Fri Dec 3 20:50:57 MST 2010
The branch, master has been updated
via 7fe73cd Add +stderr and +stdout.
from 24ffda7 Fix summary
http://gitweb.samba.org/?p=build-farm.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 7fe73cd21caaa830333b52acbe7f5b7983dfa14f
Author: jelmer at samba.org <jelmer at samba.org>
Date: Sat Dec 4 04:50:46 2010 +0100
Add +stderr and +stdout.
-----------------------------------------------------------------------
Summary of changes:
buildfarm/web/__init__.py | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/buildfarm/web/__init__.py b/buildfarm/web/__init__.py
index a493747..aa60fc4 100755
--- a/buildfarm/web/__init__.py
+++ b/buildfarm/web/__init__.py
@@ -467,6 +467,9 @@ class ViewBuildPage(BuildFarmPage):
yield "<div id='log'>"
yield "<p><a href='%s/+subunit'>Subunit output</a></p>" % build_uri(myself, build)
+ yield "<p><a href='%s/+stdout'>Standard output (as plain text)</a>, " % build_uri(myself, build)
+ yield "<a href='%s/+stderr'>Standard error (as plain text)</a>" % build_uri(myself, build)
+ yield "</p>"
if not plain_logs:
yield "<p>Switch to the <a href='%s?function=View+Build;host=%s;tree=%s"\
@@ -998,6 +1001,16 @@ class BuildFarmApp(object):
yield build.read_subunit().read()
except NoTestOutput:
yield "There was no test output"
+ elif subfn == "+stdout":
+ start_response('200 OK', [
+ ('Content-type', 'text/plain; charset=utf-8'),
+ ('Content-Disposition', 'attachment; filename="%s.%s.%s-%s.log"' % (build.tree, build.host, build.compiler, build.revision))])
+ yield build.read_log().read()
+ elif subfn == "+stderr":
+ start_response('200 OK', [
+ ('Content-type', 'text/plain; charset=utf-8'),
+ ('Content-Disposition', 'attachment; filename="%s.%s.%s-%s.err"' % (build.tree, build.host, build.compiler, build.revision))])
+ yield build.read_err().read()
elif subfn in ("", None):
start_response('200 OK', [
('Content-type', 'text/html; charset=utf-8')])
--
build.samba.org
More information about the samba-cvs
mailing list