Closed brenttaylor closed 7 years ago
Sounds great, thanks! It should remove the need for some of my ugliest code too.
Just giving an update on this. I have been working on this (and a rewrite of the plugin system), I've just been delayed by work and family in the hospital. I should be done in the next few days however as things are calming down.
@brenttaylor I really appreciate the work, thanks! Honestly I'm really happily shocked at all the improvements that you've been doing, thanks again.
I'm working on a proposal for a change in how we handle python plugins. In the meantime I'm doing a general refactoring of the plugin code for cleanup purposes. There's a lot of unnecessary code and practically no error or validation checking.
One thing I notice is the actual format for plugin.json files. Is there a reason the plugin.json format is a list of dicts with single key value pairs? This only makes parsing more complicated and much harder to validate.
Here's an example from the search plugin.json:
I think this is likely a better approach:
Any complaints with making this change?