whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] 10/11: only active podlings
Date Thu, 04 Aug 2016 13:00:08 GMT
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 <rubys@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" <commits@whimsical.apache.org>.

Mime
View raw message