[p2pu-dev] quick question: how many of you have used LDAP before? (opinions about how to migrate users from the drupal site to lernanta)
paul at mozillafoundation.org
Tue Feb 8 20:06:28 UTC 2011
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:
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:
Realized it's more than ~30 lines :) but most is just boilerplate; it
was very straightforward to write for a one-off migration.
More information about the p2pu-dev