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/07/13 12:50:20 UTC
[whimsy] branch master updated: make add to ipmc committers work
(again?)
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 b23918c make add to ipmc committers work (again?)
b23918c is described below
commit b23918c860ff8096e6a31e799f1a814fd1330ff7
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Thu Jul 13 08:49:46 2017 -0400
make add to ipmc committers work (again?)
---
www/roster/views/actions/ppmc.json.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/www/roster/views/actions/ppmc.json.rb b/www/roster/views/actions/ppmc.json.rb
index 47870de..e9c845e 100644
--- a/www/roster/views/actions/ppmc.json.rb
+++ b/www/roster/views/actions/ppmc.json.rb
@@ -10,7 +10,7 @@ if env.password
end
# update LDAP
- if @targets.include? 'ppmc' or @targets.include? 'committer'
+ if %w(ppmc committer icommit).any? {|target| @targets.include? target}
ASF::LDAP.bind(env.user, env.password) do
if @targets.include? 'ldap'
if @action == 'add'
@@ -36,7 +36,7 @@ if env.password
if user.asf_member? or incubator.owners.include? user
if @action == 'add'
additions = people - icommit
- incubator.add_committers(additions) unless additions.empty?
+ incubator.add_members(additions) unless additions.empty?
else
removals = people & icommit
podlings = ASF::Podling.current.map(&:id)
--
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].