diff options
author | Chris Lamb <lamby@debian.org> | 2016-08-11 20:48:02 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-08-12 13:05:11 +0200 |
commit | 22aaf4188e18c54d66eb4a341ea1835df728f680 (patch) | |
tree | f0cd363d6599f9134421975be6e83d7daee211a7 /bin | |
parent | c761e65d88c5f2322f198abd98142e65f4b1d0b5 (diff) | |
download | jenkins.debian.net-22aaf4188e18c54d66eb4a341ea1835df728f680.tar.xz |
reproducible Debian: Ensure that we can always get back to "home" of this package
I forget what it's called in "Don't Make Me Think" but I keep trying to
click this to get back to the "homepage" for this suite/arch/pkg combo.
Signed-off-by: Chris Lamb <lamby@debian.org>
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_html_packages.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py index 765826a5..1c0f6d94 100755 --- a/bin/reproducible_html_packages.py +++ b/bin/reproducible_html_packages.py @@ -362,6 +362,8 @@ def gen_packages_html(packages, no_clean=False): 'history_arch_uri': '{}/{}/{}.html'.format(HISTORY_URI, a, pkg) }) project_links = renderer.render(project_links_template) + desturl = REPRODUCIBLE_URL + RB_PKG_URI + '/' + suite + \ + '/' + arch + '/' + pkg + '.html' navigation_html = renderer.render(package_navigation_template, { 'package': pkg, @@ -376,6 +378,7 @@ def gen_packages_html(packages, no_clean=False): 'project_links_html': project_links, 'reproducible': reproducible, 'dashboard_url': DEBIAN_URL, + 'desturl': desturl, }) body_html = renderer.render(package_page_template, { @@ -383,8 +386,6 @@ def gen_packages_html(packages, no_clean=False): }) destfile = os.path.join(RB_PKG_PATH, suite, arch, pkg + '.html') - desturl = REPRODUCIBLE_URL + RB_PKG_URI + '/' + suite + \ - '/' + arch + '/' + pkg + '.html' title = pkg + ' - reproducible builds result' write_html_page(title=title, body=body_html, destfile=destfile, no_header=True, noendpage=True, |