match-ldap-to-info matches ldap group to INFO file 23/14823/6
authorAric Gardner <agardner@linuxfoundation.org>
Thu, 7 Mar 2019 18:48:22 +0000 (13:48 -0500)
committerAric Gardner <agardner@linuxfoundation.org>
Thu, 7 Mar 2019 20:03:29 +0000 (15:03 -0500)
commit1528ce451a2bdc657b84f0d08a63f550c11ed0c4
treeaae125d789e1f068f998b64c9cf4cff63bd0389a
parent6d156100d0381f5da7b14d22f63615fcdccb8a04
match-ldap-to-info matches ldap group to INFO file

I have abandoned the idea of using a diff on the INFO file as a driver
for making changes to ldap. It was messy for new info files, as there
was no previous diff. which meant if a user was removed,
we had no way of knowing. Now the script is idempotent.
Whatever is in the INFO.yaml will be reflected in the LDAP file.

example: you give it an info file and a group and it will
make the nessesary changes:

lftools lfidapi add-remove-committers path/to/INFO.yaml ldap-group

added --noop flag so you can see what would be changed

Change-Id: Ie1546f3e80e826742612b9f32f91dc6ce3360d0c
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
docs/commands/lfidapi.rst
lftools/cli/lfidapi.py
lftools/lfidapi.py
setup.cfg
shell/lfidapi_add_remove_users [deleted file]