You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2017/10/29 14:23:13 UTC

[whimsy] branch master updated: Document and simplify

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 9072f28  Document and simplify
9072f28 is described below

commit 9072f2835c9f35f699749fa3b9fc296f7b14113d
Author: Sebb <se...@apache.org>
AuthorDate: Sun Oct 29 14:23:11 2017 +0000

    Document and simplify
---
 lib/whimsy/asf/committee.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/whimsy/asf/committee.rb b/lib/whimsy/asf/committee.rb
index 53af82b..3270226 100644
--- a/lib/whimsy/asf/committee.rb
+++ b/lib/whimsy/asf/committee.rb
@@ -76,12 +76,12 @@ module ASF
       'open climate workbench'      => 'climate',
       'c++ standard library'        => 'stdcxx',
       'travel assistance'           => 'tac',
-      'traffic server'              => 'trafficserver',
       'web services'                => 'ws',
-      'xml graphics'                => 'xmlgraphics',
       'incubating'                  => 'incubator' # special for index.html
 
     @@namemap = Proc.new do |name|
+      # Drop parenthesized comments and downcase before lookup; drop all spaces after lookup
+      # So aliases table does not need to contain entries for Traffic Server and XML Graphics.
       cname = @@aliases[name.sub(/\s+\(.*?\)/, '').downcase].gsub(/\s+/, '')
       cname
     end

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