This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 8df45ecb Make NOTICE live (#233)
8df45ecb is described below
commit 8df45ecbcb5c04e013f145e2bf068cd7177de87e
Author: Sebb <[email protected]>
AuthorDate: Fri Aug 30 14:56:44 2024 +0100
Make NOTICE live (#233)
---
tools/pubsub-ci-email.rb | 16 +++-------------
1 file changed, 3 insertions(+), 13 deletions(-)
diff --git a/tools/pubsub-ci-email.rb b/tools/pubsub-ci-email.rb
index 2437ef0a..1bf42508 100755
--- a/tools/pubsub-ci-email.rb
+++ b/tools/pubsub-ci-email.rb
@@ -191,17 +191,8 @@ def do_diff(initialhash, currenthash, triggerrev)
joindate = args[:date]
mail_list = cttee.private_mail_list
change_text = TYPES[type] || type # 'added to|dropped from'
- # The email currently only goes to notifications@whimsical.
- # To enable actual reporting, change the following:
- # - remote [TEST] from the subject
- # - remove the first 3 lines of the email body
- # - uncomment the 'to "[email protected],#{mail_list}"' line below
- subject = "[TEST][NOTICE] #{username} (#{userid}) #{change_text}
#{ctteename} in #{currentrev}"
+ subject = "[NOTICE] #{username} (#{userid}) #{change_text} #{ctteename} in
#{currentrev}"
body = <<~EOD
- This is a TEST email
- ====================
- To: [email protected],#{mail_list}
-
On #{currentdate} #{username} (#{userid}) was #{change_text} the
#{ctteename} PMC by #{currentcommittername} (#{currentcommitter}).
@@ -219,9 +210,8 @@ def do_diff(initialhash, currenthash, triggerrev)
EOD
mail = Mail.new do
from "#{currentcommittername} <#{currentcommitter}@apache.org>"
- sender '[email protected]'
- # Uncomment the following line when going live
- # to "[email protected],#{mail_list}"
+ sender "[email protected]"
+ to "[email protected],#{mail_list}"
bcc '[email protected]' # keep track of mails
subject subject
body body