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)
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.
| Assignee | ||
Comment 1•11 years ago
|
||
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)
| Assignee | ||
Comment 2•11 years ago
|
||
otherwise we can use existed good solution like https://github.com/indexzero/nconf.
| Assignee | ||
Comment 3•11 years ago
|
||
Comment on attachment 8635959 [details]
config-manager
>https://github.com/rickychien/config-manager
Attachment #8635959 -
Flags: feedback?(gaye)
| Assignee | ||
Comment 4•11 years ago
|
||
Attachment #8635959 -
Attachment is obsolete: true
Attachment #8639119 -
Flags: review?(gaye)
Comment 5•11 years ago
|
||
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)
| Assignee | ||
Comment 6•11 years ago
|
||
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)
| Assignee | ||
Comment 7•11 years ago
|
||
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+
| Assignee | ||
Comment 8•11 years ago
|
||
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.
Description
•