From 859c9a54a3c9a0493f0812426c16aa7fb6fba764 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jul 30 2018 12:47:19 +0000 Subject: add script which lists packages which should not be touched So basically exclude from any automated fixes. Signed-off-by: Igor Gnatenko --- diff --git a/find-do-not-touch-my-package b/find-do-not-touch-my-package new file mode 100755 index 0000000..48c82fe --- /dev/null +++ b/find-do-not-touch-my-package @@ -0,0 +1,16 @@ +#!/usr/bin/python3 + +import requests + +BLACKLIST = { + "msuchy", +} + +def main(): + owners = requests.get("https://src.fedoraproject.org/extras/pagure_owner_alias.json").json() + for pkg, maintainers in owners["rpms"].items(): + if set(maintainers) & BLACKLIST: + print(pkg) + +if __name__ == "__main__": + main()