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

[whimsy] branch master updated: fix https://issues.apache.org/jira/browse/WHIMSY-58

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  0e7c33a   fix https://issues.apache.org/jira/browse/WHIMSY-58
0e7c33a is described below

commit 0e7c33a491a7fc26f17970a772e31942deec2876
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Sun May 28 16:12:43 2017 -0400

    fix https://issues.apache.org/jira/browse/WHIMSY-58
---
 www/roster/views/actions/committee.json.rb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/www/roster/views/actions/committee.json.rb b/www/roster/views/actions/committee.json.rb
index 5fabd35..bdc3d27 100644
--- a/www/roster/views/actions/committee.json.rb
+++ b/www/roster/views/actions/committee.json.rb
@@ -4,7 +4,7 @@ if env.password
   group = ASF::Group.find(@project) if @targets.include? 'commit'
 
   # update LDAP
-  if @targets.include? 'ppmc' or @targets.include? 'committer'
+  if @targets.include? 'pmc' or @targets.include? 'commit'
     ASF::LDAP.bind(env.user, env.password) do
       if @action == 'add'
 	pmc.add(people) if pmc
@@ -103,7 +103,7 @@ if env.password
   # identify what has changed
   if @targets.include? 'mentor'
     target = 'mentors'
-  elsif @targets.include? 'ppmc'
+  elsif @targets.include? 'pmc'
     target = 'PMC'
   else
     target = 'committers'
@@ -114,7 +114,7 @@ if env.password
     from "#{from.public_name} <#{...@apache.org>".untaint
     to "private@#{pmc.mail_list}.apache.org".untaint
     bcc "root@apache.org"
-    subject "#{who} #{action} #{ppmc.display_name} #{target}"
+    subject "#{who} #{action} #{pmc.display_name} #{target}"
     body "Current roster can be found at:\n\n" +
       "  https://whimsy.apache.org/roster/committee/#{pmc.id}\n\n" +
       "LDAP details:\n\n  #{details.join("\n  ")}"

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