Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/cygwin-apps/calm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2023-09-03 18:09:56 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2023-09-04 15:26:33 +0300
commit0bebae98d999bdbcec5588834f39ced25e141925 (patch)
tree79cf43b5bc027f7cde8e2d1601bf4ee9dcd429ea
parentf5a68e0073ccfa5e7b339d77d77376b134961f99 (diff)
Tweak From: in an announce email
-rwxr-xr-xcalm/calm.py5
1 files changed, 4 insertions, 1 deletions
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 <cygwin-no-reply@cygwin.com>'
+ hdr['From'] = maintainer.name + ' <cygwin-no-reply@cygwin.com>'
hdr['To'] = 'cygwin-announce@cygwin.com'
hdr['Reply-To'] = 'cygwin@cygwin.com'
hdr['Bcc'] = ','.join(maintainer.email)