Changes between Version 10 and Version 11 of ScarabToTracScript
- Timestamp:
- Dec 14, 2015, 3:33:17 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ScarabToTracScript
v10 v11 5 5 == Description 6 6 7 This is a script that migrates [http://scarab.tigris.org/ Scarab] issues to Trac tickets. Scarab is an artefact tracking system released under the Apache license. 7 This is a script that migrates [http://scarab.tigris.org/ Scarab] issues to Trac tickets. Scarab is an artefact tracking system released under the Apache license. It is currently developed in the Spanish locale only. 8 9 See also: t:TracImport 8 10 9 11 == Bugs/Feature Requests … … 19 21 == TODO 20 22 21 1. Translate error messages to English 22 1. Improve validation errors 23 1. Implement tickets updating 24 1. Implement a console (vielleicht readline) to facilitate the importation 23 1. Translate error messages to English. 24 1. Improve validation errors. 25 1. Implement tickets updating. 26 1. Implement a console (vielleicht readline) to facilitate the importation. 25 27 26 28 == Download … … 41 43 42 44 1. Modify the configuration file, import-configuration.sample.xml. There are several sections: 43 1. Common: common stuff. '''scarab-attachments-path''' should be the path where the Scarab attachments are located.45 1. Common: '''scarab-attachments-path''' should be the path where the Scarab attachments are located: 44 46 {{{#!xml 45 47 <common> … … 48 50 </common> 49 51 }}} 50 1. Mappings between scarab users and trac users52 1. Mappings between scarab users and Trac users 51 53 {{{#!xml 52 54 <users-map> … … 55 57 </users-map> 56 58 }}} 57 1. Global mappings between Scarab and Trac form fields. The optional ''ignore'' attribute indicates that if the field does not exist in the Trac form, will be ignored. It is used to define fields to be used as part of other fields (in transformations). The '''transformation''' element indicates that before setting the value of these field there will be a [http://genshi.edgewall.org/ Genshi] transformation, using as genshi's context a variable named '''ticket''' with all Scarab issue's fields, including those marked with ignore = true and too the '''aditional-attributes''':59 1. Global mappings between Scarab and Trac form fields. The optional ''ignore'' attribute indicates that if the field does not exist in the Trac form, will be ignored. It is used to define fields to be used as part of other fields (in transformations). The '''transformation''' element indicates that before setting the value of these field there will be a [http://genshi.edgewall.org/ Genshi] transformation, using as Genshi's context a variable named '''ticket''' with all Scarab issue's fields, including those marked with ignore = true and also the '''aditional-attributes''': 58 60 {{{#!xml 59 61 <global-attributes-map> … … 65 67 </global-attributes-map> 66 68 }}} 67 1. a '''scarab-artifact''' section: mappings for a particular scarab issue type. '''additional-attributes''' Adds to Trac ticket (ticket-type attribute) associated with scarab issue (type attribute). The value is too a Genshi transformation. Should have a '''scarab-artifact''' tag for each Scarab Issue type.69 1. A '''scarab-artifact''' section: mappings for a particular Scarab issue type. '''additional-attributes''' Adds to Trac ticket (ticket-type attribute) associated with Scarab issue (type attribute). The value is also a Genshi transformation. Should have a '''scarab-artifact''' tag for each Scarab Issue type: 68 70 {{{#!xml 69 71 <scarab-artifact type="Reporte Error QA" ticket-type="Defecto"> … … 85 87 </additional-attributes> 86 88 }}} 87 1. a '''status-map''': maps the status field between Scarab and Trac statuses.89 1. A '''status-map''': maps the status field between Scarab and Trac statuses: 88 90 {{{#!xml 89 91 <status-map>