Closed
Bug 645055
Opened 13 years ago
Closed 13 years ago
Put locale/ dir into SVN, use SVN checkout on stage and prod
Categories
(Websites Graveyard :: markup.mozilla.org, defect, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
1.0
People
(Reporter: wenzel, Assigned: stas)
References
Details
(not a TBG bug) The locale dir is in git at the moment. It needs to move to SVN instead (and be added to the gitignore file). Then on stage, it should be an svn checkout of that dir. .mo files should be in SVN, how they get there (autol10n cron job or a pre/postcommit hook or something like that) is TBD.
Reporter | ||
Updated•13 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Reporter | ||
Comment 1•13 years ago
|
||
(In reply to comment #0) > .mo files should be in SVN, how they get there (autol10n cron job or a > pre/postcommit hook or something like that) is TBD. After talking to Stas, a probably preferable solution is to adapt the update_site script from Playdoh/spark[1] to update locale/ from SVN and compile the .mo files. [1] https://github.com/mozilla/spark/blob/master/bin/update_site.py
Assignee | ||
Comment 2•13 years ago
|
||
Once I extract the strings (which I can't right now due to bug 647352), I'll take care of creating the SVN repo and putting the PO files there. I can also prepare a patch implementing the solution from comment 1.
Assignee: nobody → stas
Depends on: 647352
Updated•13 years ago
|
Priority: -- → P1
Target Milestone: --- → 1.0
Assignee | ||
Comment 3•13 years ago
|
||
Notes to self: - markup is not playdoh, so there's no bin/update_site.py. will need to use a regular po-compiling cronjob. - the locale dir needs to be git removed before the svn repo can be checked out on stage/prod.
Reporter | ||
Comment 4•13 years ago
|
||
(In reply to comment #3) > Notes to self: > > - markup is not playdoh, so there's no bin/update_site.py. will need to use a > regular po-compiling cronjob. That can be remedied. update-site should still work. If you could give it a try, that'd be hot. > - the locale dir needs to be git removed before the svn repo can be checked out > on stage/prod. /me nods
Assignee | ||
Comment 5•13 years ago
|
||
(In reply to comment #4) > (In reply to comment #3) > > Notes to self: > > > > - markup is not playdoh, so there's no bin/update_site.py. will need to use a > > regular po-compiling cronjob. > > That can be remedied. update-site should still work. If you could give it a > try, that'd be hot. Let me try tomorrow, then. I agree that it would be great to have.
Reporter | ||
Comment 6•13 years ago
|
||
(In reply to comment #3) > - the locale dir needs to be git removed before the svn repo can be checked out > on stage/prod. Removed in https://github.com/mozilla/markup/commit/52c05b3 . Markup does not have a locale/ dir in git anymore now.
Reporter | ||
Comment 7•13 years ago
|
||
(In reply to comment #5) > > That can be remedied. update-site should still work. If you could give it a > > try, that'd be hot. > > Let me try tomorrow, then. I agree that it would be great to have. I added the script from Spark (contains a compile-mo step) here: https://github.com/mozilla/markup/commit/18c2261 I am not marking this bug closed because I haven't tried the script. If it works for you tomorrow, please close this bug :)
Assignee | ||
Comment 8•13 years ago
|
||
Overdue update: I've extracted the strings into the POT file and have notified the localizers about the project. http://svn.mozilla.org/projects/l10n-misc/trunk/markup/ https://localize.mozilla.org/projects/markup/ I'll test the Spark script now, thanks Fred.
Version: unspecified → Firefox 4
Assignee | ||
Comment 9•13 years ago
|
||
We're using scripts/update.sh instead of update_site.sh, but with https://github.com/mozilla/markup/commit/13983c954b4aee8630ea6cd5e2e7185bb0365dbe l10n works fine, too. Marking this resolved. The localized versions are up on https://markup-dev.allizom.org.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•13 years ago
|
Status: RESOLVED → VERIFIED
Updated•2 years ago
|
Product: Websites → Websites Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•