You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2016/08/31 12:37:07 UTC

[whimsy] branch master updated: not all mailing lists match pmc name

This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  969851d   not all mailing lists match pmc name
969851d is described below

commit 969851db576f29db555478893af46be61fd9d919
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Wed Aug 31 08:36:50 2016 -0400

    not all mailing lists match pmc name
---
 www/officers/acreq.cgi | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/www/officers/acreq.cgi b/www/officers/acreq.cgi
index cda7843..dcd2860 100755
--- a/www/officers/acreq.cgi
+++ b/www/officers/acreq.cgi
@@ -269,12 +269,13 @@ _html do
         @pmc =~ /([\w.-]+)/
         requestor = $1
         requestor.untaint
-        cc_list = ["private@#{@pmc}.apache.org".untaint]
+        pmc_list = ASF::Committee.find(@pmc).mail_list
+        cc_list = ["private@#{pmc_list}.apache.org".untaint]
         if requestor == 'incubator' and not @podling.empty?
           if File.read("#{APMAIL_BIN}/.archives").include? "incubator-#{@podling}-private"
-            cc_list << "#{@podling}-private@#{@pmc}.apache.org".untaint
+            cc_list << "#{@podling}-private@#{pmc_list}.apache.org".untaint
           else
-            cc_list << "private@#{@podling}.#{@pmc}.apache.org".untaint
+            cc_list << "private@#{@podling}.#{pmc_list}.apache.org".untaint
           end
           requestor = "#{@podling}@incubator".untaint
         end

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].