Skip to content

Commit

Permalink
Fix up some incorrect mailing list names
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbASF committed May 29, 2024
1 parent c4051de commit 4379c9e
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions lib/whimsy/asf/committee.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ def self.to_canonical(name)
# 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'
Expand All @@ -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
Expand All @@ -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'
Expand Down

0 comments on commit 4379c9e

Please sign in to comment.