Closed
Bug 323296
Opened 19 years ago
Closed 19 years ago
Create rule to check out l10n-files only
Categories
(Toolkit Graveyard :: Build Config, defect)
Toolkit Graveyard
Build Config
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Pike, Assigned: Pike)
Details
(Keywords: fixed1.8.1)
Attachments
(1 file, 2 obsolete files)
2.20 KB,
patch
|
zbraniecki
:
first-review+
preed
:
second-review+
|
Details | Diff | Splinter Review |
We should have a rule in client.mk to just check out the l10n-relevant files from the tree. We have most of the logic, the real treat is to just check out the locale files for en-US. Patch coming up. I'll try to land this on the branches, it is zero risk, and makes the entry into source based l10n much easier.
Assignee | ||
Comment 1•19 years ago
|
||
Requesting review from Chase and Gandalf, Chase is the godfather of build, and gandalf should check if this helps his flock-script-foo.
Attachment #208372 -
Flags: second-review?(gandalf)
Attachment #208372 -
Flags: first-review?(chase)
Comment 2•19 years ago
|
||
Comment on attachment 208372 [details] [diff] [review] add l10n-checkout and real_l10n-checkout targets to client.mk Can I ask for mail/locales editor/locales extensions/locales other-licenses/branding/thunderbird/locales ?
Assignee | ||
Comment 3•19 years ago
|
||
No, and I wouldn't know why you'd want that. You can check out mozilla/dom/locales mozilla/editor/ui/locales mozilla/mail/locales mozilla/netwerk/locales mozilla/other-licenses/branding/thunderbird/locales mozilla/security/manager/locales mozilla/toolkit/locales with MOZ_CO_PROJECT=mail make -f client.mk l10n-checkout Note that there is no editor/locales or extension/locales. Plus, once I move reporter l10n back to l10n, it will automagically work and pull mozilla/extensions/reporter/locales and it's l10n equivs, as that'd be added to LOCALES_BROWSER.
Assignee | ||
Comment 4•19 years ago
|
||
PS: checking out en-US plus the pl locale would be MOZ_CO_PROJECT=mail MOZ_CO_LOCALES=pl make -f client.mk l10n-checkout
Comment 5•19 years ago
|
||
Comment on attachment 208372 [details] [diff] [review] add l10n-checkout and real_l10n-checkout targets to client.mk sounds and works good to me. I'd consider MOZ_CO_PROJECT=all mask to make it easier to pull all locales for all projects in mozilla tree.
Attachment #208372 -
Flags: second-review?(gandalf) → second-review+
Assignee | ||
Comment 6•19 years ago
|
||
(In reply to comment #5) > I'd consider MOZ_CO_PROJECT=all mask to make it easier to pull all locales for > all projects in mozilla tree. MOZ_CO_PROJECT=all works, but you can't mix it with MOZ_CO_LOCALES=all, as not all project actually have an all-locales file. We could tweak that in http://lxr.mozilla.org/mozilla1.8/source/client.mk#524 and http://lxr.mozilla.org/mozilla1.8/source/client.mk#526. But I'm not sure that I want this in this patch.
Assignee | ||
Comment 7•19 years ago
|
||
Comment on attachment 208372 [details] [diff] [review] add l10n-checkout and real_l10n-checkout targets to client.mk This doesn't work the way I hoped it would. New patch coming up.
Attachment #208372 -
Attachment is obsolete: true
Attachment #208372 -
Flags: first-review?(chase)
Assignee | ||
Comment 8•19 years ago
|
||
I tested this patch with the following .mozconfig: . $topsrcdir/browser/config/mozconfig mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../de ac_add_options --disable-compile-environment mk_add_options MOZ_CO_LOCALES=de,en-GB And, with an additional nsinstall somewhere, I was able to create a lang pack with this. Up to the point that I lacked the install directory again, not sure why that is, I thought we fixed one of those. To get bg tinderbox green IIRC, but I have no clue where we did that.
Attachment #211118 -
Flags: second-review?
Attachment #211118 -
Flags: first-review?(gandalf)
Assignee | ||
Comment 9•19 years ago
|
||
Comment on attachment 211118 [details] [diff] [review] add rule to check out just l10n basics Requesting 2nd review from preed to land this on trunk and 1.8
Attachment #211118 -
Flags: second-review? → second-review?(preed)
Comment 10•19 years ago
|
||
Comment on attachment 211118 [details] [diff] [review] add rule to check out just l10n basics I'd like to see the checkout messages in either a separate l10n file (cvsco-l10n.out) or "tee -a"'d to the standard cvsco file. Also, if these are separate checkouts (in concept), I like the idea of them having separate logfile names.
Attachment #211118 -
Flags: second-review?(preed) → second-review-
Assignee | ||
Comment 11•19 years ago
|
||
Addressing Paul's comment, output to separate file. I added the bootstrap checkout stuff to the real checkout, too, so that modifications show up in the log file, like they do for the main check out target.
Attachment #211118 -
Attachment is obsolete: true
Attachment #211585 -
Flags: second-review?(preed)
Attachment #211585 -
Flags: first-review?(gandalf)
Attachment #211118 -
Flags: first-review?(gandalf)
Comment 12•19 years ago
|
||
Comment on attachment 211585 [details] [diff] [review] output to cvsco-l10n.log instead Looks good. r=preed.
Attachment #211585 -
Flags: second-review?(preed) → second-review+
Comment 13•19 years ago
|
||
Comment on attachment 211585 [details] [diff] [review] output to cvsco-l10n.log instead I tested it only on Linux but works nice for me and will be very helpfull! Thnx Pike!
Attachment #211585 -
Flags: first-review?(gandalf) → first-review+
Assignee | ||
Comment 14•19 years ago
|
||
Fixed on trunk and 1.8 branch.
Updated•6 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•