Closed Bug 1010749 Opened 10 years ago Closed 10 years ago

[FTU-Separation] Extract import build logic into a common file in order to be used as well by FTU app

Categories

(Firefox OS Graveyard :: Gaia::Contacts, 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

(1 file)

We are going to separate parts of the comms build process related to import logic in a common js file in order to enable its reuse by the FTU app
Attached file 19274.html
Attachment #8423045 - Flags: review?(yurenju.mozilla)
Attachment #8423045 - Flags: feedback?(acperez)
OS: Mac OS X → Gonk (Firefox OS)
Hardware: x86 → ARM
Blocks: 1010782
Target Milestone: --- → 2.0 S2 (23may)
Comment on attachment 8423045 [details]
19274.html

Looks good!

I left some comments in github.
Attachment #8423045 - Flags: feedback?(acperez) → feedback+
Comment on attachment 8423045 [details]
19274.html

pre discussion on IRC with Jose, this build script will generate a configuration file which will be used in communications and ftu app, so it should be a gaia-wide build script and generate file into shared/ directory just like keyboard-layouts.js, so please set me review flag again if pull request is updated.

BTW, our goal for build system it NOT put anything into source tree such as apps/* and shared/*, so we will have a follow up bug to sovle this issue to avoid generating config files to shared/ directory.
Attachment #8423045 - Flags: review?(yurenju.mozilla)
Comment on attachment 8423045 [details]
19274.html

Hi Yuren,

I think your comments have been addressed. Please check

thanks!
Attachment #8423045 - Flags: review?(yurenju.mozilla)
Comment on attachment 8423045 [details]
19274.html

Jose, per discussion on IRC, please execute it as a gaia-wide build script.
Attachment #8423045 - Flags: review?(yurenju.mozilla)
Attachment #8423045 - Flags: review?(yurenju.mozilla)
Comment on attachment 8423045 [details]
19274.html

looks good to me, r=yurenju

per discussion on irc with Jose, import-config.js will be used in FTU app in future, so it's fine to put it in GAIA_DIR/build/.

please address nits which are mentioned on github before land it, thanks Jose!
Attachment #8423045 - Flags: review?(yurenju.mozilla) → review+
landed in master:

https://github.com/mozilla-b2g/gaia/commit/831a0fb7f9aee4a1198bdbc7dfaa8153c06e47a8

(thanks albert and Yuren for the advice and review)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: