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 4379c9e6 Fix up some incorrect mailing list names
4379c9e6 is described below
commit 4379c9e69bf44627ed231e4eaa64e22e6a124281
Author: Sebb <[email protected]>
AuthorDate: Wed May 29 15:58:56 2024 +0100
Fix up some incorrect mailing list names
---
lib/whimsy/asf/committee.rb | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/lib/whimsy/asf/committee.rb b/lib/whimsy/asf/committee.rb
index d9f53bfb..f5c0a8d8 100644
--- a/lib/whimsy/asf/committee.rb
+++ b/lib/whimsy/asf/committee.rb
@@ -110,6 +110,8 @@ module ASF
# list names (e.g. dev, private) and <tt>.apache.org</tt> is to be
# appended. In some cases, the name contains an <tt>@</tt> sign and
# is the full name for the mail list.
+ # TODO: this is awkward to use as some non-PMCs have their own domain and
some don't
+ # Should probably be replaced by mail_private and mail_dev
def mail_list
case name.downcase
when 'comdev'
@@ -121,8 +123,8 @@ module ASF
when 'brand'
'[email protected]'
- when 'infrastructure'
- 'infra'
+ when 'infrastructure', 'infra'
+ '[email protected]'
when 'dataprivacy'
'[email protected]'
when 'legalaffairs' # Not sure what uses this
@@ -132,10 +134,9 @@ module ASF
when 'fundraising'
'[email protected]'
when 'marketingandpublicity'
- '[email protected]'
- # now using [email protected]
- # when 'tac'
- # '[email protected]'
+ '[email protected]'
+ when 'tac', 'diversity'
+ "private@#{name.downcase}.apache.org"
when 'w3crelations'
'[email protected]'
when 'concom'