Closed
Bug 526093
Opened 16 years ago
Closed 16 years ago
[FyFx] Run extract-po.sh regularly on fyfx.stage.mozilla.com
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: stas, Assigned: fox2mike)
References
Details
Attachments
(1 file, 1 obsolete file)
|
838 bytes,
patch
|
Details | Diff | Splinter Review |
There seems to be a cronjob pulling files from http://viewvc.svn.mozilla.org/vc/projects/fyfx/trunk/ so that they can show up here: http://fyfx.stage.mozilla.com/
I added a script that merges the PO files and compiles them to MO automatically for all locales.
http://viewvc.svn.mozilla.org/vc/projects/fyfx/trunk/locale/extract-po.sh?view=markup
Could you add this script to the cronjob so that the localizers can preview their changes to PO files after commit?
| Assignee | ||
Comment 1•16 years ago
|
||
Done. Runs once every 10 mins.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•16 years ago
|
Assignee: server-ops → shyam
Comment 3•16 years ago
|
||
Hey guys - The Zemoga guys are not able to see the changes they have made on stage. Please can we check we're all good here. Thanks
Severity: major → critical
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 4•16 years ago
|
||
Jane, I'm sending you an email on this in a while. Nothing to do with this script or the changes that were made here.
Status: REOPENED → RESOLVED
Closed: 16 years ago → 16 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 5•16 years ago
|
||
Stas,
This script either needs to be re-written or needs a lockfile. Two issues :
1) There was a gazillion instances of the script on mrapp-stage02, hogging CPU doing nothing.
2) You generating .po files locally means there should be no .po files checked into svn. The two don't go well - Automated svn ups are blocked on conflicts and well...we have a zillion blocked svn ups on the box
Not a fun scenario to be in :) I've stopped the cron jobs for fyfx until these are fixed.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Reporter | ||
Comment 6•16 years ago
|
||
Uh-oh, sorry for that.
Here's a new script, compile-po.sh, that only compiles the po files, doesn't change them at all.
compile-po.sh should be run by cron, while extract-po.sh should be run manually after every change to source content in order to regenerate messaes.pot and merge it with existing messaes.po. It will not compile.
Additionally, I'll remove two messages.mo files that are right now in svn but shouldn't:
es_CO/LC_MESSAGES/messages.mo
en/LC_MESSAGES/messages.mo
That should prevent any svn up conflicts in the future.
Attachment #410210 -
Flags: review?(shyam)
| Assignee | ||
Updated•16 years ago
|
Attachment #410210 -
Flags: review?(shyam) → review+
| Assignee | ||
Comment 7•16 years ago
|
||
Commit the compile-po.sh, and I'll add a lockfile to it and put up a patch here which you can push in and we should be okay.
| Reporter | ||
Comment 8•16 years ago
|
||
Comment on attachment 410210 [details] [diff] [review]
compile-po.sh
Committed in r55060 without lockfile. Shyam, pls help :)
| Assignee | ||
Comment 9•16 years ago
|
||
Stas,
This should do it. I can run it by hand and verify once you've commited it.
| Assignee | ||
Updated•16 years ago
|
Attachment #410210 -
Attachment is obsolete: true
| Reporter | ||
Comment 10•16 years ago
|
||
r55063 has the patch, works like a charm. Thanks so much and sorry again for the trouble!
Status: REOPENED → RESOLVED
Closed: 16 years ago → 16 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 11•16 years ago
|
||
Checked on stage, works.
I've re-enabled the crons for both the site as well as compile-po.sh.
Updated•12 years ago
|
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Updated•7 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•