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_breakages.py | |
parent | 201d61faf1e8669e7e62179ad1c2bb918523de8b (diff) | |
download | jenkins.debian.net-a0a54ab8771f0e6878c86d0dbf2f344ec965aa5a.tar.xz |
reproducible: also save the --text output of debbindiff
Diffstat (limited to 'bin/reproducible_breakages.py')
-rwxr-xr-x | bin/reproducible_breakages.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/bin/reproducible_breakages.py b/bin/reproducible_breakages.py index 208140ff..88c4bca2 100755 --- a/bin/reproducible_breakages.py +++ b/bin/reproducible_breakages.py @@ -158,7 +158,12 @@ def alien_log(directory=None): return bad_files -def alien_dbd(): +def alien_dbd(directory=None): + if directory is None: + bad_files = [] + for path in DBD_PATH, DBDTXT_PATH: + bad_files.extend(alien_log(path)) + return bad_files log.info('running alien_dbd check...') query = '''SELECT r.status FROM sources AS s JOIN results AS r on r.package_id=s.id @@ -166,7 +171,7 @@ def alien_dbd(): AND s.architecture="{arch}" ORDER BY s.name ASC, s.suite DESC''' bad_files = [] - for root, dirs, files in os.walk(DBD_PATH): + for root, dirs, files in os.walk(directory): if not files: continue suite, arch = root.rsplit('/', 2)[1:] |