diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-06-17 00:00:40 +0000 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-07-05 14:01:20 +0200 |
commit | a0a54ab8771f0e6878c86d0dbf2f344ec965aa5a (patch) | |
tree | a9b0d9ad79b765ad94810d42699911c767026d37 /bin/reproducible_html_packages.py | |
parent | 201d61faf1e8669e7e62179ad1c2bb918523de8b (diff) | |
download | jenkins.debian.net-a0a54ab8771f0e6878c86d0dbf2f344ec965aa5a.tar.xz |
reproducible: also save the --text output of debbindiff
Diffstat (limited to 'bin/reproducible_html_packages.py')
-rwxr-xr-x | bin/reproducible_html_packages.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py index 2279fc5e..ac85c767 100755 --- a/bin/reproducible_html_packages.py +++ b/bin/reproducible_html_packages.py @@ -130,6 +130,8 @@ def gen_extra_links(package, version, suite, arch, status): '_' + eversion + '_amd64.buildinfo' dbd = DBD_PATH + '/' + suite + '/' + arch + '/' + package + '_' + \ eversion + '.debbindiff.html' + dbdtxt = DBDTXT_PATH + '/' + suite + '/' + arch + '/' + package + '_' + \ + eversion + '.debbindiff.txt.gz' links = '' default_view = '' @@ -150,6 +152,12 @@ def gen_extra_links(package, version, suite, arch, status): if status == 'unreproducible': log.critical(REPRODUCIBLE_URL + '/' + suite + '/' + arch + '/' + package + ' is unreproducible, but without debbindiff output.') + if os.access(dbdtxt, os.R_OK): + url = DBDTXT_URI + '/' + suite + '/' + arch + '/' + package + '_' + \ + eversion + '.debbindiff.txt' + links += '<a href="' + url + '" target="main">(txt)</a>\n' + if not default_view: + default_view = url if pkg_has_buildinfo(package, version, suite): url = BUILDINFO_URI + '/' + suite + '/' + arch + '/' + package + \ '_' + eversion + '_amd64.buildinfo' |