wiki:RenameTracUsersScript

Version 3 (modified by obs, 5 years ago) (diff)

--

migrate the Trac DB to respect a user name change

News

09/Apr/10

Plugin maintainer changed to obs

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 2010-01-22 17:21:26
add votes table
[7438] by k0s on 2010-01-22 17:17:47
delete old user data if its constrained UNIQUE;
ignore non-present tables;
bump version
[7431] by k0s on 2010-01-21 22:18:53
add some more stuff; still cant deal with unique fields properly

Author/Contributors

Author: k0s
Maintainer: obs
Contributors: