Closed
Bug 892193
Opened 11 years ago
Closed 11 years ago
Make --strip-sdk the default
Categories
(Add-on SDK Graveyard :: General, defect, P1)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: evold, Assigned: irakli)
References
Details
Attachments
(2 files)
For more info see: https://groups.google.com/forum/#!topic/mozilla-labs-jetpack/NkDBaNk2GdA
Comment 1•11 years ago
|
||
Will this save memory if you have multiple JetPack add-ons installed?
Whiteboard: [MemShrink]
Reporter | ||
Comment 2•11 years ago
|
||
(In reply to Nicholas Nethercote [:njn] from comment #1) > Will this save memory if you have multiple JetPack add-ons installed? Eventually yes, at the moment I don't think so.
Updated•11 years ago
|
Whiteboard: [MemShrink]
Updated•11 years ago
|
Priority: -- → P1
Reporter | ||
Comment 3•11 years ago
|
||
Dave, fyi this is really hard to do right. Switching the default here means lots of other arguments become redundant, and removing them breaks a bunch of tests, so those tests need to be fully understood and corrected, or removed if appropriate. I'm not sure if Alex has the bandwidth for this, but we should at least have him review the code. Maybe we can do this in Paris?
Flags: needinfo?(dtownsend+bugmail)
Assignee | ||
Comment 4•11 years ago
|
||
Pointer to Github pull-request
Assignee | ||
Updated•11 years ago
|
Attachment #784055 -
Flags: review?(evold)
Reporter | ||
Comment 5•11 years ago
|
||
Comment on attachment 784055 [details] Pointer to Github pull request: https://github.com/mozilla/addon-sdk/pull/1142 Well I can't find anything wrong. I tried this on Fennec too. I'll make followup bugs about --no-strip-xpi and --force-use-bundled-sdk being redundant.
Attachment #784055 -
Flags: review?(evold) → review+
Comment 6•11 years ago
|
||
Commit pushed to master at https://github.com/mozilla/addon-sdk https://github.com/mozilla/addon-sdk/commit/cf811ad2d1f91505dfcb840c48ddb52905bfe109 Merge pull request #1142 from Gozala/bug/strip-sdk@892193 Bug 892193 - Make strip-sdk a default. r=@erikvold
Comment 7•11 years ago
|
||
This is fixed now, right?
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(dtownsend+bugmail)
Resolution: --- → FIXED
Comment 8•11 years ago
|
||
Backed this out as it caused bug 903172 on tinderbox. With strip-sdk as the default we don't package the files needed by tests.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•11 years ago
|
Assignee: nobody → rFobic
Assignee | ||
Comment 9•11 years ago
|
||
Pointer to Github pull-request
Assignee | ||
Updated•11 years ago
|
Attachment #818777 -
Flags: review?(evold)
Reporter | ||
Comment 10•11 years ago
|
||
I'm curious, why was the data folder a problem?
Flags: needinfo?(rFobic)
Assignee | ||
Comment 11•11 years ago
|
||
I have talked about this in the weekly meeting (probably there are notes of this too). But main issue is that if you `--strip-sdk` SDK is stripped which also includes it's data folder. Making data of the sdk special for tests was my original approach which end up being a rabbit hole. CFX does lot
Flags: needinfo?(rFobic)
Assignee | ||
Comment 12•11 years ago
|
||
I have talked about this in the weekly meeting (probably there are notes of this too). But main issue is that if you `--strip-sdk` SDK is stripped which also includes it's data folder. Making data of the sdk special for tests was my original approach which end up being a rabbit hole. CFX is full of workarounds that sniff for command 'test' to do things differently. Finally this was also colliding with the module overload feature that overrides modules folder, but no data. After discussions we thought that getting rid of this special data folder was a best immediate solution to unblock shipment of 1.5. Also doing many changes to CFX did not seem like a good idea because of CFX.js.
Reporter | ||
Updated•11 years ago
|
Attachment #818777 -
Flags: review?(evold) → review+
Comment 13•11 years ago
|
||
Commit pushed to master at https://github.com/mozilla/addon-sdk https://github.com/mozilla/addon-sdk/commit/94a67d16d26f6d124d5db821fff9ad18a41ce980 Merge pull request #1268 from Gozala/bug/no-data@892193 Bug 892193 - Make --strip-sdk the default r=@erikvold
Updated•11 years ago
|
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•