On 02/27/2013 12:22 PM, Jan Cholasta wrote:
On 27.2.2013 18:14, John Dennis wrote:
On 02/27/2013 11:23 AM, Jan Cholasta wrote:
Hi,

On 27.2.2013 17:09, John Dennis wrote:
IPA plugins traditionally use (dn, entry_attrs) pairs to represent
entries. To make that work, iterating over an LDAPEntry will, for now,
yield the DN and the entry itself. Always use keys() or values() when
iterating over an entry.

I'm trying parse what the above means, it seems to be one of the two:

1) There is still a bunch of code that continues to use 2-tuples in the
plugins and additional work remains to converge on a single API.

2) All the code that used 2-tuples has been cleaned up and expunged,
however if the old 2-tuple methodology was used it would still work.


it's the former, there is still code that uses 2-tuples.

O.K. so we're still a ways away from completing the task. Would this be
a correct summary?

Phase 1 is completed, a consistent API has been defined and implemented.
Phase 2 is converting all the code to use the API defined in Phase 1, a
task yet to be done.


Correct. But I don't think converting 2-tuples to the new API will be a
huge task.

Cool!


--
John Dennis <jden...@redhat.com>

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to