summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-08-30 11:29:43 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-08-30 12:40:46 +0200
commit187f7774249540e29b910478737045bedc41d11f (patch)
treeafba7cede96a3401d36c21472706e1f93d705d49 /bin
parent72b94db8f39f590f0906ee438532cecef13b7712 (diff)
bin/contact-maintainers: Provide mail template for LTS updates of minor issues.
As the LTS team also sometimes works on packages with only <no-dsa> issues open, it might be good to also inform package maintainers about this. This adds an ltsp-update-planned-minor.txt mail template plus a command line option (--minor) that LTS front desk people can use if they choose to add a package to dla-needed.txt with <no-dsa> issues only.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/contact-maintainers5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/contact-maintainers b/bin/contact-maintainers
index feb9148024..6aa0cadf6c 100755
--- a/bin/contact-maintainers
+++ b/bin/contact-maintainers
@@ -73,6 +73,8 @@ parser.add_argument('--lts', action='store_true',
help='Act as a member of the LTS team')
parser.add_argument('--no-dsa', dest='no_dsa', action='store_true',
help='Say that issues are low severity (no need for DSA/DLA)')
+parser.add_argument('--minor', dest='minor_issues', action='store_true',
+ help='Say that issues are low severity and someone will work on them (LTS team only)')
parser.add_argument('--mailer', action='store', default='mutt -H {}',
help='Command executed. Must contain {} to be replaced '
'by the filename of the draft contact mail')
@@ -83,7 +85,8 @@ args = parser.parse_args()
cc = 'debian-lts@lists.debian.org' if args.lts else 'team@security.debian.org'
team = 'lts' if args.lts else 'sec'
model = 'no-dsa' if args.no_dsa else 'update-planned'
-template_file = 'templates/{}-{}.txt'.format(team, model)
+minor = '-minor' if args.minor_issues and args.lts else ''
+template_file = 'templates/{}-{}{}.txt'.format(team, model, minor)
# Basic check
instructions = "packages/{}.txt".format(args.package)

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