summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-01-15 20:45:42 +0100
committerHolger Levsen <holger@layer-acht.org>2015-01-15 20:45:42 +0100
commit0f0545fe5345cf80febc719aec68f9560da155d3 (patch)
tree8638319dd04373df7a6498ecbd255766b28f0ad8 /bin
parente7fd62b6ee3ca39647a2cbf582e4fe64e0ad0229 (diff)
downloadjenkins.debian.net-0f0545fe5345cf80febc719aec68f9560da155d3.tar.xz
reproducible: add column with number of affected packages
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_html_notes.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/reproducible_html_notes.py b/bin/reproducible_html_notes.py
index e4dd52e9..6dc6a92b 100755
--- a/bin/reproducible_html_notes.py
+++ b/bin/reproducible_html_notes.py
@@ -293,11 +293,12 @@ def iterate_over_issues(issues):
def index_issues(issues):
templ = "\n<table class=\"body\">\n" + tab + "<tr>\n" + tab*2 + "<th>\n" \
- + tab*3 + "Identified issues\n" + tab*2 + "</th>\n" + tab + "</tr>\n"
+ + tab*3 + "Identified issues\n" + tab*2 + "</th>\n" + tab*2 + "<th>\n" \
+ + tab*3 + "Affected packages\n" + tab*2 + "</th>\n" + tab + "</tr>\n"
html = (tab*2).join(templ.splitlines(True))
for issue in sorted(issues):
html += tab*3 + '<tr><td><a href="' + ISSUES_URI + '/' + issue + \
- '_issue.html">' + issue + '</a></td></tr>\n'
+ '_issue.html">' + issue + '</a></td><td>' + issues_count[issue] + '</td></tr>\n'
html += tab*2 + '</table>\n'
html += tab*2 + '<p>Notes are stored in <a href="https://anonscm.debian.org/cgit/reproducible/notes.git">notes.git</a>.</p>'
title = 'Overview of known issues related to reproducible builds'