From 43c50680997f4474a8033b9c7b67d2af38169f8b Mon Sep 17 00:00:00 2001 From: Valerie R Young Date: Fri, 29 Jul 2016 16:26:05 -0400 Subject: 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///diffoscope/.html instead of: RB_PKG////diffoscope.html Signed-off-by: Holger Levsen --- bin/reproducible_html_packages.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bin/reproducible_html_packages.py') 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): -- cgit v1.2.3-54-g00ecf