[SCM] build.samba.org - branch master updated

Jelmer Vernooij jelmer at samba.org
Fri Nov 12 16:10:30 MST 2010


The branch, master has been updated
       via  ff35138 Some fixes for import-and-analyse.
      from  99b7f0c Simplify revision_details() call.

http://gitweb.samba.org/?p=build-farm.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit ff351382411e200315fed46515a96dc7f55b34af
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Sat Nov 13 00:11:20 2010 +0100

    Some fixes for import-and-analyse.

-----------------------------------------------------------------------

Summary of changes:
 import-and-analyse.py |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/import-and-analyse.py b/import-and-analyse.py
index def3428..d88d42c 100755
--- a/import-and-analyse.py
+++ b/import-and-analyse.py
@@ -41,7 +41,7 @@ def check_and_send_mails(tree, host, compiler, cur, old):
     old_status = old.status()
 
     if not cur_status.regressed_since(old_status):
-        if opts.verbose:
+        if opts.verbose >= 1:
             print "the build didn't get worse since %r" % old_status
         return
 
@@ -81,6 +81,8 @@ The build may have been broken by one of the following commits:
     msg["To"] = ",".join(recipients.keys())
     if not opts.dry_run:
         smtp.send(msg["From"], [msg["To"]], msg.as_string())
+    else:
+        print msg.as_string()
 
 
 for build in buildfarm.get_new_builds():
@@ -90,7 +92,7 @@ for build in buildfarm.get_new_builds():
     if not opts.dry_run:
         buildfarm.builds.upload_build(build)
 
-    (rev, commit_rev, rev_timestamp) = build.revision_details()
+    (rev, rev_timestamp) = build.revision_details()
 
     if opts.verbose >= 1:
         print str(build.status())


-- 
build.samba.org


More information about the samba-cvs mailing list