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/04 13:00:08 UTC

[whimsy] 10/11: only active podlings

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

commit a69666086702f311d53e2041974b48dc5dffac74
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Thu Aug 4 08:50:42 2016 -0400

    only active podlings
---
 www/officers/acreq.cgi | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/www/officers/acreq.cgi b/www/officers/acreq.cgi
index c7ad748..986dbab 100755
--- a/www/officers/acreq.cgi
+++ b/www/officers/acreq.cgi
@@ -49,8 +49,9 @@ REQUESTS = "#{ACREQ}/new-account-reqs.txt"
 # grab the current list of PMCs from ldap
 pmcs = ASF::Committee.list.map(&:name).sort - NON_PMC_UNIX_GROUPS
 
-# grab the list of podling mailing lists from apmail
-podlings = ASF::Podling.list.map(&:name).sort
+# grab the list of active podlings
+podlings = ASF::Podling.list.select {|podling| podling.status == 'current'}.
+  map(&:name).sort
 
 # grab the list of iclas that have no ids assigned
 query_string = CGI::parse ENV['QUERY_STRING']

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