whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Committee.list is outdated/ambiguous currently
Date Mon, 11 Feb 2019 10:30:17 GMT
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


The following commit(s) were added to refs/heads/master by this push:
     new 9e53699  Committee.list is outdated/ambiguous currently
9e53699 is described below

commit 9e536996fc9e9f24cfa46a4813bc5058d9452a93
Author: Sebb <sebb@apache.org>
AuthorDate: Mon Feb 11 10:30:16 2019 +0000

    Committee.list is outdated/ambiguous currently
---
 www/roster/models/group.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/roster/models/group.rb b/www/roster/models/group.rb
index e0da5f8..8de7346 100644
--- a/www/roster/models/group.rb
+++ b/www/roster/models/group.rb
@@ -4,9 +4,9 @@
 
 class Group
   def self.list
-    # start with groups that aren't PMCs
+    # start with groups that aren't PMCs or podlings etc
     groups = ASF::Group.list.map(&:id)
-    groups -= ASF::Committee.list.map(&:id)
+    groups -= ASF::Project.listids # These are PMCs and podlings and other committees
     groups.map! {|group| [group, "LDAP group"]}
 
     # add services...


Mime
View raw message