summaryrefslogtreecommitdiffstats
path: root/bin/contact-maintainers
diff options
context:
space:
mode:
authorBalint Reczey <rbalint@debian.org>2016-09-10 11:12:55 +0000
committerBalint Reczey <rbalint@debian.org>2016-09-10 11:12:55 +0000
commit702f35e41bb44420cfecae13279a633d2b4c1ac3 (patch)
treef64b0e7234e8d2d38ec5a950015a46e34de453c8 /bin/contact-maintainers
parentc874cb75c8c3a23dd4ca4fcd082bb954cb38aebc (diff)
Check if we should contact maintainers in contact-maintainers
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@44480 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'bin/contact-maintainers')
-rwxr-xr-xbin/contact-maintainers11
1 files changed, 11 insertions, 0 deletions
diff --git a/bin/contact-maintainers b/bin/contact-maintainers
index 560e727139..d543c07d0b 100755
--- a/bin/contact-maintainers
+++ b/bin/contact-maintainers
@@ -92,6 +92,17 @@ if os.path.exists(instructions) and not args.force:
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:

© 2014-2024 Faster IT GmbH | imprint | privacy policy