From 90325bbb90df47234f779571c5f7d22179662614 Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Fri, 21 Jun 2024 15:28:12 +0100 Subject: [PATCH] Fix mail intactive maintainers tool Also a few tweaks to text --- calm/mail-inactive-maintainers.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/calm/mail-inactive-maintainers.py b/calm/mail-inactive-maintainers.py index bb62fbd..fe01b50 100644 --- a/calm/mail-inactive-maintainers.py +++ b/calm/mail-inactive-maintainers.py @@ -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. @@ -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'] = 'cygwin-no-reply@cygwin.com' hdr['Envelope-From'] = common_constants.ALWAYS_BCC # we want to see bounces hdr['Reply-To'] = 'cygwin-apps@cygwin.com' 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))