[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible debian: link rbuild and dbdtxt with the trailing .gz, as they are

Mattia Rizzolo gitlab at salsa.debian.org
Tue May 29 14:25:50 BST 2018


Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net


Commits:
0c8b0515 by Mattia Rizzolo at 2018-05-29T15:25:29+02:00
reproducible debian: link rbuild and dbdtxt with the trailing .gz, as they are

let's be clear about what we are serving, also to humans.

Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


1 changed file:

- bin/reproducible_html_packages.py


Changes:

=====================================
bin/reproducible_html_packages.py
=====================================
--- a/bin/reproducible_html_packages.py
+++ b/bin/reproducible_html_packages.py
@@ -79,7 +79,7 @@ def get_dbd_links(package, eversion, suite, arch):
     dbd_uri = DBD_URI + '/' + suite + '/' + arch + '/' +  package + '_' + \
               eversion + '.diffoscope.html'
     dbdtxt_uri = DBDTXT_URI + '/' + suite + '/' + arch + '/' +  package + '_' + \
-                eversion + '.diffoscope.txt'
+                eversion + '.diffoscope.txt.gz'
     dbd_page_uri = RB_PKG_URI + '/' + suite + '/' + arch + \
                    '/diffoscope-results/' + package + '.html'
     links = {}
@@ -161,7 +161,7 @@ def gen_suitearch_details(package, version, suite, arch, status, spokenstatus,
     rbuild = pkg_has_rbuild(package, version, suite, arch)
     if rbuild:  # being a tuple (rbuild path, size), empty if non existant
         url = RBUILD_URI + '/' + suite + '/' + arch + '/' + package + '_' + \
-              eversion + '.rbuild.log'  # apache ignores the trailing .gz
+              eversion + '.rbuild.log.gz'
         context['rbuild_uri'] = url
         context['rbuild_size'] = sizeof_fmt(rbuild[1])
         default_view = default_view if default_view else url



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/0c8b05150d91a790e3b6d7cee0e83b9519185fa2

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/0c8b05150d91a790e3b6d7cee0e83b9519185fa2
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20180529/56171c53/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list