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

commit e983659f6bd05d0597280b150ca61fc44419ae62
Author: Sebb <[email protected]>
AuthorDate: Thu Aug 29 22:58:03 2024 +0100

    Start to centralise private mail list derivation
---
 lib/whimsy/asf/committee.rb | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/lib/whimsy/asf/committee.rb b/lib/whimsy/asf/committee.rb
index f54fbc38..a5026c04 100644
--- a/lib/whimsy/asf/committee.rb
+++ b/lib/whimsy/asf/committee.rb
@@ -151,6 +151,13 @@ module ASF
       end
     end
 
+    # Return the committee private list
+    def private_mail_list
+      ml = mail_list
+      return mail_list if mail_list.include? '@'
+      "private@#{mail_list}.apache.org"
+    end
+
     # load committee info from <tt>committee-info.txt</tt>.  Will not reparse
     # if the file has already been parsed and the underlying file has not
     # changed.

Reply via email to