From a0a54ab8771f0e6878c86d0dbf2f344ec965aa5a Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Wed, 17 Jun 2015 00:00:40 +0000 Subject: reproducible: also save the --text output of debbindiff --- bin/reproducible_html_packages.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'bin/reproducible_html_packages.py') 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 += '(txt)\n' + if not default_view: + default_view = url if pkg_has_buildinfo(package, version, suite): url = BUILDINFO_URI + '/' + suite + '/' + arch + '/' + package + \ '_' + eversion + '_amd64.buildinfo' -- cgit v1.2.3-70-g09d2