Skip to Content.
Sympa Menu

sm-discuss - [SM-Discuss] A (nice little) vote for Bugzilla

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Vlad Glagolev <stealth AT tiberian.ru>
  • To: Source Mage Discussion <sm-discuss AT lists.ibiblio.org>
  • Subject: [SM-Discuss] A (nice little) vote for Bugzilla
  • Date: Thu, 7 May 2015 14:33:16 +0300

Hello all!

As you may have noticed, a new branch in the grimoire called
'devel-bugzilla' appeared a couple of days ago. It is currently
up-to-date and ready for general use at least for the features we need
from the Bugzilla itself. The box hosting http://bugs.sourcemage.ru is
tracking it at the moment.

I tried to make a migration by-hand, and here's the result:

http://bugs.sourcemage.ru/show_bug.cgi?id=16003

Then I've spent some time on migration work from chili and I must say
it's not a big deal. Some Perl modules needed an upgrade (you can see
them in devel-bugzilla as well) so we can have ability to import/export
bugs to/from bugzilla.

The next step was to find some help, and I've found it here:

https://github.com/chazomaticus/redmine2bugzilla

The project is about to scrape bug reports via HTTP and transform that
data into XML bugzilla-compatible ready-to-import bugs.

I used this repository which includes some more fixes:

https://github.com/yorba/redmine2bugzilla

And it still needed a little investigation and corrections, since
redmine ! = chili. The patch is attached. From what I can say,
everything's perfect, and you can see the result, too, since the bugs
665, 664, 663, 661 and 592 have already been transfered respectively:

http://bugs.sourcemage.ru/show_bug.cgi?id=16004
http://bugs.sourcemage.ru/show_bug.cgi?id=16005
http://bugs.sourcemage.ru/show_bug.cgi?id=16006
http://bugs.sourcemage.ru/show_bug.cgi?id=16007
http://bugs.sourcemage.ru/show_bug.cgi?id=16008

Of course after the import you have to tune some params like version,
importance, etc. manually because chili lacks all those fields we have
been using for 10+ years in bugzilla, but 95% of the migration process
is automatic including attachments, their descriptions, comments and so
on.

And all dependencies you need for this are already in the test grimoire.

Basically you have to do something like these 2 steps:

On any host:

1. ./redmine2bugzilla.py -e 663 --redmine-base http://sourcemage.org
--exporter=stealth AT sourcemage.org
--bugzilla-default-user=sm-grimoire-bugs AT lists.ibiblio.org
--bugzilla-default-user-name="Maintainers"
--bugzilla-maintainer=stealth AT sourcemage.org
--searchable-id-formula="chili-{0}" > bug-663.xml

On Bugzilla host:

2. ./importxml.pl -v -v bugs/bug-663.xml --product=Codex
--component=http

Pretty trivial, eh? I'm sure not all bugs need migration, so we can
filter them out by eye, group by a product, and scripts will take care
of the rest. Complete migration should not take more than a month, I
presume, even if noone is going to help in this monkey work :-)

But the mail is here to decide should we start the process or not.

First of all, if someone is against Bugzilla as our bug-tracker, he can
say it here and now. Otherwise, I'm starting a vote, which is going to
be fully positive, and we can begin the migration.

Thanks!

--
Vlad Glagolev <stealth AT tiberian.ru>

Attachment: chili.patch
Description: Binary data

Attachment: pgprkOr789rce.pgp
Description: PGP signature



  • [SM-Discuss] A (nice little) vote for Bugzilla, Vlad Glagolev, 05/07/2015

Archive powered by MHonArc 2.6.24.

Top of Page