Closed Bug 1184434 Opened 11 years ago Closed 11 years ago

A build definition manager for managing build config

Categories

(Firefox OS Graveyard :: Gaia::Build, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rickychien, Assigned: rickychien)

References

Details

Attachments

(1 file, 1 obsolete file)

As described in NewBuildSystem at https://wiki.mozilla.org/Gaia/Build/NewBuildSystem#Build_config_manager Ideally, there should have a management component to deal with these build definitions ex: PRODUCTION=1, DEBUG=1, GAIA_DISTRIBUTION_DIR=xxx...etc and retrieve from a default config.json as well as user inputs, and then pass them from configure.js to app/configure.js.
Attached file config-manager (obsolete) —
Hi Gareth, there is a WIP simple package which would be useful for managing / using build config. Feel free to give me your options if you have any concerns.
Attachment #8635959 - Flags: feedback?(gaye)
otherwise we can use existed good solution like https://github.com/indexzero/nconf.
Attached file PR for confidant
Attachment #8635959 - Attachment is obsolete: true
Attachment #8639119 - Flags: review?(gaye)
Comment on attachment 8639119 [details] [review] PR for confidant Still some work to do here but a good start. I left some comments on GH. Thanks for the patch Ricky!
Attachment #8639119 - Flags: review?(gaye)
Comment on attachment 8639119 [details] [review] PR for confidant PR has updated for getting rid of nconf and I would create another cfg-manager for managing and merging env and build-config.json. Please review it kindly thanks!
Attachment #8639119 - Flags: review?(gaye)
Comment on attachment 8639119 [details] [review] PR for confidant Comments had happened on GH and PR has beend merged.
Attachment #8639119 - Flags: review?(gaye) → review+
Let's close this since pull request is merged (see https://github.com/gaye/confidant/pull/31).
Status: ASSIGNED → RESOLVED
Closed: 11 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: