summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_packages.py
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-02-27 00:12:18 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-01 14:37:30 +0100
commit8ba2a918f02d3538a16ebfc6252c8e8cff997d2d (patch)
tree792ac2f58039875c1f2974643bd60d05b52f9357 /bin/reproducible_html_packages.py
parentf10e23691f8b9848f0e938ad97fc2addb093ca61 (diff)
downloadjenkins.debian.net-8ba2a918f02d3538a16ebfc6252c8e8cff997d2d.tar.xz
reproducible: move buildinfo files under a suite/arch-named directory, e.g. /buildinfo/sid/amd64
Diffstat (limited to 'bin/reproducible_html_packages.py')
-rwxr-xr-xbin/reproducible_html_packages.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py
index cb8cecf7..cbedc10f 100755
--- a/bin/reproducible_html_packages.py
+++ b/bin/reproducible_html_packages.py
@@ -82,7 +82,8 @@ def gen_extra_links(package, version, suite, arch):
notes = NOTES_PATH + '/' + package + '_note.html'
rbuild = RBUILD_PATH + '/' + suite + '/' + arch + '/' + package + '_' + \
eversion + '.rbuild.log'
- buildinfo = BUILDINFO_PATH + '/' + package + '_' + eversion + '_amd64.buildinfo'
+ buildinfo = BUILDINFO_PATH + '/' + suite + '/' + arch + '/' + package + \
+ '_' + eversion + '_amd64.buildinfo'
dbd = DBD_PATH + '/' + package + '_' + eversion + '.debbindiff.html'
links = ''
@@ -101,8 +102,9 @@ def gen_extra_links(package, version, suite, arch):
default_view = url
else:
log.debug('debbindiff not detetected at ' + dbd)
- if pkg_has_buildinfo(package, version):
- url = BUILDINFO_URI + '/' + package + '_' + eversion + '_amd64.buildinfo'
+ if pkg_has_buildinfo(package, version, suite):
+ url = BUILDINFO_URI + '/' + suite + '/' + arch + '/' + package + \
+ '_' + eversion + '_amd64.buildinfo'
links += '<a href="' + url + '" target="main">buildinfo</a>\n'
if not default_view:
default_view = url