Closed
Bug 827778
Opened 11 years ago
Closed 11 years ago
Move shared/resources/languages-*.json to locales/
Categories
(Firefox OS Graveyard :: Gaia, defect)
Tracking
(b2g18 fixed, b2g18-v1.0.1 fixed)
RESOLVED
FIXED
People
(Reporter: stas, Assigned: mozilla)
References
Details
Attachments
(3 files)
355 bytes,
text/html
|
kaze
:
review+
benfrancis
:
approval-gaia-v1+
|
Details |
18.51 KB,
patch
|
bhearsum
:
review+
|
Details | Diff | Splinter Review |
356 bytes,
text/html
|
kaze
:
review+
lsblakk
:
approval-gaia-v1+
|
Details |
These files don't need to be in shared. On build time, we just need to copy one of them into shared/resources.
Reporter | ||
Comment 1•11 years ago
|
||
Ben -- we'd like to move the json files and rename them (s/-/_). How much hassle is this going to be for releng?
Flags: needinfo?(bhearsum)
Comment 2•11 years ago
|
||
I could propose a patch if I knew where the related code lives. :-)
Comment 3•11 years ago
|
||
(In reply to Staś Małolepszy :stas from comment #1) > Ben -- we'd like to move the json files and rename them (s/-/_). How much > hassle is this going to be for releng? This isn't a big deal, we just need to update our configs. However, the change needs to happen in two stages to avoid unnecessary burning. * Stage 1 - copy files to new location, after that we'll update our configs to point at them. * Stage 2 - delete old files, after we verify that nothing is using the old configs.
Flags: needinfo?(bhearsum)
Assignee | ||
Comment 4•11 years ago
|
||
https://github.com/mozilla-b2g/gaia/pull/7399
Reporter | ||
Comment 5•11 years ago
|
||
Pointer to Github pull-request
Reporter | ||
Comment 6•11 years ago
|
||
Comment on attachment 699675 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/7399 Asking for review on behalf of Aki.
Attachment #699675 -
Flags: review?(kaze)
Updated•11 years ago
|
Component: Builds → Gaia
Comment 7•11 years ago
|
||
Comment on attachment 699675 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/7399 [Approval Request Comment] Bug caused by (feature/regressing bug #): multilocale build system User impact if declined: Testing completed: manual Risk to taking this patch (and alternatives if risky): none
Attachment #699675 -
Flags: review?(kaze)
Attachment #699675 -
Flags: review+
Attachment #699675 -
Flags: approval-gaia-master?(21)
Comment 8•11 years ago
|
||
Comment on attachment 699675 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/7399 Vivien has asked me to process these approvals. This patch has extremely low risk and prevents potential future problems in Gaia so approval-gaia-master+
Attachment #699675 -
Flags: approval-gaia-master?(21) → approval-gaia-master+
Comment 9•11 years ago
|
||
I’ve just merged this patch, which /copies/ files to the locales/ directory. To close the bug we'll need another patch that actually removes all languages-*.json files from shared/resources/.
Assignee | ||
Comment 10•11 years ago
|
||
Step 1.5: wait for that patch to get merged into the nightly branch Step 2: point buildbot at locales/languages_*.json (patch, review, land, reconfig, verify) Step 3: remove shared/resourcs/languages-*.json
Reporter | ||
Comment 11•11 years ago
|
||
Step 3.5 Change the Makefile's LOCALES_FILE definition: > LOCALES_FILE?=shared/resources/languages.json https://github.com/mozilla-b2g/gaia/blob/f53fc73ad77ff7f7ca50ff4ca279fdf2b3d95eab/Makefile#L81
Assignee | ||
Comment 12•11 years ago
|
||
I don't think I touched languages.json, just languages-*.json. If we end up moving that, that can happen anywhere between step 1 and 3.
Assignee | ||
Comment 13•11 years ago
|
||
Points buildbot at locales/languages_*.json instead of shared/resources/languages-*.json. Also points otoro (b2g18 only, but otoro's only enabled there) to languages_basecamp.json (3 locales).
Attachment #700588 -
Flags: review?(bhearsum)
Assignee | ||
Comment 15•11 years ago
|
||
Updated https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Building#Building_multilocale
Updated•11 years ago
|
Attachment #700588 -
Flags: review?(bhearsum) → review+
Assignee | ||
Comment 16•11 years ago
|
||
Step 1.5: wait for that patch to get merged into the nightly branch Step 2: point buildbot at locales/languages_*.json * patch: DONE * review: DONE * land: waiting for gaia patch to merge to nightly branch <-- we are here * reconfig * verify Step 3: remove shared/resources/languages-*.json
Assignee | ||
Comment 17•11 years ago
|
||
Comment on attachment 700588 [details] [diff] [review] point to locales/languages_*.json http://hg.mozilla.org/build/buildbot-configs/rev/c96b21bd4eb9
Assignee | ||
Comment 18•11 years ago
|
||
(In reply to Aki Sasaki [:aki] from comment #16) > Step 1.5: wait for that patch to get merged into the nightly branch: DONE > Step 2: point buildbot at locales/languages_*.json > * patch: DONE > * review: DONE > * land: DONE > * reconfig <-- we are here > * verify > Step 3: remove shared/resources/languages-*.json
Assignee | ||
Comment 19•11 years ago
|
||
> Step 1.5: wait for that patch to get merged into the nightly branch: DONE > Step 2: point buildbot at locales/languages_*.json > * patch: DONE > * review: DONE > * land: DONE > * reconfig: DONE > * verify: DONE > Step 3: remove shared/resources/languages-*.json <-- we are here We're ready to remove the languages-*.json at any point. I'd feel safest if we resolve bug 829683 first though.
Comment 20•11 years ago
|
||
The buildbot part of this seems to have broken Date, which uses the gaia-v1-train repo: https://tbpl.mozilla.org/php/getParsedLog.php?id=18988345&tree=Date&full=1
Comment 21•11 years ago
|
||
Probably not related to this bug: https://hg.mozilla.org/integration/gaia-v1-train/file/4835e1f9e14b/locales vs. https://hg.mozilla.org/integration/gaia-nightly/file/e84cc9f3e1e5/locales
Assignee | ||
Comment 22•11 years ago
|
||
They're missing the pull request https://github.com/mozilla-b2g/gaia/pull/7399 . Is gaia-v1-train not merging from gaia-nightly?
Assignee | ||
Comment 23•11 years ago
|
||
Catlee refreshed the v1-train branch on github.
Assignee | ||
Comment 24•11 years ago
|
||
NOTE: If blocking-basecamp+ is set, just land it for now. [Approval Request Comment] Bug caused by (feature/regressing bug #): User impact if declined: Testing completed: Risk to taking this patch (and alternatives if risky):
Attachment #705167 -
Flags: review?(kaze)
Assignee | ||
Comment 25•11 years ago
|
||
Oops. Other than the add-then-remove the approval flag, I think I did the pull request right.
Updated•11 years ago
|
Attachment #705167 -
Flags: review?(kaze) → review+
Assignee | ||
Comment 26•11 years ago
|
||
Comment on attachment 705167 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/7742 NOTE: If blocking-basecamp+ is set, just land it for now. [Approval Request Comment] Bug caused by (feature/regressing bug #): This bug, bug 827778 comment 0. User impact if declined: Extraneous files in source. Testing completed: We're already building against locales/languages_*.json, so these should be unused. Risk to taking this patch (and alternatives if risky): Low risk.
Attachment #705167 -
Flags: approval-gaia-v1?(21)
Comment 27•11 years ago
|
||
Comment on attachment 705167 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/7742 just removing unused code, approving for v1-train uplift.
Attachment #705167 -
Flags: approval-gaia-v1?(21) → approval-gaia-v1+
Assignee | ||
Comment 28•11 years ago
|
||
Comment on attachment 705167 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/7742 Merged to gaia master: https://github.com/mozilla-b2g/gaia/commit/b5376f6773c080507b15836f469a7a1fedb2e5dc
Assignee | ||
Comment 29•11 years ago
|
||
gaia v1-train: https://github.com/mozilla-b2g/gaia/commit/0f00aee9dde56ff565bd5419d9ee67e98b3c6f51 gaia v1.0.0: https://github.com/mozilla-b2g/gaia/commit/0abc95774d0bbdfe314fa588e09fc92cac3e6427 I think we're done here.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 30•11 years ago
|
||
(In reply to Aki Sasaki [:aki] from comment #29) > gaia v1-train: > https://github.com/mozilla-b2g/gaia/commit/ > 0f00aee9dde56ff565bd5419d9ee67e98b3c6f51 > > gaia v1.0.0: > https://github.com/mozilla-b2g/gaia/commit/ > 0abc95774d0bbdfe314fa588e09fc92cac3e6427 > > I think we're done here. Can you please verify that both pull requests have landed. If everything is landed, please set status-b2g18 to 'fixed'
Comment 32•11 years ago
|
||
Batch edit: bugs fixed on b2g18 since 1/25 branch of v1.0 are fixed on v1.0.1
status-b2g18-v1.0.1:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•