[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible debian: _live_status: collect usertagged bugs only once
    Holger Levsen 
    holger at layer-acht.org
       
    Sun May 29 15:17:17 UTC 2016
    
    
  
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 8fc2346fc3b7cb421985e44a8a71361b083a680d
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Sun May 29 15:15:41 2016 +0000
    reproducible debian: _live_status: collect usertagged bugs only once
---
 bin/reproducible_html_live_status.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/reproducible_html_live_status.py b/bin/reproducible_html_live_status.py
index 2fe6b6b..137312b 100755
--- a/bin/reproducible_html_live_status.py
+++ b/bin/reproducible_html_live_status.py
@@ -12,6 +12,8 @@ from reproducible_common import *
 from reproducible_html_indexes import build_leading_text_section
 import glob
 
+bugs = get_bugs()
+
 def convert_into_status_html(status):
     if status != 'None':
         status, icon, spokenstatus = get_status_icon(status)
@@ -38,7 +40,6 @@ def generate_schedule(arch):
     html += '<p><table class="scheduled">\n' + tab
     html += '<tr><th class="center">#</th><th class="center">scheduled at</th><th class="center">suite</th>'
     html += '<th class="center">arch</th><th class="center">source package</th><th class="center">previous build status</th><th class="center">previous build duration</th><th class="center">average build duration</th></tr>\n'
-    bugs = get_bugs()
     for row in rows:
         # 0: date_scheduled, 1: suite, 2: arch, 3: pkg name 4: previous status 5: previous build duration 6. avg build duration
         pkg = row[3]
@@ -111,7 +112,6 @@ def generate_oldies(arch):
         html += '<p><table class="scheduled">\n' + tab
         html += '<tr><th class="center">#</th><th class="center">suite</th><th class="center">arch</th>'
         html += '<th class="center">source package</th><th class="center">status</th><th class="center">build date</th></tr>\n'
-        bugs = get_bugs()
         for row in rows:
             # 0: suite, 1: arch, 2: pkg name 3: status 4: build date
             pkg = row[2]
-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
    
    
More information about the Qa-jenkins-scm
mailing list