[mozprofile] Add an Addon class to AddonManager for better add-on handling

NEW
Unassigned

Status

defect
6 years ago
4 years ago

People

(Reporter: whimboo, Unassigned)

Tracking

(Blocks 2 bugs)

Firefox Tracking Flags

(Not tracked)

Details

()

When you look at the following code it has been gotten way to complicated:

https://github.com/mozilla/mozbase/blob/bfa758c70eb41f5259d496629b797e95becf8fd0/mozprofile/mozprofile/addons.py

A lot of code can be simplified if we introduce a new Addon class used by the AddonManager. It should contain all possible states and methods to work with specific add-ons.
I don't think that I will have the time to work on this bug soon. So I would be happy to mentor.
Whiteboard: [mentor=whimboo][lang=py]
+1 to adding though I also don't have time right now
I figured that there are too many problems still existent I cannot easily workaround. Without this class it will become even more complex, and I don't think that's something we want to have. So I will work on this bug now, and try to fix all the various things I add as dependencies.
Assignee: nobody → hskupin
Blocks: 936166
Whiteboard: [mentor=whimboo][lang=py]
Blocks: 936528
Blocks: 931828
This bug is no longer blocking the release of Mozmill 2.0.1, but I will continue to work on it once that version has been released.
No longer blocks: 931828
Status: NEW → ASSIGNED
Assignee: hskupin → nobody
Status: ASSIGNED → NEW
You need to log in before you can comment on or make changes to this bug.