From 187f7774249540e29b910478737045bedc41d11f Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 30 Aug 2019 11:29:43 +0200 Subject: bin/contact-maintainers: Provide mail template for LTS updates of minor issues. As the LTS team also sometimes works on packages with only 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 issues only. --- bin/contact-maintainers | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bin') 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) -- cgit v1.2.3