|Version 4 (modified by obs, 6 years ago) (diff)|
migrate the Trac DB to respect a user name change
This hack is up for adoption
This script allows you to rename users in a Trac project in the database fields.
If you have any issues, create a new ticket.
Download the zipped source from [download:renametracusersscript here].
rename-trac-users -d user_mapping.py projects/GeoTrac/
Here, user_mapping.py is a python dictionary of (old_login, new_login)