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 2016/06/20 16:33:09 UTC
[whimsy] branch master updated (4461cb2 -> 9d85f4a)
This is an automated email from the ASF dual-hosted git repository.
rubys pushed a change to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git.
from 4461cb2 calendar format changed
new 5d836c4 downcase pmc names for LDAP
new 9d85f4a bug fixes
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
lib/whimsy/asf/ldap.rb | 4 ++--
www/board/agenda/views/actions/todos.json.rb | 8 +++++---
2 files changed, 7 insertions(+), 5 deletions(-)
--
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].
[whimsy] 02/02: bug fixes
Posted by ru...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git
commit 9d85f4adcd1978ec94147654829bc4902b011149
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Mon Jun 20 12:32:55 2016 -0400
bug fixes
---
lib/whimsy/asf/ldap.rb | 4 ++--
www/board/agenda/views/actions/todos.json.rb | 4 +++-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/lib/whimsy/asf/ldap.rb b/lib/whimsy/asf/ldap.rb
index 59a268b..e1361fc 100644
--- a/lib/whimsy/asf/ldap.rb
+++ b/lib/whimsy/asf/ldap.rb
@@ -251,8 +251,8 @@ module ASF
end
# dump more information on LDAP errors - delete
- def self.delete(dn, list)
- ASF.ldap.delete(dn, list)
+ def self.delete(dn)
+ ASF.ldap.delete(dn)
rescue ::LDAP::ResultError
Wunderbar.warn(list.inspect)
Wunderbar.warn(dn.to_s)
diff --git a/www/board/agenda/views/actions/todos.json.rb b/www/board/agenda/views/actions/todos.json.rb
index ad6c844..893e013 100644
--- a/www/board/agenda/views/actions/todos.json.rb
+++ b/www/board/agenda/views/actions/todos.json.rb
@@ -66,7 +66,9 @@ if @establish and env.password
# update LDAP, committee-info.txt
establish.each do |pmc|
- resolution = agenda.find {|item| item['title'] == "Establish #{pmc}"}
+ resolution = Agenda.parse(agenda, :full).find do |item|
+ item['title'] == "Establish #{pmc}"
+ end
chair = ASF::Person.find(resolution['chair'])
members = resolution['people'].map {|id, hash| ASF::Person.find(id)}
--
To stop receiving notification emails like this one, please contact
"commits@whimsical.apache.org" <co...@whimsical.apache.org>.
[whimsy] 01/02: downcase pmc names for LDAP
Posted by ru...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git
commit 5d836c411b37d19f98adb737c8727be656a04fcb
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Mon Jun 20 12:32:32 2016 -0400
downcase pmc names for LDAP
---
www/board/agenda/views/actions/todos.json.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/www/board/agenda/views/actions/todos.json.rb b/www/board/agenda/views/actions/todos.json.rb
index 4bb427e..ad6c844 100644
--- a/www/board/agenda/views/actions/todos.json.rb
+++ b/www/board/agenda/views/actions/todos.json.rb
@@ -78,8 +78,8 @@ if @establish and env.password
ASF::LDAP.bind(env.user, env.password) do
chairs.add [chair] unless chairs.members.include? chair
- ASF::Group.add(pmc, members)
- ASF::Committee.add(pmc, members)
+ ASF::Group.add(pmc.downcase, members)
+ ASF::Committee.add(pmc.downcase, members)
end
end
--
To stop receiving notification emails like this one, please contact
"commits@whimsical.apache.org" <co...@whimsical.apache.org>.