diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-01-15 23:11:29 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-01-16 11:50:39 +0100 |
commit | 5b6a1e7191c2f87213a85cb86239656912086b3a (patch) | |
tree | 76181217de0698944fd53a477d928d37def2396c | |
parent | 094a2de2fc5fc7d18cb69a65aadfcf20f1f01c7b (diff) | |
download | jenkins.debian.net-5b6a1e7191c2f87213a85cb86239656912086b3a.tar.xz |
reproducible: _html_notes: fixup previous commit + add a counter
-rwxr-xr-x | bin/reproducible_html_notes.py | 10 |
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' |