Created: (PICARD-763) Add support for PLUGIN_INCOMPATIBLE_PLATFORMS for plugins known to not work on certain platforms

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Created: (PICARD-763) Add support for PLUGIN_INCOMPATIBLE_PLATFORMS for plugins known to not work on certain platforms

JIRA jira-admin@musicbrainz.org
Add support for PLUGIN_INCOMPATIBLE_PLATFORMS for plugins known to not work on certain platforms
------------------------------------------------------------------------------------------------

                 Key: PICARD-763
                 URL: http://tickets.musicbrainz.org/browse/PICARD-763
             Project: Picard
          Issue Type: Task
          Components: Plugins
            Reporter: Zas


Some plugins may depend on platform-specific third party libs or tools, to cope with that i propose to add a PLUGIN_INCOMPATIBLE_PLATFORMS listing platforms a plugin is known to not work.

PLUGIN_INCOMPATIBLE_PLATFORMS = [list of plaforms]
where list of plaforms consists of a list of values from https://docs.python.org/2/library/sys.html#sys.platform

I prefer to list platforms known as incompatible, so plugins not having such field will be considered as compatible and eventually emit an error.
We can do the check at load time, excluding any plugin marked as incompatible with the platform Picard is running on.

See https://github.com/musicbrainz/picard-plugins/pull/35#discussion_r40308550

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tickets.musicbrainz.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
MusicBrainz-bugs mailing list
[hidden email]
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-bugs