Patch #5110
closedTrac importer improvement patch
0%
Description
Summary¶
This patch merges the improvements in #2748 with r3597, and also incorporates the suggested change in #2826. To summarize:
- Improvement: handles numbered lists
- Improvement: original trac ticket ID is stored in custom field "TracID"
- Improvement: can modify text in subversion log messages after import, primarily to fix issue numbers if they changed
- Improvement: the [Image()] macro is recognized and converted.
- Maintainence: wiki text code reorganized
I tested this patch on an otherwise pristine version of 0.9.3.
Patch production process¶
The original code improvement to the migration code happened over a year ago and the version on trunk has been edited many times since then. To ensure that all intermediate edits were retained, I did the following:
- Checked out r2280 on trunk.
- Downloaded the improvements from #2748
- Created a patch going from r2280 -> #2748
- Checked out HEAD (r3597)
- Applied the above patch to head/edited bits.
- Added the "image improvements" on #2826.
- Created a new patch against trunk r3597 with all improvements (attached).
The final patch and the "new version" of "migrate_from_trac.rake" are attached.
Testing¶
This work has undergone minimal testing. I can confirm that fixes as late as #4743/r3517 are included in the final version. A few images appeared in my import (where they should be) and nested lists work.
To use¶
Either apply the attached patch against migrate_from_trac.rake
on trunk, or download my modified version.
Files
Related issues
Updated by Bryce Nordgren almost 15 years ago
Updated by Mike Stupalov almost 15 years ago
Many thanks Bryce!
See updated patch in #5035
Updated by Bryce Nordgren almost 15 years ago
- Status changed from New to Resolved
I'm setting the status on this ticket as "resolved" due to Mike's work on #5035.
Updated by Jan Niggemann (redmine.org team member) almost 12 years ago
Closing this, status is resolved since 400 days and more (issue was last updated more than 400 days ago)...
Updated by Jan Niggemann (redmine.org team member) almost 12 years ago
- Status changed from Resolved to Closed