You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by Sebastian Bazley <se...@apache.org> on 2016/02/15 13:34:03 UTC

[whimsy.git] [1/1] Commit 2134664: emeritus marker no longer supported in CI.txt

Commit 21346645e3e560d1cab81f76d9e7d97d4b85ac30:
    emeritus marker no longer supported in CI.txt


Branch: refs/heads/master
Author: Sebb <se...@apache.org>
Committer: Sebb <se...@apache.org>
Pusher: sebb <se...@apache.org>

------------------------------------------------------------
lib/whimsy/asf/committee.rb                                  | + -------
www/classic/roster/main.rb                                   |  -
------------------------------------------------------------
9 changes: 1 additions, 8 deletions.
------------------------------------------------------------


diff --git a/lib/whimsy/asf/committee.rb b/lib/whimsy/asf/committee.rb
index 1a56510..06e676b 100644
--- a/lib/whimsy/asf/committee.rb
+++ b/lib/whimsy/asf/committee.rb
@@ -6,11 +6,10 @@ class Base
   end
 
   class Committee < Base
-    attr_accessor :info, :emeritus, :report, :roster, :established, :chairs,
+    attr_accessor :info, :report, :roster, :established, :chairs,
       :schedule
     def initialize(*args)
       @info = []
-      @emeritus = []
       @chairs = []
       @roster = {}
       super
@@ -86,11 +85,6 @@ def self.load_committee_info
         committee = list[@@namemap.call(roster[/(\w.*?)\s+\(/,1])]
         # get the start date
         committee.established = roster[/\(est\. (.*?)\)/, 1]
-        # Extract any emeritus members (now probably redundant)
-        roster.gsub! /^.*\(\s*emeritus\s*\).*/i do |line|
-          committee.emeritus += line.scan(/<(.*?)@apache\.org>/).flatten
-          ''
-        end
         # extract the availids (is this used?)
         committee.info = roster.scan(/<(.*?)@apache\.org>/).flatten
         # drop (chair) markers and extract 0: name, 1: availid, 2: [date], 3: date
diff --git a/www/classic/roster/main.rb b/www/classic/roster/main.rb
index 1c82b68..eac9f10 100755
--- a/www/classic/roster/main.rb
+++ b/www/classic/roster/main.rb
@@ -101,7 +101,6 @@
         chair: committee.chair ? committee.chair.id : nil,
         memberUid: committee.info,
         names: committee.names,
-        emeritus: committee.emeritus,
         pmc: !ASF::Committee.nonpmcs.include?(committee)
       }]
     }]