[Git][reproducible-builds/reproducible-misc][master] clean-notes: allow for more tags when a package is blacklisted

Mattia Rizzolo (@mattia) gitlab at salsa.debian.org
Wed Nov 22 15:52:45 UTC 2023



Mattia Rizzolo pushed to branch master at Reproducible Builds / reproducible-misc


Commits:
ee183cfd by Mattia Rizzolo at 2023-11-22T16:52:16+01:00
clean-notes: allow for more tags when a package is blacklisted

Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


1 changed file:

- clean-notes


Changes:

=====================================
clean-notes
=====================================
@@ -181,7 +181,14 @@ def check_notes_validity(notes, testedpkgs):
                 errors = True
             continue
         if testedpkgs[pkg]["status"] == "blacklisted":
-            if not note.get("comments", "") and "ftbfs_in_jenkins_setup" not in note.get("issues", []):
+            # blacklisted packages really need to have any of these tags
+            # applied (and possibly also a comment describing so)
+            valid_tags = {
+                "ftbfs_in_jenkins_setup",
+                "blacklisted_on_jenkins",
+                "blacklisted_on_jenkins_armhf_only",
+            }
+            if not valid_tags.intersection(note.get("issues", [])):
                 log.critical(
                     "the package %s is blacklisted, but no note was found", pkg
                 )



View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-misc/-/commit/ee183cfd2782e9998753534cb269c074f215fbbb

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-misc/-/commit/ee183cfd2782e9998753534cb269c074f215fbbb
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20231122/28da74f6/attachment.htm>


More information about the rb-commits mailing list