Bazaar import problems

Asked by Michael Kuhn

I have some Git repositories that are imported by Launchpad and made available as Bazaar branches. I set up several projects to "import template and translation files" from these branches (see https://translations.launchpad.net/sushi).

When I still manually imported the .po files everything worked well and the files were approved almost immediately. However, the automatic imports have been sitting in the import queue for over a month now. My guess is that this is due to the fact that it tries to import "po/xx.po" due to our repository layout, but the manual uploads were simply called "xx.po". (If this is the reason, Launchpad probably should simply ignore all path components expect for the filename itself.)

Is this expected? What can I do to fix this?

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Henning Eggers
Solved:
Last query:
Last reply:
Revision history for this message
Best Henning Eggers (henninge) said :
#1

AFAICS the problem is that the filename for the template is just "maki.pot" which the translation file waiting to be imported is "po/de.po". The autoapprover tries to match translations to templates by path, otherwise it has no ways of knowing which template the translation is for. Sure, it could make a safe assumption when there is only one template in the series but it doesn't do that at the moment.

Your options:
1. Ask me to add the path to the file name of the template (can only be done by an admin ATM).
2. (Preferred!) Include the template in the source branch by putting it into the po directory. It will be imported and the file path will be update.

After that all translation imports should go through within hours.

Henning

Revision history for this message
Michael Kuhn (suraia) said :
#2

Thanks Henning Eggers, that solved my question.