[SCM] build.samba.org - branch master updated
Jelmer Vernooij
jelmer at samba.org
Fri Nov 12 12:20:11 MST 2010
The branch, master has been updated
via 437a715 Print build status when verbose.
from 2bed1d2 More fixes, implement Build.__repr__.
http://gitweb.samba.org/?p=build-farm.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 437a715153314191c986297e358af81709ccb689
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Nov 12 20:21:03 2010 +0100
Print build status when verbose.
-----------------------------------------------------------------------
Summary of changes:
buildfarm/data.py | 5 +++++
import-and-analyse.py | 5 ++++-
2 files changed, 9 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/buildfarm/data.py b/buildfarm/data.py
index 8c30b7e..4e4138d 100644
--- a/buildfarm/data.py
+++ b/buildfarm/data.py
@@ -52,6 +52,11 @@ class BuildStatus(object):
else:
self.other_failures = set()
+ def __str__(self):
+ if self.other_failures:
+ return ",".join(self.other_failures)
+ return "/".join([x[1] for x in self.stages])
+
def broken_host(self):
if "disk full" in self.other_failures:
return True
diff --git a/import-and-analyse.py b/import-and-analyse.py
index 9431f56..def3428 100755
--- a/import-and-analyse.py
+++ b/import-and-analyse.py
@@ -85,13 +85,16 @@ The build may have been broken by one of the following commits:
for build in buildfarm.get_new_builds():
if opts.verbose >= 1:
- print "Processing %s..." % build
+ print "Processing %s..." % build,
if not opts.dry_run:
buildfarm.builds.upload_build(build)
(rev, commit_rev, rev_timestamp) = build.revision_details()
+ if opts.verbose >= 1:
+ print str(build.status())
+
try:
prev_rev = buildfarm.builds.get_previous_revision(build.tree, build.host, build.compiler, rev)
except data.NoSuchBuildError:
--
build.samba.org
More information about the samba-cvs
mailing list