Skip to content

Commit

Permalink
Fix mail intactive maintainers tool
Browse files Browse the repository at this point in the history
Also a few tweaks to text
  • Loading branch information
jon-turney committed Jun 21, 2024
1 parent 3fbed76 commit 90325bb
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions calm/mail-inactive-maintainers.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,9 @@
MAINTAINER_ACTIVITY_THRESHOLD_YEARS = 10

template = '''
Hi {},
As a part of keeping cygwin secure, your package maintainer account has been
As a part of keeping Cygwin secure, your package maintainer account has been
found to be long inactive, and will soon be disabled, and your packages moved to
'ORPHANED' status.
Expand Down Expand Up @@ -83,12 +82,12 @@ def main(args):
pkg_list = [packages[arch][p].orig_name for p in a.pkgs]

hdr = {}
hdr['To'] = a.email
hdr['To'] = ','.join(a.email)
hdr['From'] = '[email protected]'
hdr['Envelope-From'] = common_constants.ALWAYS_BCC # we want to see bounces
hdr['Reply-To'] = '[email protected]'
hdr['Bcc'] = common_constants.ALWAYS_BCC
hdr['Subject'] = 'cygwin package maintainer account for %s' % a.name
hdr['Subject'] = 'upcoming removal of cygwin package maintainer account for %s' % a.name
hdr['X-Calm-Inactive-Maintainer'] = '1'

msg = template.format(a.name, pkg2html.tsformat(last_activity), '\n'.join(pkg_list))
Expand Down

0 comments on commit 90325bb

Please sign in to comment.