Importing ticket data
Bugzilla
Ticket data can be imported from Bugzilla using the bugzilla2trac.py script, available in the contrib/ directory of the Trac distribution.
$ bugzilla2trac.py bugzilla2trac - Imports a bug database from Bugzilla into Trac. Usage: bugzilla2trac.py [options] Available Options: --db <MySQL dbname> - Bugzilla's database --tracenv /path/to/trac/env - full path to Trac db environment -h | --host <MySQL hostname> - Bugzilla's DNS host name -u | --user <MySQL username> - effective Bugzilla's database user -p | --passwd <MySQL password> - Bugzilla's user password -c | --clean - remove current Trac tickets before importing --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: Trac doesn't have the concept of products, so the script provides the ability to attach a ticket keyword instead.
- IGNORE_COMMENTS: Don't import Bugzilla comments that match a certain regexp.
- STATUS_KEYWORDS: Attach ticket keywords for the Bugzilla statuses not available in Trac. By default, the 'VERIFIED' and 'RELEASED' Bugzilla statuses are translated into Trac 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 sourceforge2trac.py script, available in the contrib/ directory of the Trac distribution.
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. If you use the script, please read the NOTES section (at the top of the file) and make sure you adjust the config parameters for your environment.
mantis2trac.py has the same parameters as the bugzilla2trac.py script:
mantis2trac - Imports a bug database from Mantis into Trac. Usage: mantis2trac.py [options] Available Options: --db <MySQL dbname> - Mantis database --tracenv /path/to/trac/env - Full path to Trac db environment -h | --host <MySQL hostname> - Mantis DNS host name -u | --user <MySQL username> - Effective Mantis database user -p | --passwd <MySQL password> - Mantis database user password -c | --clean - Remove current Trac tickets before importing --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 sqlite command line to look at the tables and import into them from your application.
Using a comma delimited file - CSV
See http://trac.edgewall.org/attachment/wiki/TracSynchronize/csv2trac.2.py for details. This approach is particularly useful if one needs to enter a large number of tickets by hand. (note that the ticket type type field, (task etc...) is also needed for this script to work with more recent Trac releases) Brian Griffin: She's a whiney little runt isn't she? [Lois gasps] Brian Griffin: I said runt. http://www.megadirectory.it/SHOPPING/Compra-Viagra-Italia-Acquista-Viagra-Originale-e-Generico-Online-Spedizione-Gratuita-l1511.html
acquisto cialis viagra compra generico italia ordina propecia http://compraviagraitalia.com/it/item/generic_propecia.html http://www.maclife.com/user/buy_tramadol_0 http://www.dogomania.com/forum/showthread.php?p=279776 http://community.post-gazette.com/members/Buy-Fioricet-Online/default.aspx http://forum.desktopreview.com/member.php?u=145579 eTHJga3 vendita viagra purchase fioricet Cialis Cialis prescription v74rTlH order cheap tramadol
He knew the tavernes well in every toun.
-- Geoffrey Chaucer
order cialis online buy generic viagra http://showhype.com/profile/Buy_Cialis/ http://www.1up.com/do/my1Up?publicUserId=6065791 levitra purchase tramadol pU3egXb http://www.kaneva.com/channel/Buy_Viagra.people http://www.kaneva.com/channel/tramadol.people fioricet uk ordina viagra e cialis http://community.post-gazette.com/members/Buy-Fioricet-Online/default.aspx http://www2.iuav.it/moodle/user/view.php?id=2956&course=1&Viagra BOFH Excuse #122:
because Bill Gates is a Jehovah's witness and so nothing can work on St. Swithin's day. http://cssfad.unile.it/user/view.php?id=7115&course=1&compra-viagra-cialis
cialis informazioni viagra foglietto illustrativo comprare propecia online http://compracialis.it/it/item/generic_propecia.html http://buytramadol.gather.com/ http://www.maclife.com/user/buy_cialis_com http://showhype.com/profile/Buy_Fioricet/ http://buycialis.gather.com/ Rmj1ugM acquista viagra farmacia online buy fioricet uk cheap Cialis sales 55H0/nS purchase tramadol
If the facts don't fit the theory, change the facts.
-- Albert Einstein
cialis order viagra online http://microsoftontheissues.com/cs/members/Buy-Generic-Cialis-Online.aspx http://buyviagraonline.gather.com/ buy generic levitra cheap tramadol medication pwGrwcr http://www.kaboodle.com/buylevitra http://www.dogomania.com/forum/showthread.php?p=276144 buy fioricet uk viagra di marca e cialis http://community.post-gazette.com/members/Buy-Fioricet-Online/default.aspx http://lnx.spmg.it/moodle/user/view.php?id=470&course=1&viagra-cialis
