[calm - Cygwin server-side packaging maintenance script] branch master, updated. 20230209-40-g0bebae9

Jon Turney via Cygwin-apps-cvs <[email protected]> Mon, 4 Sep 2023 12:43:33 +0000 (GMT)
Newsgroups gmane.os.cygwin.cvs.apps
Message-ID <[email protected]>


https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=0bebae98d999bdbcec5588834f39ced25e141925

commit 0bebae98d999bdbcec5588834f39ced25e141925
Author: Jon Turney <[email protected]>
Date:   Sun Sep 3 16:09:56 2023 +0100

    Tweak From: in an announce email


Diff:
---
 calm/calm.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/calm/calm.py b/calm/calm.py
index 45fa09b..22b0a7a 100755
--- a/calm/calm.py
+++ b/calm/calm.py
@@ -283,9 +283,12 @@ def _announce_upload(args, scan_result, maintainer, announce):
     # TODO: maybe other mechanisms for getting package ChangeLog?
     # NEWS inside upstream source tarball?
 
+    # TODO: store initial msgid for a package, so we can do in-reply-to and thus
+    # allow threading of announces for that package
+
     # build the email
     hdr = {}
-    hdr['From'] = maintainer.name + ' via Cygwin package uploader <[email protected]>'
+    hdr['From'] = maintainer.name + ' <[email protected]>'
     hdr['To'] = '[email protected]'
     hdr['Reply-To'] = '[email protected]'
     hdr['Bcc'] = ','.join(maintainer.email)