migrate the Trac DB to respect a user name change

This hack is up for adoption

Description

This script allows you to rename users in a Trac project in the database fields.

Bugs/Feature Requests

Existing bugs and feature requests for RenameTracUsersScript are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out RenameTracUsersScript from here using Subversion, or browse the source with Trac.

Example

rename-trac-users -d user_mapping.py projects/GeoTrac/

Here, user_mapping.py is a python dictionary of (old_login, new_login)

Recent Changes

[7439] by k0s on 01/22/10 17:21:26

add votes table

[7438] by k0s on 01/22/10 17:17:47

delete old user data if its constrained UNIQUE; ignore non-present tables; bump version

[7431] by k0s on 01/21/10 22:18:53

add some more stuff; still cant deal with unique fields properly

[7430] by k0s on 01/21/10 21:47:08

fix changelog, give a real version

Author/Contributors

Author: k0s
Maintainer:
Contributors: