Writing plugins often requires a lot of boilerplate

Bug #1317359 reported by Dustin Spicuzza
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Wishlist
Dustin Spicuzza

Bug Description

Make it simpler to write a plugin, in particular so the author doesn't have to worry about writing code to catch the *_loaded events. We have a *lot* of plugins that share the same bit of code to handle that.

A new style of plugin will be implemented for Exaile 3.4. The old style of plugins will still be supported, as there are some types of plugins that don't require the other events and so are much simpler without additional constraints.

Additionally, most existing plugins in the exaile source tree will be kept the same.

Related branches

Changed in exaile:
milestone: none → 3.4.0
Revision history for this message
Dustin Spicuzza (dustin-virtualroadside) wrote :

Implemented at r4441.

Changed in exaile:
assignee: nobody → Dustin Spicuzza (dustin-virtualroadside)
importance: Undecided → Wishlist
status: New → Fix Committed
Changed in exaile:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.