Replies: 2 comments 2 replies
-
|
I'm not sure we need a disable plugin option, the only plugins it would actually apply to are archiver plugins |
Beta Was this translation helpful? Give feedback.
-
|
When it comes to creating the plugin list I wondering on the best idea:
[
{"name": "Metron", "id": "metron", "update_api_url": "https://api.github.com/repos/comictagger/metron_talker/releases/latest," "last_known_version": 0.2.1},
{"GCD"},
{"ComicInfoXML"}
{"etc."}
]
The only "problem" I see with 1 is it's a manually curated list. It would also enable people to be aware of available (official and semi-official plugins). With 2 it requires the plugin to load, the only time I see a plugin not loading but not being broken is with an incompatible CT version which would mean the plugin info could still be grabbed. (Even not using this for info, it could be used to trigger an update prompt.) 3 seems like the only way to be aware of all plugins (including broken ones). Currently, some level of file scanning is going to be required as the plugins themselves don't offer a version number (need to buy a regex license). I'm leaning towards the JSON list. Any preference or something I've missed? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I think for basics it should enable/disable and check for updates.
For disabling, I've made a
disableddir inpluginsand using that for testing which seems like the simplest solution.For updating the plugin itself could have a URL/owner/repo (for GitHub API) or there could be a JSON file?
So far, all the plugins are on GitHub so the API could be used for updating.
Gitlab has an API too, I'm not sure where else people would tend to host them? (If anyone ever does write one.)
Being able to revert would be useful, so adding an
olddir to drop the old plugins in might be easiest.The GUI could check on open and display the management window if any action is needed.
Not sure on the best way to handle the CLI. Maybe
--plugin-update <all|ID>,--plugin-disable <ID>/--plugin-enable <ID>and nothing happens automatically?Beta Was this translation helpful? Give feedback.
All reactions