From 2cc427ef8824dc65b019503dd9dd986c0e213633 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 20 Mar 2015 18:28:17 +0100 Subject: reproducible: complain about unreproducible packages without debbindiff output. Thanks mapreri for the patch --- bin/reproducible_html_all_packages.py | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/bin/reproducible_html_all_packages.py b/bin/reproducible_html_all_packages.py index eafe5d4a..ed1fbd62 100755 --- a/bin/reproducible_html_all_packages.py +++ b/bin/reproducible_html_all_packages.py @@ -14,6 +14,20 @@ from reproducible_common import * from reproducible_html_packages import gen_all_rb_pkg_pages - +# produce all packages html for suite in SUITES: gen_all_rb_pkg_pages(suite=suite) + + +# now find those where debbindiff failed +unreproducible = query_db('SELECT s.name, s.suite, s.architecture, r.version ' + + 'FROM sources AS s JOIN results AS r ON s.id=r.package_id ' + + 'WHERE r.status="unreproducible"') + +for pkg, suite, arch, version in unreproducible: + eversion = strip_epoch(version) + dbd = DBD_PATH + '/' + suite + '/' + arch + '/' + pkg + '_' + \ + eversion + '.debbindiff.html' + if not os.access(dbd, os.R_OK): + log.critical(REPRODUCIBLE_URL + '/' + suite + '/' + arch + '/' + pkg + + ' is unreproducible, yet it produced no debbindiff output.') -- cgit v1.2.3-70-g09d2