Bug tracker import for sbnc

Asked by Gunnar Beutner on 2011-01-30


could you please import the following XML dump into the bug tracker for https://staging.launchpad.net/shroudbnc (or some other kind of test version of Launchpad):


Best regards,
Gunnar Beutner

Question information

English Edit question
Launchpad itself Edit question
Gavin Panella Edit question
Solved by:
Gunnar Beutner
Last query:
Last reply:
Gavin Panella (allenap) said : #1

Hi Gunnar,

The bug export looks mostly good to go. A few bugs have a problem
which you might like to look into.

Bugs 77, 106, and 111 have attachments with no contents, for example:

--> <contents/>

Note that the <contents> tag should contain base64 encoded data
(xsd:base64Binary is how it's defined in the schema).

I will file a bug to improve the bug-export.rnc schema definition to
ensure that this kind of problem is detected earlier.


Gunnar Beutner (gunnarbeutner) said : #2

Hi Gavin,

thanks for noticing that. Apparently the MantisBT->Trac import script I used didn't work properly; instead it 'imported' all my attachments as empty files which were then turned into those empty <contents> tags by the Trac->Launchpad importer.

I've uploaded a new version at http://gunnar.shroudbox.net/sbnc_mantis_bugs_v2.xml

Best regards,
Gunnar Beutner

Gavin Panella (allenap) said : #3

sbnc_mantis_bugs_v2.xml imports cleanly into a local instance of Launchpad. I'll request an import into a staging environment now so that you can take a look.

Gavin Panella (allenap) said : #4

sbnc_mantis_bugs_v2.xml has imported cleanly into qastaging. If you
update shroudbnc to use Launchpad for bugs at:


you can take a look through them. Let me know if you notice any

If they're okay, would you like me to get sbnc_mantis_bugs_v2.xml
imported into production? Some people choose to freeze their bug
tracker first, then send over another export at a mutually agreed time
for a quick switch over.


Gunnar Beutner (gunnarbeutner) said : #5

Hi Gavin,

thanks so far. We've found a few issues with our last XML dump:

* All NEW issues were assigned to an 'anonymous' user
* Some of our users weren't properly mapped to existing LP users

These problems should be fixed in our latest XML dump: http://gunnar.shroudbox.net/sbnc_mantis_bugs_v3.xml - Could you please do another test import with that new XML dump?

As for the import into the production system: When would be a good time for you? We can probably disable our existing bug tracker on sf.net for an extended period of time (e.g. 24 hours).

Best regards,
Gunnar Beutner

Gavin Panella (allenap) said : #6

119 bugs imported without error into qastaging. You can see them in a
new project here:


They have different bug nicknames to the ones specified in your bug
data because they have to be unique, and we've already imported this
set of bugs before into the same database. The import into production
will use the correct nicknames.

> When would be a good time for you?

I work Monday to Friday between 0900 and about 1800 UTC. I am not
available on Thursday 17th and Friday 18th. Pick a time :)

Hi Gavin,

I just noticed that you are cc'ed on all bugs on the new shroudbnc2 bug tracker, which might be a nuisance for you if this is carried over into the production system.


Gavin Panella (allenap) said : #8

That's because I registered the shroudbnc2 project, and didn't specify
a bug supervisor; the owner gets automatically CC'ed instead. Thanks
for the concern though :)

Gunnar Beutner (gunnarbeutner) said : #9

Hi Gavin,

the latest XML dump seems fine. Can't seem to find any more problems. :)

As for the final import... how about tomorrow at around 12:00 UTC? Or if that's too short notice maybe next monday.

Best regards,
Gunnar Beutner

Gavin Panella (allenap) said : #10

Brilliant. 1200 UTC tomorrow is good.

Ok, cool, an up-to-date XML dump will be at http://gunnar.shroudbox.net/sbnc_mantis_bugs_v4.xml :)

Gavin Panella (allenap) said : #12

All done without error.

You'll need to update the bug tracker to be Launchpad at:


Nickname redirections are working, for example:


redirects to:


Let me know if you have any problems.


Hi Gavin,

thanks a lot. :)

Best regards,
Gunnar Beutner