summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-01-15 23:11:29 +0100
committerHolger Levsen <holger@layer-acht.org>2015-01-16 11:50:39 +0100
commit5b6a1e7191c2f87213a85cb86239656912086b3a (patch)
tree76181217de0698944fd53a477d928d37def2396c
parent094a2de2fc5fc7d18cb69a65aadfcf20f1f01c7b (diff)
downloadjenkins.debian.net-5b6a1e7191c2f87213a85cb86239656912086b3a.tar.xz
reproducible: _html_notes: fixup previous commit + add a counter
-rwxr-xr-xbin/reproducible_html_notes.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/bin/reproducible_html_notes.py b/bin/reproducible_html_notes.py
index 8e90feb7..c6cdde80 100755
--- a/bin/reproducible_html_notes.py
+++ b/bin/reproducible_html_notes.py
@@ -296,8 +296,14 @@ def index_issues(issues):
+ 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><td>' + issues_count[issue] + '</td></tr>\n'
+ html += tab*3 + '<tr>\n'
+ html += tab*4 + '<td><a href="' + ISSUES_URI + '/' + issue + \
+ '_issue.html">' + issue + '</a></td>\n'
+ html += tab*4 + '<td>\n'
+ html += tab*5 + '<b>' + str(len(issues_count[issue])) + '</b>:\n'
+ html += tab*5 + ', '.join(issues_count[issue]) + '\n'
+ html += tab*4 + '</td>\n'
+ html += tab*3 + '</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'