Changes between Version 10 and Version 11 of ScarabToTracScript


Ignore:
Timestamp:
Dec 14, 2015, 3:33:17 PM (8 years ago)
Author:
figaro
Comment:

Further cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • ScarabToTracScript

    v10 v11  
    55== Description
    66
    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.
     7This 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
     9See also: t:TracImport
    810
    911== Bugs/Feature Requests
     
    1921== TODO
    2022
    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.
    2527
    2628== Download
     
    4143
    4244 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:
    4446{{{#!xml
    4547<common>
     
    4850</common>
    4951}}}
    50    1. Mappings between scarab users and trac users
     52   1. Mappings between scarab users and Trac users
    5153{{{#!xml
    5254<users-map>
     
    5557</users-map>
    5658}}}
    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''':
    5860{{{#!xml
    5961<global-attributes-map>
     
    6567</global-attributes-map>
    6668}}}
    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:
    6870{{{#!xml
    6971<scarab-artifact type="Reporte Error QA" ticket-type="Defecto">
     
    8587    </additional-attributes>
    8688}}}
    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:
    8890{{{#!xml
    8991<status-map>