summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_packages.py
diff options
context:
space:
mode:
authorValerie R Young <spectranaut@riseup.net>2016-07-29 16:26:05 -0400
committerHolger Levsen <holger@layer-acht.org>2016-07-29 16:31:15 -0400
commit43c50680997f4474a8033b9c7b67d2af38169f8b (patch)
tree0df5acb26779b4418ce4c5f3528bcc7c9b4f5e55 /bin/reproducible_html_packages.py
parent8cdd0f8eecb4086cac324d8cf44ccac3d4b39190 (diff)
downloadjenkins.debian.net-43c50680997f4474a8033b9c7b67d2af38169f8b.tar.xz
reproducible debian: switch directory structure for diffoscope package pages
Package pages that show the diffoscope result by default in the main iframe should now be found at: RB_PKG/<suite>/<arch>/diffoscope/<package>.html instead of: RB_PKG/<suite>/<arch>/<package>/diffoscope.html Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_html_packages.py')
-rwxr-xr-xbin/reproducible_html_packages.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py
index bea3bc78..38e11e09 100755
--- a/bin/reproducible_html_packages.py
+++ b/bin/reproducible_html_packages.py
@@ -73,14 +73,14 @@ def get_dbd_links(package, eversion, suite, arch):
+ '.diffoscope.html')
dbdtxt_file = os.path.join(DBDTXT_PATH, suite, arch, package + '_' + eversion
+ '.diffoscope.txt.gz')
- dbd_page_file = os.path.join(RB_PKG_PATH, suite, arch, package,
- 'diffoscope.html')
+ dbd_page_file = os.path.join(RB_PKG_PATH, suite, arch, 'diffoscope', package +
+ '.html')
dbd_uri = DBD_URI + '/' + suite + '/' + arch + '/' + package + '_' + \
eversion + '.diffoscope.html'
dbdtxt_uri = DBDTXT_URI + '/' + suite + '/' + arch + '/' + package + '_' + \
eversion + '.diffoscope.txt'
- dbd_page_uri = RB_PKG_URI + '/' + suite + '/' + arch + '/' + package + \
- '/diffoscope.html'
+ dbd_page_uri = RB_PKG_URI + '/' + suite + '/' + arch + '/diffoscope/' + \
+ package + '.html'
links = {}
# only return dbd_uri and dbdtext_uri if they exist
if os.access(dbd_file, os.R_OK):