Open Bug 934642 Opened 7 years ago Updated 5 years ago

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

Categories

(Testing :: Mozbase, defect)

defect
Not set
normal

Tracking

(Not tracked)

People

(Reporter: whimboo, Unassigned)

References

(Blocks 2 open bugs, )

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.