diff options
author | Mattia Rizzolo <mattia@debian.org> | 2016-05-29 15:15:41 +0000 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-05-29 17:17:04 +0200 |
commit | 8fc2346fc3b7cb421985e44a8a71361b083a680d (patch) | |
tree | 00c7c287c43394efd7d143b1dbf29041d633311e | |
parent | 4e0555f5806d57a5ec244a5d84d82597d5e17e56 (diff) | |
download | jenkins.debian.net-8fc2346fc3b7cb421985e44a8a71361b083a680d.tar.xz |
reproducible debian: _live_status: collect usertagged bugs only once
-rwxr-xr-x | bin/reproducible_html_live_status.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_html_live_status.py b/bin/reproducible_html_live_status.py index 2fe6b6b9..137312b3 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] |