summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_notes.py
diff options
context:
space:
mode:
authorValerie R Young <spectranaut@riseup.net>2016-06-30 14:42:11 -0400
committerHolger Levsen <holger@layer-acht.org>2016-07-17 12:12:05 +0200
commitb3999887aa7387e7db24ebab04d3d15c4ac7d9df (patch)
tree442b4759576bd5e9c9f2753c181c539a36f34b54 /bin/reproducible_html_notes.py
parentf16c248f5153732d36e808df1da2e12c8fd8a6bf (diff)
downloadjenkins.debian.net-b3999887aa7387e7db24ebab04d3d15c4ac7d9df.tar.xz
reproducible debian: add main navigation highlighting to python pages
Added the correct navigation highlighting to the following pages: notes, no notes, tested in the last 24 hours, tested in the last 48 hours, all packages, notifications enabled, breakages, issue pages, scheduled, and maintainers page. Signed-off-by: Mattia Rizzolo <mattia@debian.org> Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_html_notes.py')
-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 be0eb196..535ea9cc 100755
--- a/bin/reproducible_html_notes.py
+++ b/bin/reproducible_html_notes.py
@@ -387,7 +387,7 @@ def iterate_over_issues(issues):
title = 'Notes about issue ' + issue + ' in ' + suite
destfile = ISSUES_PATH + '/' + suite + '/' + issue + '_issue.html'
write_html_page(title=title, body=html, destfile=destfile,
- style_note=True)
+ style_note=True, displayed_page='issues')
desturl = REPRODUCIBLE_URL + ISSUES_URI + '/' + suite + '/' + issue + '_issue.html'
log.debug("Issue created: " + desturl)
@@ -450,7 +450,8 @@ def index_issues(issues, scorefuncs):
title = 'Known issues related to reproducible builds'
destfile = DEBIAN_BASE + '/index_issues.html'
desturl = DEBIAN_URL + '/index_issues.html'
- write_html_page(title=title, body=html, destfile=destfile)
+ write_html_page(title=title, body=html, destfile=destfile,
+ displayed_page='issues')
log.info('Issues index now available at ' + desturl)