tracimport
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | tracimport [2015/06/09 15:23] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Importing ticket data ====== | ||
+ | |||
+ | ===== Bugzilla ===== | ||
+ | |||
+ | Ticket data can be imported from Bugzilla using the [[http:// | ||
+ | |||
+ | < | ||
+ | $ bugzilla2trac.py | ||
+ | bugzilla2trac - Imports a bug database from Bugzilla into Trac. | ||
+ | |||
+ | Usage: bugzilla2trac.py [[: | ||
+ | |||
+ | Available Options: | ||
+ | --db <MySQL dbname> | ||
+ | --tracenv / | ||
+ | -h | --host <MySQL hostname> | ||
+ | -u | --user <MySQL username> | ||
+ | -p | --passwd <MySQL password> | ||
+ | -c | --clean | ||
+ | --help | help - this help info | ||
+ | |||
+ | Additional configuration options can be defined directly in the script. | ||
+ | </ | ||
+ | |||
+ | |||
+ | Currently, the following data is imported from Bugzilla: | ||
+ | |||
+ | * bugs | ||
+ | * bug activity (field changes) | ||
+ | * bug attachments | ||
+ | * user names and passwords (put into a htpasswd file) | ||
+ | |||
+ | The script provides a number of features to ease the conversion, such as: | ||
+ | |||
+ | * PRODUCT_KEYWORDS: | ||
+ | |||
+ | * IGNORE_COMMENTS: | ||
+ | |||
+ | * STATUS_KEYWORDS: | ||
+ | |||
+ | For more details on the available options, see the configuration section at the top of the script. | ||
+ | |||
+ | ===== Sourceforge ===== | ||
+ | |||
+ | Ticket data can be imported from Sourceforge using the [[http:// | ||
+ | |||
+ | ===== Mantis ===== | ||
+ | |||
+ | Mantis bugs can be imported using the attached script. | ||
+ | |||
+ | Currently, the following data is imported from Mantis: | ||
+ | * bugs | ||
+ | * bug comments | ||
+ | * bug activity (field changes) | ||
+ | |||
+ | Attachments are NOT imported. | ||
+ | |||
+ | mantis2trac.py has the same parameters as the bugzilla2trac.py script: | ||
+ | < | ||
+ | mantis2trac - Imports a bug database from Mantis into Trac. | ||
+ | |||
+ | Usage: mantis2trac.py [[: | ||
+ | |||
+ | Available Options: | ||
+ | --db <MySQL dbname> | ||
+ | --tracenv / | ||
+ | -h | --host <MySQL hostname> | ||
+ | -u | --user <MySQL username> | ||
+ | -p | --passwd <MySQL password> | ||
+ | -c | --clean | ||
+ | --help | help - This help info | ||
+ | |||
+ | Additional configuration options can be defined directly in the script. | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Other ===== | ||
+ | |||
+ | Since trac uses a SQL database to store the data, you can import from other systems by examining the database tables. Just go into [[http:// | ||
+ | |||
+ | ==== Using a comma delimited file - CSV ==== | ||
+ | See [[http:// | ||
+ | |||
tracimport.txt · Last modified: 2015/06/09 15:23 by 127.0.0.1