From 4379c9e69bf44627ed231e4eaa64e22e6a124281 Mon Sep 17 00:00:00 2001 From: Sebb Date: Wed, 29 May 2024 15:58:56 +0100 Subject: [PATCH] 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 d9f53bfb8b..f5c0a8d849 100644 --- a/lib/whimsy/asf/committee.rb +++ b/lib/whimsy/asf/committee.rb @@ -110,6 +110,8 @@ def self.to_canonical(name) # list names (e.g. dev, private) and .apache.org is to be # appended. In some cases, the name contains an @ 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 @@ def mail_list when 'brand' 'trademarks@apache.org' - when 'infrastructure' - 'infra' + when 'infrastructure', 'infra' + 'private@infra.apache.org' when 'dataprivacy' 'privacy@apache.org' when 'legalaffairs' # Not sure what uses this @@ -132,10 +134,9 @@ def mail_list when 'fundraising' 'fundraising-private@apache.org' when 'marketingandpublicity' - 'press@apache.org' - # now using private@tac.apache.org - # when 'tac' - # 'travel-assistance@apache.org' + 'markpub@apache.org' + when 'tac', 'diversity' + "private@#{name.downcase}.apache.org" when 'w3crelations' 'w3c@apache.org' when 'concom'