[exim] Importing the WishList into Bugzilla (seriously!)

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Magnus Holmgren
Date:  
À: exim-users
Sujet: [exim] Importing the WishList into Bugzilla (seriously!)
I have written an ugly Perl script that can create Bugzilla bugs from the
WishList file. It's ugly because it's intended to be used just once.

It should be run in two passes, first with --create and then
with --crossref. --create will create bugs and write the mapping between
WishList item numbers and Bugzilla bug numbers to ./importwishlist.bugnumbers
(WishList item numbers are on the form V/NNN, where V is 3 or 4 and NNN is
the number on the respective sublist.) --crossref will add comments to the
items that refer to other items, translating these references.

The "estimated amount of work" codes are translated to keywords, which need to
be defined in Bugzilla first. A lame guess of component is made, by looking
for certain keywords. The rest of the fields are set from variables
initialized near the beginning of the file.

LWP::UserAgent et al. (libwww-perl) are used.

I have of course tested the script locally. You can see the resultat at
http://proffe.kibibyte.se/cgi-bin/bugzilla/buglist.cgi?product=TestProduct
or p://proffe.kibibyte.se/cgi-bin/bugzilla/show_bug.cgi?id=207 for a specific
example.

-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)