summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_pkg_sets.py
diff options
context:
space:
mode:
authorValerie R Young <spectranaut@riseup.net>2016-07-16 10:17:26 -0400
committerHolger Levsen <holger@layer-acht.org>2016-07-24 11:46:03 -0400
commita93cd8dbb2de5474ec20b728f09395575d81cac2 (patch)
tree408cb00a5cbc5ff4414e9ece4f8141a4b0fd3d35 /bin/reproducible_html_pkg_sets.py
parentf4ea95be872e2aebcf5ac6b46b5d504d35c078be (diff)
downloadjenkins.debian.net-a93cd8dbb2de5474ec20b728f09395575d81cac2.tar.xz
reproducible debian: add cross arch/suite navigation for many pages
From the left navigation "suite/arch" section, you can now navigation between suite and architecture specific results for the following pages: packages sets, packages with notes, packages without notes, packages tested in 24/48hs, all packages state pages and all packages page. Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_html_pkg_sets.py')
-rwxr-xr-xbin/reproducible_html_pkg_sets.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/bin/reproducible_html_pkg_sets.py b/bin/reproducible_html_pkg_sets.py
index f5dc9fab..7a81ac6c 100755
--- a/bin/reproducible_html_pkg_sets.py
+++ b/bin/reproducible_html_pkg_sets.py
@@ -141,10 +141,14 @@ def create_index_page(suite, arch):
body = create_pkgset_navigation(suite, arch)
destfile = os.path.join(DEBIAN_BASE, suite, arch,
"index_pkg_sets.html")
+ suite_arch_nav_template = DEBIAN_URI + \
+ '/{{suite}}/{{arch}}/index_pkg_sets.html'
log.info("Creating pkgset index page for %s/%s.",
suite, arch)
write_html_page(title=title, body=body, destfile=destfile, suite=suite,
- arch=arch, displayed_page='pkg_set')
+ arch=arch, displayed_page='pkg_set',
+ suite_arch_nav_template=suite_arch_nav_template,
+ ignore_experimental=True)
def gen_other_arch_context(archs, suite, pkgset_name):
@@ -237,10 +241,13 @@ def create_pkgset_page_and_graphs(suite, arch, stats, pkgset_name):
(pkgset_name, suite, arch)
page = "pkg_set_" + pkgset_name + ".html"
destfile = os.path.join(DEBIAN_BASE, suite, arch, page)
+ suite_arch_nav_template = DEBIAN_URI + '/{{suite}}/{{arch}}/' + page
log.info("Creating meta pkgset page for %s in %s/%s.",
pkgset_name, suite, arch)
write_html_page(title=title, body=html_body, destfile=destfile, suite=suite,
- arch=arch, displayed_page='pkg_set')
+ arch=arch, displayed_page='pkg_set',
+ suite_arch_nav_template=suite_arch_nav_template,
+ ignore_experimental=True)
def create_pkgset_graph(png_file, suite, arch, pkgset_name):