Automated .po file grabbing for project synchronization

Asked by Sam Berlin

Hi Folks,

We recently converted LimeWire's translations to use Launchpad, and it is working great. We are left with a problem of automatically synchronizing LimeWire's translate repository with what is on Launchpad, though. This is necessary so that we can keep CVS' state in sync during releases, and other milestone snapshots.

Is there any way that we can automatically get the latest .po files from a project without having to go through the hooks of requesting an email and then clicking on a link from that email? This process is difficult to automate, and has many delays associated with it.

If there is no way, do you have any suggestions on how to approach this?

Thanks in advance,
 Sam

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Данило Шеган (danilo) said :
#1

Sam, there's a trick you can use instead.

That still involves asking for download, waiting a few minutes (needed for the export to be completed on our side), and then asking for the export again, which will give you a direct http download from the cached export we last got. Naturally, we cannot make it live because it takes a few minutes on our side.

However, there are obvious race conditions here, when a translation gets updated just while you are waiting for the export to finish, what invalidates the cache. I have no better suggestion here except to try again.

We plan to solve this by keeping an periodically updated exported tarball in the project download area, but we have no set timeframe on that.

Can you help with this problem?

Provide an answer of your own, or ask Sam Berlin for more information if necessary.

To post a message you must log in.