diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2019-08-30 11:29:43 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2019-08-30 12:40:46 +0200 |
commit | eaa3a0269f368ce62eb89e4de42c1991e07d0c2c (patch) | |
tree | 92e9861350e730940ec3179a79cb9133860b97be /bin/contact-maintainers | |
parent | 82ae7520879aea97cdb57cf048403bc314a8885b (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/contact-maintainers')
-rwxr-xr-x | bin/contact-maintainers | 5 |
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) |