You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2013/12/28 02:36:51 UTC
[jira] [Commented] (INFRA-6939) Whimsy does not take account of
(emeritus) marker
[ https://issues.apache.org/jira/browse/INFRA-6939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13857901#comment-13857901 ]
Sebb commented on INFRA-6939:
-----------------------------
Looks to me as though the problem is that Whimsy is looking for [emeritus] whereas the file actually uses (emeritus).
I think the fix is as follows:
Index: www/roster/committee.cgi
===================================================================
--- www/roster/committee.cgi (revision 891941)
+++ www/roster/committee.cgi (working copy)
@@ -41,7 +41,7 @@
# parse roster information and display names from committee-info.txt
info = {}
committee.each do |roster|
- roster.gsub! /^.*\[\s*emeritus\s*\].*/i, ''
+ roster.gsub! /^.*\(\s*emeritus\s*\).*/i, ''
name = roster[/(\w.*?)\s+\(/,1]
info[namemap.call(name)] = roster.scan(/<(.*?)@apache\.org>/).flatten
end
> Whimsy does not take account of (emeritus) marker
> -------------------------------------------------
>
> Key: INFRA-6939
> URL: https://issues.apache.org/jira/browse/INFRA-6939
> Project: Infrastructure
> Issue Type: Bug
> Components: Whimsy
> Reporter: Sebb
> Assignee: Sam Ruby
>
> It appears that Whimsy does not take account of the (emeritus) marker when parsing committee-info.txt.
> Hence it reports the following for ActiveMQ:
> adc Alan Cabrera not in LDAP committee
> ammulder Aaron Mulder not in LDAP committee
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)