> On Jan 8, 2018, at 4:07 PM, Craig Russell <apache....@gmail.com> wrote: > > I've updated the modify_pmcchairs.rb command to verify that before asking > LDAP to remove an entry from pmc-chairs, the corresponding entry in > committee-info has already been changed. > > Testing this change resulted in unexpected results: > > [MacBook-Pro-9:/srv/whimsy/tools] clr% ./modify_pmcchairs.rb --add testsebb > Password for clr: > [MacBook-Pro-9:/srv/whimsy/tools] clr% ./modify_pmcchairs.rb --rm clr testsebb > Password for clr: > [MacBook-Pro-9:/srv/whimsy/tools] clr% ./modify_pmcchairs.rb --rm testsebb > Password for clr: > _WARN [#<LDAP::Mod:0x7f84a986b5e8 LDAP_MOD_DELETE > {"member"=>[]}>] > _WARN cn=pmc-chairs,ou=groups,ou=services,dc=apache,dc=org > /Users/clr/apache/git/whimsy/lib/whimsy/asf/ldap.rb:260:in `modify': Object > class violation (LDAP::ResultError) > from /Users/clr/apache/git/whimsy/lib/whimsy/asf/ldap.rb:260:in `modify' > from /Users/clr/apache/git/whimsy/lib/whimsy/asf/ldap.rb:1368:in > `remove' > from ./modify_pmcchairs.rb:36:in `block in <main>' > from /Users/clr/apache/git/whimsy/lib/whimsy/asf/ldap.rb:145:in `bind' > from /Users/clr/apache/git/whimsy/lib/whimsy/asf/ldap.rb:145:in `bind' > from ./modify_pmcchairs.rb:36:in `<main>' > > After adding testsebb, I verified that testsebb was indeed in both committers > and pmc-chairs. > > But when I removed testsebb, it looks like committers is listed twice and > still pmc-chairs. >
Apparently this is a bug/feature in https://whimsy.apache.org/roster/committer/testsebb which uses some form of caching that doesn't completely work. After waiting for a few minutes, the display is just fine. Craig > And trying to remove it again caused an error. > > Any ideas? testsebb is still damaged... > > And error reporting is not great. I guess more checking is needed but Object > class violation is not very informative. > > Craig L Russell > Secretary, Apache Software Foundation > c...@apache.org http://db.apache.org/jdo > Craig L Russell Secretary, Apache Software Foundation c...@apache.org http://db.apache.org/jdo