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 ada8195 Drop old method
ada8195 is described below
commit ada81956018d4d24179f5d554222131ff4602318
Author: Sebb <[email protected]>
AuthorDate: Thu May 9 14:55:58 2019 +0100
Drop old method
---
lib/whimsy/asf/ldap.rb | 8 --------
1 file changed, 8 deletions(-)
diff --git a/lib/whimsy/asf/ldap.rb b/lib/whimsy/asf/ldap.rb
index 664b4ca..06933f6 100644
--- a/lib/whimsy/asf/ldap.rb
+++ b/lib/whimsy/asf/ldap.rb
@@ -400,12 +400,6 @@ module ASF
weakref(:committers) {RoleGroup.find('committers').members}
end
- # Obtain a list of committers from LDAP (old unix group)
- # <tt>cn=committers,ou=groups,dc=apache,dc=org</tt>
- def self.oldcommitters
- weakref(:oldcommitters) {Group.find('committers').members}
- end
-
# Obtain a list of members from LDAP
# <tt>cn=member,ou=groups,dc=apache,dc=org</tt>
# Note: includes some non-ASF member infrastructure contractors
@@ -1462,8 +1456,6 @@ end
if __FILE__ == $0
$LOAD_PATH.unshift '/srv/whimsy/lib'
require 'whimsy/asf/config'
- old=ASF.oldcommitters()
- puts old.length
new=ASF.committers()
puts new.length
ASF::RoleGroup.listcns.map {|g| puts ASF::RoleGroup.find(g).dn}