Closed Bug 1010782 Opened 10 years ago Closed 10 years ago

[FTU-Comms separation] FTU-Comms separation remaining tasks

Categories

(Firefox OS Graveyard :: Gaia::First Time Experience, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.0 fixed)

RESOLVED FIXED
2.0 S2 (23may)
Tracking Status
b2g-v2.0 --- fixed

People

(Reporter: jmcf, Assigned: jmcf)

References

Details

Attachments

(4 files, 2 obsolete files)

      No description provided.
This bug tries to capture all the remaining work to have a FTU separated from comms. As it is complex we will have different parts to be reviewed under a common and coherent branch.
Depends on: 1010749
Attached file import_locales.html (obsolete) —
This part moves pending import locales to shared
Attachment #8423086 - Flags: review?(fernando.campo)
Attached file 19282.html (obsolete) —
Part I: Move FTU To Apps directory and tweak index.html
(In reply to Jose Manuel Cantera from comment #1)
> This bug tries to capture all the remaining work to have a FTU separated
> from comms. As it is complex we will have different parts to be reviewed
> under a common and coherent branch.

That branch is 

https://github.com/jmcanterafonseca/gaia/tree/ftu_independent
Attachment #8423125 - Flags: review?(fernando.campo)
Comment on attachment 8423086 [details]
import_locales.html

Few comments on the commit. Please ask for r? when addressed. 
Also asking for r? to l10n peers, as this might affect their work.
Attachment #8423086 - Flags: review?(l10n)
Attachment #8423086 - Flags: review?(fernando.campo)
Attachment #8423086 - Flags: review-
Attached file 19283.html
part that corresponds to import_init and facebook connector
Attachment #8423137 - Flags: review?(crdlc)
Attached file ftu_comms_iac.html
Attachment #8423138 - Flags: review?(crdlc)
Comment on attachment 8423137 [details]
19283.html

One comment but LGTM
Attachment #8423137 - Flags: review?(crdlc) → review+
Attached file 19284.html
Attachment #8423144 - Flags: review?(l10n)
Attachment #8423144 - Flags: review?(fernando.campo)
Attachment #8423086 - Attachment is obsolete: true
Attachment #8423086 - Flags: review?(l10n)
Comment on attachment 8423138 [details]
ftu_comms_iac.html

Some comments on GH, but good job!!
Attachment #8423138 - Flags: review?(crdlc) → review+
Blocks: 950018
Target Milestone: --- → 2.0 S2 (23may)
OS: Mac OS X → Gonk (Firefox OS)
Hardware: x86 → ARM
Comment on attachment 8423144 [details]
19284.html

Only nits on github, but everything related to languages different than english can be ignored, as those files are gonna be overwritten by the l10n team when updating translations.
And the english related nits are mostly about style and spaces, so up to you if you want to update them.

Thanks for taking care of this Jose.
Waiting for Pike's review now.
Attachment #8423144 - Flags: review?(fernando.campo) → review+
Sorry, but I have no idea what you're doing in this bug. I'm only seeing a bunch of string changes in the attachment I'm asked to review, and I can't make sense of it given the context.

I would have tried to look at your branch on github, but your repo doesn't seem to have master at all, so it's claiming "This branch is 8999 commits ahead and 0 commits behind master". That doesn't look inviting.

PS: if both this and the tracker had explanations of what they doing, I wouldn't need to reverse engineer this mesh of bugs
Flags: needinfo?(jmcf)
(In reply to Axel Hecht [:Pike] from comment #12)
> Sorry, but I have no idea what you're doing in this bug. I'm only seeing a
> bunch of string changes in the attachment I'm asked to review, and I can't
> make sense of it given the context.
> 
> I would have tried to look at your branch on github, but your repo doesn't
> seem to have master at all, so it's claiming "This branch is 8999 commits
> ahead and 0 commits behind master". That doesn't look inviting.
> 
> PS: if both this and the tracker had explanations of what they doing, I
> wouldn't need to reverse engineer this mesh of bugs

Axel,

In this bug we are separating the FTU as an independent app from comms. Wrt the PR you were asked to review we are only moving (import-related) literals from a contacts locales file to shared import locales files. As we are only moving literals from one file to another I believe it is no strictly necessary l10n to review the changes.

Cancelling the review request, but please let me know you are ok

thanks
Flags: needinfo?(jmcf)
Attachment #8423144 - Flags: review?(l10n)
It'd be a good idea for you to post to .l10n describing the change, some localizers might benefit from that.
Comment on attachment 8423125 [details]
19282.html

Code looks nice, thanks for all the tremendous work.
Just few nits on github, optional to fulfill.

The downside is that FTU is not launching, so patch is not working.
I think it's a problem with the System part that deals with the FTU startup [system/js/ftu_launcher.js]
Now that we changed the manifest and ftu is an independent app, we should change >self._ftuURL = self._ftu.origin + self._ftu.manifest.entry_points['ftu'].launch_path;
https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/ftu_launcher.js#L156

Also, Travis is still complaining with some tests.
Attachment #8423125 - Flags: review?(fernando.campo) → review-
Attached file 19383.html
Attachment #8423125 - Attachment is obsolete: true
Attachment #8424836 - Flags: review?(yurenju.mozilla)
Attachment #8424836 - Flags: review?(fernando.campo)
Attachment #8424836 - Flags: review?(ehung)
Attachment #8424836 - Flags: review?(alive)
This is the final PR that will make the FTU an app separated from Comms. Please

:Yuren, Could you review the ftu/build part?
:Evelyn, Could you review the settings part?
:Fcampo, Could you review the FTU part?
:Alive, Could you review the ftu launcher part?

thanks, all
Comment on attachment 8424836 [details]
19383.html

only change ftu manifest url to ftu instead of communications.

also set feedback to Pike since you added a new app and maybe we need a new directory in l10n repository.
Attachment #8424836 - Flags: review?(yurenju.mozilla)
Attachment #8424836 - Flags: review+
Attachment #8424836 - Flags: feedback?(l10n)
Comment on attachment 8424836 [details]
19383.html

That's one big diff.

From a l10n point of view there's nothing to check: .properties files are moved from /communications/ftu to /ftu, no manual creation of folders involved (consider that master has already 6 more folders than 1.4).

I'll send a message out to dev-l10n when this land to warn that they can copy the old file in the new path: that will help people working directly on Hg, probably not much people working on external tools.
Attachment #8424836 - Flags: feedback?(l10n)
Comment on attachment 8424836 [details]
19383.html

r+ for system app part. Thank you for doing this.
Attachment #8424836 - Flags: review?(alive) → review+
Yes, folders are created by the automation I use for the conversion, notably, files matching https://bitbucket.org/pike/gaiaconv/src/default/gaiaconv/filemap.py?at=default#cl-35 get picked up.
Comment on attachment 8424836 [details]
19383.html

Trivial modification, r+. Thank you! :)
Attachment #8424836 - Flags: review?(ehung) → review+
Blocks: 990058
Comment on attachment 8424836 [details]
19383.html

After the last changes on locales and callscreen working again, tested on device and looking great :D

Superb job!
Attachment #8424836 - Flags: review?(fernando.campo) → review+
final commit: 

https://github.com/mozilla-b2g/gaia/commit/511bd17cf3fe9197676a71f04f63b54a29dbe51a
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Depends on: 1015075
Depends on: 1014531
Depends on: 1014621
No longer depends on: 1014621
Depends on: 1016607
Depends on: 1016486
Depends on: 1017211
Blocks: 1022654
No longer blocks: 1022654
Depends on: 1022654
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: