summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_packages.py
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-02-27 00:17:08 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-01 14:37:30 +0100
commitdcc27dc3cd9e6682c1b24a3fa0d8cc4ac5472659 (patch)
tree00bae633b684a6f339a13ed851755a9645a310e1 /bin/reproducible_html_packages.py
parent8ba2a918f02d3538a16ebfc6252c8e8cff997d2d (diff)
downloadjenkins.debian.net-dcc27dc3cd9e6682c1b24a3fa0d8cc4ac5472659.tar.xz
reproducible: move debbindiff files under a suite/arch-named directory, e.g. /dbd/sid/amd64
Diffstat (limited to 'bin/reproducible_html_packages.py')
-rwxr-xr-xbin/reproducible_html_packages.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py
index cbedc10f..346d567d 100755
--- a/bin/reproducible_html_packages.py
+++ b/bin/reproducible_html_packages.py
@@ -84,7 +84,8 @@ def gen_extra_links(package, version, suite, arch):
eversion + '.rbuild.log'
buildinfo = BUILDINFO_PATH + '/' + suite + '/' + arch + '/' + package + \
'_' + eversion + '_amd64.buildinfo'
- dbd = DBD_PATH + '/' + package + '_' + eversion + '.debbindiff.html'
+ dbd = DBD_PATH + '/' + suite + '/' + arch + '/' + package + '_' + \
+ eversion + '.debbindiff.html'
links = ''
default_view = False
@@ -96,7 +97,8 @@ def gen_extra_links(package, version, suite, arch):
else:
log.debug('notes not detected at ' + notes)
if os.access(dbd, os.R_OK):
- url = DBD_URI + '/' + package + '_' + eversion + '.debbindiff.html'
+ url = DBD_URI + '/' + suite + '/' + arch + '/' + package + '_' + \
+ eversion + '.debbindiff.html'
links += '<a href="' + url + '" target="main">debbindiff</a>\n'
if not default_view:
default_view = url