[Freeipa-devel] [PATCHES] 225-230 Drop support for the legacy LDAP API

Petr Viktorin pviktori at redhat.com
Tue Jan 7 13:26:14 UTC 2014


On 01/07/2014 01:54 PM, Jan Cholasta wrote:
> On 16.12.2013 14:45, Petr Viktorin wrote:
>> On 12/16/2013 10:22 AM, Jan Cholasta wrote:
>>> On 13.12.2013 15:16, Petr Viktorin wrote:
[...]
>>>> I'd recommend something like:
>>>> 3.4: Warn in release notes that we'll be dropping support; log a
>>>> warning
>>>> when __iter__ is used
>>>> 3.5: Make __iter__ raise an exception (we don't want to silently start
>>>> returning different data)
>>>> 3.6: Finally start acting like a dict
>>>
>>> Could we raise an exception now instead of waiting for 3.5? Fixing the
>>> plugins is nothing hard, you know...
>>
>> We should discuss this next year, when people come back from holidays.
>
> We had an offline discussion and decided to raise an exception in 3.4
> and drop support in 3.5.
>
> I have created a wiki page with migration guide:
> <http://www.freeipa.org/page/HowTo/Migrate_your_code_to_the_new_LDAP_API> (WIP,
> comments/edits are welcome).

I've updated the page with details of our plan.


-- 
Petr³




More information about the Freeipa-devel mailing list