Closed
Bug 1451733
Opened 7 years ago
Closed 7 years ago
Cleanup unused AddonManager code
Categories
(Testing :: Mozbase, enhancement)
Tracking
(firefox61 fixed)
RESOLVED
FIXED
mozilla61
Tracking | Status | |
---|---|---|
firefox61 | --- | fixed |
People
(Reporter: ahal, Assigned: ahal)
References
Details
Attachments
(3 files)
Mozprofile's AddonManager has a bunch of features that don't appear to be used anywhere. This includes installing addons from manifests, from urls and from AMO. I'd like to simplify it down to the bare minimum required to get addons installed given a local file path, possibly to the point where it is just an instance method on the Profile class.
I'm attempting to standardize an API for managing profiles that extend across Firefox, Chrome and potentially other browsers in the future. Having all this extra cruft will make this harder to accomplish.
CC'ed a bunch of people, please let me know if you are aware of anything using these features (I couldn't find any via dxr).
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → ahalberstadt
Status: NEW → ASSIGNED
Comment 1•7 years ago
|
||
This sounds fine, I always thought that part of mozprofile was rather overengineered. FWIW the mozregression code that installs addons is around here. It doesn't use any of the fancier features that you mention:
https://github.com/mozilla/mozregression/blob/5b468a469280978bac6401db5d772e5973e46135/mozregression/launchers.py#L154
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 5•7 years ago
|
||
I'm purposefully not version bumping just yet as I'll be working on some other major possibly breaking changes shortly after this.
Assignee | ||
Comment 6•7 years ago
|
||
Assignee | ||
Updated•7 years ago
|
Attachment #8965472 -
Flags: review?(jmaher)
Attachment #8965473 -
Flags: review?(jmaher)
Attachment #8965474 -
Flags: review?(jmaher)
Comment 7•7 years ago
|
||
mozreview-review |
Comment on attachment 8965472 [details]
Bug 1451733 - [mozprofile] Remove ability to install from a manifest
https://reviewboard.mozilla.org/r/234230/#review240134
this looks like a clean extraction
Attachment #8965472 -
Flags: review?(jmaher) → review+
Comment 8•7 years ago
|
||
mozreview-review |
Comment on attachment 8965473 [details]
Bug 1451733 - [mozprofile] Remove ability to download addons from AddonManager
https://reviewboard.mozilla.org/r/234232/#review240138
Attachment #8965473 -
Flags: review?(jmaher) → review+
Comment 9•7 years ago
|
||
mozreview-review |
Comment on attachment 8965474 [details]
Bug 1451733 - [mozprofile] Clean up the public facing addons API a bit
https://reviewboard.mozilla.org/r/234234/#review240142
excellent
Attachment #8965474 -
Flags: review?(jmaher) → review+
Comment 10•7 years ago
|
||
Pushed by ahalberstadt@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/796b0795dc5a
[mozprofile] Remove ability to install from a manifest r=jmaher
https://hg.mozilla.org/integration/autoland/rev/538664e0c822
[mozprofile] Remove ability to download addons from AddonManager r=jmaher
https://hg.mozilla.org/integration/autoland/rev/5a16ea729deb
[mozprofile] Clean up the public facing addons API a bit r=jmaher
Comment 11•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/796b0795dc5a
https://hg.mozilla.org/mozilla-central/rev/538664e0c822
https://hg.mozilla.org/mozilla-central/rev/5a16ea729deb
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in
before you can comment on or make changes to this bug.
Description
•