Skip to content

Replace "plugin system" with a simple and more maintainable solution #2424

@buhtz

Description

@buhtz

Problem

  • The "plugin system" add extra complexity without benefit.
  • It blocks migration to modern Python build system (Migrate to Python build-system (PEP 517 & PEP 621) #1575).
  • To my knowledge there are no user created plugins in use by anyone.
  • It is not a real "plugin system" but more an event dispatch or hook system.

Solution

Replace the functionality of the existing plugins with in-build solutions.

More details

The following plugins do exist:

  1. common/plugins/usercallbackplugin.py
  2. qt/plugins/notifyplugin.py
  3. qt/plugins/systrayiconplugin.py

It is not hard to imagine alternative solutions to those three components without loosing their features. The user-defined user-callback scripts will work and won't broke.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Code QualityAbout code quality, refactoring, (unit) testing, linting, ...Discussiondecision or consensus neededMetaNotificationsdesktop, email, GUI/tray status messagesUser-Callback

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions