whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: use committee-info for the canonical list of PMCs
Date Thu, 22 Jun 2017 18:38:38 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
     new 6b77c07  use committee-info for the canonical list of PMCs
6b77c07 is described below

commit 6b77c07c8f5ce071dd5844eea18eee914042d380
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Thu Jun 22 14:37:21 2017 -0400

    use committee-info for the canonical list of PMCs
---
 lib/whimsy/asf/committee.rb | 7 +++++++
 www/roster/main.rb          | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/committee.rb b/lib/whimsy/asf/committee.rb
index 0348200..e31aad3 100644
--- a/lib/whimsy/asf/committee.rb
+++ b/lib/whimsy/asf/committee.rb
@@ -205,6 +205,13 @@ module ASF
       @committee_info = list.values.uniq
     end
 
+    # return a list of PMC committees.  Data is obtained from
+    # <tt>committee-info.txt</tt>
+    def self.pmcs
+      committees = ASF::Committee.load_committee_info
+      committees - @nonpmcs
+    end
+
     # return a list of non-PMC committees.  Data is obtained from
     # <tt>committee-info.txt</tt>
     def self.nonpmcs
diff --git a/www/roster/main.rb b/www/roster/main.rb
index 11ce200..21d8faf 100755
--- a/www/roster/main.rb
+++ b/www/roster/main.rb
@@ -46,7 +46,7 @@ end
 
 get '/committee/' do
   @members = ASF::Member.list.keys
-  @committees = ASF::Committee.list
+  @committees = ASF::Committee.pmcs
   _html :committees
 end
 

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

Mime
View raw message