[misc] 01/02: has-only: identify more issues

Chris West faux-guest at moszumanska.debian.org
Sat May 6 13:39:49 UTC 2017


This is an automated email from the git hooks/post-receive script.

faux-guest pushed a commit to branch master
in repository misc.

commit 5cff2c22f88f90276a9c897a003575b0f03908ac
Author: Chris West (Faux) <git at goeswhere.com>
Date:   Sat May 6 15:37:42 2017 +0200

    has-only: identify more issues
---
 .gitignore  | 2 ++
 has-only.py | 6 ++++++
 2 files changed, 8 insertions(+)

diff --git a/.gitignore b/.gitignore
index 389af7f..f4bbed9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,5 @@ rbuilds
 reproducible.json
 
 prebuilder/config
+logs/
+
diff --git a/has-only.py b/has-only.py
index 8d0a389..d4c41f4 100755
--- a/has-only.py
+++ b/has-only.py
@@ -87,6 +87,12 @@ def process(f):
         if 'readelf --wide --debug-dump=info {}' == file:
             has.add('build_id')
 
+        if file.startswith('readelf ') and '.debug' in before and '.debug' in after:
+            has.add('build_id')
+
+        if 'Makefile' == file and 'SHELL = /bin/' in before and 'SHELL = /bin/' in after:
+            has.add('auto_shell')
+
         if file.endswith('.rdb') or file.endswith('.rdx') or file.endswith('.rds') \
                 or file.endswith('.rdx-content'):
             has.add('rdb')

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git



More information about the Reproducible-commits mailing list