]> git.pld-linux.org Git - projects/pld-builder.new.git/commitdiff
Ac src not hardcoded, all builders are allowed to announce
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 19 Dec 2003 15:38:44 +0000 (15:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    PLD_Builder/report.py -> 1.15

PLD_Builder/report.py

index 27a25080dc49d020735fb1a454be3c5d5d0674cd..0cc0d8f5e5bc5095608341f92d745440d587b0be 100644 (file)
@@ -92,8 +92,8 @@ def send_report(r, is_src = False):
 
 def send_cia_report(r, is_src = False):
 
-  if not is_src:
-    return
+  #if not is_src:
+  #  return
 
   s_failed = ' '.join([b.spec for b in r.batches if b.build_failed])
   s_ok = ' '.join([b.spec for b in r.batches if not b.build_failed])
@@ -116,6 +116,6 @@ def send_cia_report(r, is_src = False):
     else: 
       info = "OK"
     # Instead of hardcoded Ac information use some config variable
-    m.write("{red}Builder Ac src{normal} ({gray}%s{normal}): {light blue}%s{normal}:{yellow}%s{normal} {green}%s{normal}\n" % (r.requester_email, b.spec, b.branch, info))
+    m.write("{red}Builder %s{normal} ({gray}%s{normal}): {light blue}%s{normal}:{yellow}%s{normal} {green}%s{normal}\n" % (config.builder, r.requester_email, b.spec, b.branch, info))
            
   m.send()
This page took 0.033618 seconds and 4 git commands to generate.