Changes between Version 1 and Version 2 of TracTicketChangesetsPlugin
- Timestamp:
- Jun 4, 2010, 8:45:33 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracTicketChangesetsPlugin
v1 v2 11 11 Console administration commands are available for resynchronizing relations between tickets and changesets. 12 12 13 The source of this plugin is based on code provided distributed with Trac 0.12 (tracopt/ticket/commit_updater.py). 13 The source of this plugin is based on code provided distributed with Trac 0.12 (tracopt/ticket/commit_updater.py). The plugin works with multiple repositories. 14 14 15 15 '''This plugin is not compatible with Trac 0.11''' … … 54 54 1. The Trac environment needs to be upgraded: 55 55 {{{ 56 trac-admin $ENVupgrade56 trac-admin %ENV% upgrade 57 57 }}} 58 58 1. Re-synchronize repositories (optional, but recommended before next step which will scan all existing commit messages): 59 59 {{{ 60 trac-admin $ENV repository resync "*"60 trac-admin $ENV repository resync "*&" 61 61 }}} 62 62 1. Build relations between tickets and changesets: … … 67 67 a. Produce a diff-like output for your analysis, which does not affect the database, before re-formatting existing commit messages: 68 68 {{{ 69 trac-admin $ENV ticket_changesets diff >out.diff69 trac-admin $ENV ticket_changesets diff > out.diff 70 70 }}} 71 71 Examine out.diff and assert that re-formatting is sensible before next step. … … 82 82 @SET REPOS=%1 83 83 @SET REV=%2 84 @trac-admin "%TRAC_ENV%" changeset added "%REPOS%" "%REV%"84 @trac-admin "%TRAC_ENV%" changeset added "%REPOS%" "%REV%" 85 85 }}} 86 86 a. post-revprop-change.cmd … … 91 91 @SET REPOS=%1 92 92 @SET REV=%2 93 @trac-admin "%TRAC_ENV%" changeset modified "%REPOS%" %REV%93 @trac-admin "%TRAC_ENV%" changeset modified "%REPOS" "%REV%" 94 94 }}} 95 95