[p2pu-dev] quick question: how many of you have used LDAP before? (opinions about how to migrate users from the drupal site to lernanta)

zuzel.vp zuzel.vp at gmail.com
Tue Feb 8 20:14:02 UTC 2011


Thanks :D

On Tue, Feb 8, 2011 at 3:06 PM, Paul Osman <paul at mozillafoundation.org> wrote:
> On 02/08/2011 01:52 PM, zuzel.vp wrote:
>>>
>>> I'd recommend doing the same thing we did... total migration took about
>>> 30
>>> minutes for ~12k users with a ~30 line python script that executed raw
>>> sql
>>> against the Drupal database and used Django models to write data.
>>>
>>
>> I want to see the script. Is it somewhere inside:
>> https://github.com/paulosman/batucada?
>>
>
> No, I wrote it as a one-off as it was a) very specific to our Drupal
> instance and b) only going to be used once. I've put it here:
>
> http://blog.eval.ca/files/migration.py
>
> Realized it's more than ~30 lines :) but most is just boilerplate; it was
> very straightforward to write for a one-off migration.
>
> -p
>


More information about the p2pu-dev mailing list