[Secure-testing-commits] r44480 - bin

Balint Reczey rbalint at moszumanska.debian.org
Sat Sep 10 11:12:56 UTC 2016


Author: rbalint
Date: 2016-09-10 11:12:55 +0000 (Sat, 10 Sep 2016)
New Revision: 44480

Modified:
   bin/contact-maintainers
Log:
Check if we should contact maintainers in contact-maintainers

Modified: bin/contact-maintainers
===================================================================
--- bin/contact-maintainers	2016-09-10 10:39:03 UTC (rev 44479)
+++ bin/contact-maintainers	2016-09-10 11:12:55 UTC (rev 44480)
@@ -92,6 +92,17 @@
     print("If you still want to run this script, run it with --force.")
     sys.exit(1)
 
+# Check if we should contact maintainers
+dontcall = "data/packages/lts-do-not-call"
+if args.lts and not args.force:
+    with open(dontcall) as f:
+        for line in f:
+            if line[0] != '#' and line.split()[0] == args.package:
+                print "Maintainer(s) may not be contacted for LTS issues."
+                print("Please have a look at {}".format(line.split()[1]))
+                print("If you still want to run this script, run it with --force.")
+                sys.exit(1)
+
 # Generate the context
 
 # XXX: Once that 761859 is fixed, improve the logic here to:




More information about the Secure-testing-commits mailing list