> On Mon, 2010-07-05 at 14:35 +0100, Cooke, Mark wrote: > > > -----Original Message----- > > > From: [email protected] On Behalf Of Roger Oberholtzer > > > Sent: 05 July 2010 13:59 > > > To: [email protected] > > > Subject: [Trac] Bugzilla -> Trac > > > > > > I want to move bugs from Bugzilla to Trac. We have decided > > > that Bugzilla is to heavy for our uses. Trac has won out. > > > > > > I know there is a plugin for trac to add tickets via a > csv file. So I > > > have two question for the list: > > > > > > 1. How would one deal with the fact that there are surely commas > > > in the bugzilla text? The import plugin suggested an excel sheet > > > could also be used. But we are a Linux shop... > > > > > > 2. How to get Bugzilla to even make a csv listing of the data? > > > > > > Failing all else, we will move them by hand. But I am > guessing there > > > is an easier way. As we will do this once, a fancy solution is not > > > needed :) > > > > > > I guess I could access the bugzilla database and get it to list > > > things, format these items, and somehow import it into Trac. But > > > surely this has been done before... > > > > > > -- > > > Roger Oberholtzer > > > > > There is a bugzilla2trac.py script which I have used > successfully (with > > modifications) to import bz tickets to trac 0.11.7 series. > There are a > > number of open tickets against this script and it depends on what > > version of bz you have etc but it worked well for us. It > even lets you > > translate a number of things (such as user names) in the process. > > > > As a starter you can find it in the contrib sub in the tree: > > http://trac.edgewall.org/browser/trunk/contrib > > > > ..but I would check out all the related tickets and patches first! > > -----Original Message----- > From: [email protected] On Behalf Of Roger Oberholtzer > Sent: 05 July 2010 14:51 > To: [email protected] > Subject: RE: [Trac] Bugzilla -> Trac > > I will try this. It is exactly what I had in mined. Our > soon-to-be-ex-bugzilla is 3.2.2, which is newer than the script > references. So I will have to see what that might mean. > > I plan on making a dummy trac env to see what happens. If it > looks good, > I will then try on a copy of a real trac with no users logged in. > > Looks like I have a bit of fun ahead. > > Thanks for the pointer. > > -- > Roger Oberholtzer > I have not kept up with developments to the script since I made my changes but will try to summarize what I had to change to get the version working that I used. For starters though, this is the place to look up the BZ schema, you can even diff between schema versions to highlight what has changed:
http://www.ravenbrook.com/project/p4dti/tool/cgi/bugzilla-schema/ ~ mark c -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
