Closed
Bug 820803
Opened 13 years ago
Closed 13 years ago
Introduce build/custom-settings.json, similar to custom-prefs.js but for settings
Categories
(Firefox OS Graveyard :: Gaia, defect)
Firefox OS Graveyard
Gaia
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ochameau, Assigned: ochameau)
References
Details
Attachments
(1 file)
|
167 bytes,
text/html
|
fabrice
:
review+
vingtetun
:
approval-gaia-v1+
|
Details |
As for preferences, we need to customize settings for development or for building custom images.
For now, we only support adding our own preferences through build/custom-prefs.js file. But in some cases, we need to tweak settings, like in bug 818884.
Here is a patch that search for build/custom-settings.json file and if exists, read it as JSON dictionnary and override default settings. This file looks like this:
{
"devtools.debugger.remote-enabled": true
}
| Assignee | ||
Comment 1•13 years ago
|
||
Assignee: nobody → poirot.alex
Attachment #691308 -
Flags: review?(21)
Comment 2•13 years ago
|
||
Comment on attachment 691308 [details]
Pull request 6974
Very useful, thanks!
Attachment #691308 -
Flags: review?(21) → review+
| Assignee | ||
Comment 3•13 years ago
|
||
Comment on attachment 691308 [details]
Pull request 6974
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:
Tested with and without this file, updated .gitignore in order to prevent it to be landed by error. Tested with wrong JSON syntax too, display meaningfull message.
Risk to taking this patch (and alternatives if risky):
Low risk, can only break itself as it is encapsulated in try/catch statements.
Attachment #691308 -
Flags: approval-gaia-master?(21)
Comment 4•13 years ago
|
||
Comment on attachment 691308 [details]
Pull request 6974
That will make dev's life easier! Thanks.
Attachment #691308 -
Flags: approval-gaia-master?(21) → approval-gaia-master+
| Assignee | ||
Comment 5•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•