[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible debian: switch directory structure for diffoscope package pages

Holger Levsen holger at layer-acht.org
Fri Jul 29 20:31:27 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 43c50680997f4474a8033b9c7b67d2af38169f8b
Author: Valerie R Young <spectranaut at riseup.net>
Date:   Fri Jul 29 16:26:05 2016 -0400

    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 at layer-acht.org>
---
 bin/reproducible_html_packages.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py
index bea3bc7..38e11e0 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):

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list