[Reproducible-commits] [misc] 01/01: clean-notes: don't nag about notes about untested packages when those notes have particular issues (blacklist or jenkins troubles)

Mattia Rizzolo mattia at debian.org
Tue Jan 5 23:55:39 UTC 2016


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

mattia pushed a commit to branch master
in repository misc.

commit 764e0051d52a8fd54aaaf17a9be10fdf81eab1f2
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Tue Jan 5 23:53:10 2016 +0000

    clean-notes: don't nag about notes about untested packages when those notes have particular issues (blacklist or jenkins troubles)
---
 clean-notes | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/clean-notes b/clean-notes
index d21fa09..d2f792f 100755
--- a/clean-notes
+++ b/clean-notes
@@ -144,11 +144,19 @@ if __name__ == '__main__':
 
 def check_notes_validity(notes, testedpkgs):
     for pkg in sorted(notes):
+        note = notes[pkg]
         if pkg not in testedpkgs:
-            log.critical(
-                "the package %s was never tested. Maybe it's misspelled?",
-                pkg,
-            )
+            if 'issues' in note and (
+                'blacklisted_on_jenkins' in note['issues'] or
+                'ftbfs_in_jenkins_setup' in note['issues'] or
+                'ftbfs_build_depends_not_available_on_amd64' in note['issues']
+                ):
+                    pass
+            else:
+                log.critical(
+                    "the package %s was never tested. Maybe it's misspelled?",
+                    pkg,
+                )
 
 
 def check_bugs(notes):

-- 
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