summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_notes.py
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-02-27 00:32:48 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-01 14:37:30 +0100
commitb85d08d121db51367cc79b551d8d939ceedcdf6b (patch)
treed818c986e3409499b69839128e3dc9ec1fea94db /bin/reproducible_html_notes.py
parentdcc27dc3cd9e6682c1b24a3fa0d8cc4ac5472659 (diff)
downloadjenkins.debian.net-b85d08d121db51367cc79b551d8d939ceedcdf6b.tar.xz
reproducible: move packages files under a suite-named directory, e.g. /rb-pkg/sid/
Diffstat (limited to 'bin/reproducible_html_notes.py')
-rwxr-xr-xbin/reproducible_html_notes.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/bin/reproducible_html_notes.py b/bin/reproducible_html_notes.py
index 56acd3ff..456fc4f9 100755
--- a/bin/reproducible_html_notes.py
+++ b/bin/reproducible_html_notes.py
@@ -242,7 +242,8 @@ def gen_html_issue(issue):
try:
affected += tab*4 + '<b>' + str(len(issues_count[issue])) + '</b>:\n'
for pkg in sorted(issues_count[issue]):
- affected += tab*7 + '<a href="%s/%s.html" class="noted">%s</a>\n' \
+ # FIXME we currently consider notes only for sid
+ affected += tab*7 + '<a href="%s/sid/%s.html" class="noted">%s</a>\n' \
% (RB_PKG_URI, pkg, pkg)
except KeyError: # The note is not listed in any package, that is
affected = '<i>None</i>'
@@ -373,7 +374,8 @@ def index_notes(notes, bugs):
html += tab + str(len(pkgs)) + ' ' + status + ' packages:\n'
html += tab + '<code>\n'
for pkg in pkgs:
- url = RB_PKG_URI + '/' + pkg + '.html'
+ # FIXME we currently consider notes only for sid
+ url = RB_PKG_URI + '/sid/' + pkg + '.html'
html += tab*2 + '<a href="' + url + '" class="noted">' + pkg
html += '</a>' + get_trailing_icon(pkg, bugs) + '\n'
html += tab + '</code>\n'
@@ -410,7 +412,8 @@ def index_no_notes(notes, bugs):
html += tab + str(len(pkgs)) + ' ' + status + ' packages:\n'
html += tab + '<code>\n'
for pkg in pkgs:
- url = RB_PKG_URI + '/' + pkg + '.html'
+ # FIXME we currently consider notes only for sid
+ url = RB_PKG_URI + '/sid/' + pkg + '.html'
html += tab*2 + '<a href="' + url + '" class="package">' + pkg
html += '</a>' + get_trailing_icon(pkg, bugs) + '\n'
html += tab + '</code>\n'