Test bug XML import from Redmine for OpenSatNav

Asked by Guillaume Rosaire

We're in the process of moving our project from http://www.opensatnav.org on a self administered dev server (web, wiki, bugs using Redmine, subversion) to launchpad :
https://launchpad.net/opensatnav

I did an export of the redmine bugs, and converted them to launchpad xml import format in the following file :
http://blue.plicploc.net/osn-bugs.xml.gz (11Mb, ~110 issues, ~900 comments, ~200 attachments)

Could you please test it ?

I did set some milestones for the issues, but we don't have these milestones defined anywhere right now in lp. Should we create them before ?

The file is almost final, but as the issues are still moving in redmine, I would freeze the former site and generate a new import file once we're happy with the import.

Regards

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Graham Binns
Solved:
Last query:
Last reply:
Revision history for this message
Guillaume Rosaire (zerog) said :
#1

I've set a few milestones on the trunk serie

Revision history for this message
Deryck Hodge (deryck) said :
#2

Hi,

Thanks for choosing Launchpad Bugs for your bug tracking!

We have a number of bug imports going at the moment, and unfortunately, we have to do these alongside other development work. So it may be late this week or early next before we can get to your import. But we're moving through them as quickly as we can and will notify you here once we've done a test import.

Cheers,
deryck

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Guillaume Rosaire (zerog) said :
#4

I'm still waiting for the import to take place. Any news on it ?

Revision history for this message
Deryck Hodge (deryck) said :
#5

I just tried a local import. There are many errors of the form:

InvalidName: Murphy is not a valid name for a person.

Launchpad names should be lower case in the file.

Revision history for this message
Guillaume Rosaire (zerog) said :
#6

I didn't see that names should be lower case. I'll regenerate a version this evening.

Thanks

Revision history for this message
Guillaume Rosaire (zerog) said :
#7

Well, a simple perl substitution did fix this. Could you please reimport the file available here :
http://blue.plicploc.net/osn-bugs.xml.gz

Many thanks.

Revision history for this message
evolvedlight (steve-evolvedlight) said :
#8

Any updates for this? Thanks!

Revision history for this message
Guillaume Rosaire (zerog) said :
#9

It's been more than one month that our project is stuck, please, could you retry the import ?

Revision history for this message
Deryck Hodge (deryck) said :
#10

Local import fails over name issues again. foo_bar is not valid, but foo-bar would be. Please see this for formatting info:

https://help.launchpad.net/Bugs/ImportFormat

Once you have another updated file, I can try again.

Cheers,
deryck

Revision history for this message
Guillaume Rosaire (zerog) said :
#11

I've modified every '_' to '-' in names as advised, and checked every other name for validity with lpname pattern.

Names shouldn't be an issue anymore.

Could you please retry with the new file (same url as before) ?

Regards,
Guillaume

Revision history for this message
Deryck Hodge (deryck) said :
#12

Local import works fine. We cannot work on bug imports to staging this week due to the Ubuntu release and limited sys admin availability. We will take up bug imports next week, trying to get all outstanding bug import questions done.

Revision history for this message
Guillaume Rosaire (zerog) said :
#13

Thanks Deryck, I just have anorther question :

the names used in the file are the login we had on our former bug tracker. As most of our users now have a real launchpad id, wouldn't it be better that I convert former redmine user names to these existing launchpad names (lpnames) ?

Revision history for this message
Deryck Hodge (deryck) said :
#14

Hi,

Yes, it would be better to use the Launchpad names.

Cheers,
deryck

Revision history for this message
Guillaume Rosaire (zerog) said :
#15

It's been done in the last version of the file.

While listing the different names used in it, I noticed that one of them was name="admin", I hope that won't be a problem.

Revision history for this message
Graham Binns (gmb) said :
#16

Hi Guillaume,

I'll try to get this imported onto staging for you today; is the file above up-to-date?

With regard to your question about an "admin" user: I *think* that 'admin' is a protected name in Launchpad, so the importer might choke on it, but I won't know for sure until we try the import on staging.

Revision history for this message
Guillaume Rosaire (zerog) said :
#17

Hi Graham,

Yes, the above file is up-to-date, it shouldn't change from now on except if something keeps the import from completing.

Thanks

Revision history for this message
Graham Binns (gmb) said :
#18

Okay, I'll try to get that onto staging for you today.

Revision history for this message
Graham Binns (gmb) said :
#19

Verified again locally; I'll try to get it onto staging this afternoon depending upon sysadmin availability.

Revision history for this message
Graham Binns (gmb) said :
#20

This has now been imported into bugs.staging.launchpad.net/opensatnav. Please let us know if there are any problems with the import or if we can proceed with the import to production.

Revision history for this message
Guillaume Rosaire (zerog) said :
#21

A few bug still exist (almost all bugs are marked as CRITICAL, 2 users need to be renamed to their existing LP username), I'm working on a new file and tell you once it's ready (tomorrow or Wednesday)

Revision history for this message
Guillaume Rosaire (zerog) said :
#22

A new file is available,
  - with 86 empty comments removed,
  - bug importances fixed (no more critical)
  - LP usernames for willu and Murphy changed.

This file seems to be final, could you please reimport it on staging to check if it can be imported in production ?

Revision history for this message
Graham Binns (gmb) said :
#23

This has now been reimported into staging. We can import it into production once you confirm you're happy with it.

Revision history for this message
Guillaume Rosaire (zerog) said :
#24

That's ok for us, you can import this file into production. Many thanks.

Revision history for this message
Best Graham Binns (gmb) said :
#25

The bugs have now been imported to production. Please check them over and let me know if you find any problems.

Revision history for this message
Guillaume Rosaire (zerog) said :
#26

Thanks Graham Binns, that solved my question.