Comment 3 for bug 1048556

Revision history for this message
Curtis Hovey (sinzui) wrote :

Hi David.

I looked at the script and the model code. The script uses the components argument to filter non-matching components. You don't want to do that. Our 3 cronscripts for language-pack-exporter.py do not pass components because they want everything.
If a component were passed to the script, the tarball in the librarian would include it in the name. eg. ubuntu-quantal-main-translations.tar.gz

Maybe this issue is just about how we generate mapping.txt. I see it is created from a simple helper function iter_sourcepackage_translationdomain_mapping. If it misses the universal packages, then the mapping will be incomplete, though the actual tarball will contain them.

I looked at bug bug 788685 and I think I see an incomplete fix. I see that we can use universal packages in recent series, but lp.soyuz.model.queue.PackageUploadCustom.publishRosettaTranslations only accepts main and restricted. I think we want to update it to accept universe too. The method is responsible for attaching the translation files in the librarian to the release.