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
commitb823ca59499f7e023188b1eaa44387199278677f (patch)
tree32fa1bc2c534f887706f6791c8d6194882649c36 /bin/contact-maintainers
parent504f45c4f608b9b385c107a061da51f51b84ee3a (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