Set automatic language-pack creation an upload for overlay-ppa

Bug #1484882 reported by Łukasz Zemczak on 2015-08-14
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
langpack-o-matic
Medium
Łukasz Zemczak

Bug Description

We would need the automatic langpacks generated for the overlay-ppa translations [1] happening periodically, best happening after the scheduled automatic exports. I would propose the following schedule:

Every Tuesday UTC morning the translation exports happen, then on Tuesday evening/afternoon we could do the langpack creation and uploads. The exports happen around 10:30 UTC, so maybe we could target 18:00 UTC for the langpack upload?

Would that sound sane?

[1] https://translations.launchpad.net/ubuntu-rtm/15.04

Related branches

Łukasz Zemczak (sil2100) wrote :

Updated the proposed dates.

description: updated
Martin Pitt (pitti) wrote :

Keeping notes from yesterday's manual update:

 - need to merge vivid and rtm 15.04 tarball
 - need to change upload target from 15.04 to vivid
 - ubuntu-ui-toolkit.po was missing for some reason, I copied it in manually

Changed in langpack-o-matic:
status: New → Triaged
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → Medium
Łukasz Zemczak (sil2100) wrote :

Hey Martin! Is this working already? What's needed to get this set up? Can I help in any way?

Martin Pitt (pitti) wrote :

FTR: The main blocker is figuring out why ubuntu-ui-toolkit.po doesn't end up in the packs when doing the steps in #2. After that, it's mostly just automating these steps by updating cron.daily.rtm:

Some relvant snippets from bash history:

wget http://launchpadlibrarian.net/.../ubuntu-vivid-translations.tar.gz
wget http://launchpadlibrarian.net/.../ubuntu-rtm-15.04-translations.tar.gz

./merge-tarballs ubuntu-vivid-translations.tar.gz ubuntu-rtm-15.04-translations.tar.gz rtm15.04.tar.gz

./import --distribution=ubuntu-rtm -v --class touch --pkglist maps/pkglist-touch-15.04 --treshold=70 --min-priority=1500 rtm15.04.tar.gz 15.04 ../15.04 > ../logs/15.04-touch.log 2>&1

sed -i 's/15.04;/vivid;/' ../15.04/sources-touch/*/debian/changelog

LANG= schroot -p -c langpack /srv/language-packs.ubuntu.com/langpack-o-matic/packages upload rtm

Martin Pitt (pitti) wrote :

Thanks for the MP! I merged this and ran it once on macquarie, so let's double-check the new langpacks in the PPA tomorrow.

Setting to "committed" for now, let's close this after verifying.

Changed in langpack-o-matic:
assignee: Martin Pitt (pitti) → Łukasz Zemczak (sil2100)
status: Triaged → Fix Committed
Martin Pitt (pitti) wrote :

I enabled the cron job every Tuesday 12:30 UTC. This should give the exports 2 hours of leeway in case they take longer than usual.

Changed in langpack-o-matic:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers