Closed Bug 892193 Opened 11 years ago Closed 11 years ago

Make --strip-sdk the default

Categories

(Add-on SDK Graveyard :: General, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: evold, Assigned: irakli)

References

Details

Attachments

(2 files)

Will this save memory if you have multiple JetPack add-ons installed?
Whiteboard: [MemShrink]
(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.
Whiteboard: [MemShrink]
Priority: -- → P1
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)
Attachment #784055 - Flags: review?(evold)
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+
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
This is fixed now, right?
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(dtownsend+bugmail)
Resolution: --- → FIXED
Depends on: 903172
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 → ---
Assignee: nobody → rFobic
Attachment #818777 - Flags: review?(evold)
I'm curious, why was the data folder a problem?
Flags: needinfo?(rFobic)
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)
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.
Attachment #818777 - Flags: review?(evold) → review+
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
Depends on: 935556
Status: REOPENED → RESOLVED
Closed: 11 years ago11 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: