Closed
Bug 950687
Opened 12 years ago
Closed 12 years ago
Figure out a way to pull the latest translation from Transifex every time we run the build on Jenkin
Categories
(Webmaker Graveyard :: DevOps, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: alicoding, Assigned: alicoding)
Details
What we used to do is that we run Transifex script every time we build our app on jenkin which is what we really want, but this is not ideal because there are higher chance for Transifex to go down and we might lose our translation file or build could be failed because we can't connect to Transifex.
We have recently changed it to use "npm run download-locales" which is better since we are getting the synced translation files from our S3 bucket and in this case we are safer.
The only downside with that is we are only getting the latest translation from the crontab job which we are currently getting it for every hour from Transifex.
The reason I believe it will be better to have it maybe every time we run the build, so if we find any mistake or if translators from Transifex wants to see their translation live and ask us to run the build so they can see it right away.
Comment 1•12 years ago
|
||
One option might be to take advantage of Transifex's webhooks: http://support.transifex.com/customer/portal/articles/1077998-webhook-support
| Assignee | ||
Comment 2•12 years ago
|
||
(In reply to Jon Buckley [:jbuck] from comment #1)
> One option might be to take advantage of Transifex's webhooks:
> http://support.transifex.com/customer/portal/articles/1077998-webhook-support
For that one it will be very useful for our production but not really for the staging. Though I'm monitoring Transifex translation very frequent which is almost the same as their service to provide web hook to notify if the translation has been translated 100% or fully reviewed 100%
But what we want I guess is that when we want the latest version we should be able to say... "Let's get the latest version now and then we build to staging".
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → ali
Updated•12 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 3•12 years ago
|
||
We can close this for now since we are now doing the backup with crontab every hour and if we really want to get it instantly maybe JP or jbuck can run the script for us there.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•