Closed
Bug 1164580
Opened 9 years ago
Closed 9 years ago
Use #slashslash preprocessor directive instead of sed for ua-update.json.in
Categories
(Firefox OS Graveyard :: Gaia::Build, defect)
Tracking
(firefox41 fixed)
RESOLVED
FIXED
2.2 S13 (29may)
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: miketaylr, Assigned: miketaylr)
References
Details
Attachments
(1 file, 1 obsolete file)
2.34 KB,
patch
|
miketaylr
:
review+
|
Details | Diff | Splinter Review |
See https://bugzilla.mozilla.org/show_bug.cgi?id=1162099#c14. Basically, we can remove the invocation to sed and let the preprocessor do the (same) work here.
Assignee | ||
Comment 1•9 years ago
|
||
So it took more than a few days to get a working local build environment, but here we go. Ricky, can you review this? For context, we're using the same slashslash filter to remove comments from ua-update.json in Fennec (with thumbs up from gps) and want to do the same thing here for consistency.
Assignee | ||
Comment 2•9 years ago
|
||
Note: I've verified this does what we want locally, with files preprocessed and in the right place. I'll run it through Try once it gets r+ to be sure nothing unexpected explodes. mike@b2g-dev:~/B2G$ find . -name ua-update.json ./gaia/b2g_sdk/39.0a1-2015-03-05-16-02-02/b2g/ua-update.json ./backup-flame/system/b2g/ua-update.json ./objdir-gecko/dist/b2g/ua-update.json ./objdir-gecko/dist/bin/ua-update.json ./objdir-gecko/b2g/app/ua-update.json ./out/target/product/flame/system/b2g/ua-update.json
Comment 3•9 years ago
|
||
Comment on attachment 8609540 [details] [diff] [review] 1164580-Preprocess-ua-update.json-via-slashslash.patch It seems that B2G build patch doesn't belong to Gaia:build, I think mwu is the best reviewer for this.
Attachment #8609540 -
Flags: review?(ricky060709) → review?(mwu)
Updated•9 years ago
|
Attachment #8609540 -
Flags: review?(mwu) → review?(fabrice)
Assignee | ||
Comment 4•9 years ago
|
||
Thanks Ricky and Michael.
Comment 5•9 years ago
|
||
Comment on attachment 8609540 [details] [diff] [review] 1164580-Preprocess-ua-update.json-via-slashslash.patch Review of attachment 8609540 [details] [diff] [review]: ----------------------------------------------------------------- lgtm, thanks!
Attachment #8609540 -
Flags: review?(fabrice) → review+
Assignee | ||
Comment 6•9 years ago
|
||
Thanks! Updated commit message with r=fabrice. https://treeherder.mozilla.org/#/jobs?repo=try&revision=dc0ea05e3e08
Attachment #8609540 -
Attachment is obsolete: true
Comment 9•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/f29008cd1e01
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 2.2 S13 (29may)
You need to log in
before you can comment on or make changes to this bug.
Description
•