[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: fixup f8aeea1c5, fix sql and also explain previous status and build duration in schedule table header

Holger Levsen holger at moszumanska.debian.org
Fri Sep 18 11:29:57 UTC 2015


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 7042005bbe8e946eaeb0ad976ca1ec35126569f9
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Sep 18 13:29:49 2015 +0200

    reproducible: fixup f8aeea1c5, fix sql and also explain previous status and build duration in schedule table header
---
 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 fb5ed69..21d365a 100755
--- a/bin/reproducible_html_live_status.py
+++ b/bin/reproducible_html_live_status.py
@@ -31,7 +31,7 @@ def generate_schedule(arch):
     """ the schedule pages are very different than others index pages """
     log.info('Building the schedule index page for ' + arch + '...')
     title = 'Packages currently scheduled on ' + arch + ' for testing for build reproducibility'
-    query = 'SELECT sch.date_scheduled, s.suite, s.architecture, s.name ' + \
+    query = 'SELECT sch.date_scheduled, s.suite, s.architecture, s.name, ' + \
             'r.status, r.build_duration' + \
             'FROM schedule AS sch JOIN sources AS s ON sch.package_id=s.id LEFT JOIN results AS r ON s.id=r.package_id ' + \
             'WHERE sch.date_build_started = "" AND s.architecture="{arch}" ORDER BY sch.date_scheduled'
@@ -42,7 +42,7 @@ def generate_schedule(arch):
     html += generate_live_status_table(arch)
     html += '<p><table class="scheduled">\n' + tab
     html += '<tr><th>#</th><th>scheduled at</th><th>suite</th>'
-    html += '<th>arch</th><th>source package</th></tr>\n'
+    html += '<th>arch</th><th>source package</th><th>previous build status</th><th>previous 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

-- 
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