Describe the feature you'd like
Ability to allow re-install of plugins from ui would be nice.
Describe the benefits this would bring to existing users
Reinstallation is beneficial because -
- sometimes some plugins install platform specific binaries. or py version specific binaries. I think
py_common does this. in such cases, reinstall is an easy way to make the plugin functional after migration b/w platforms.
- currently one has to uninstall and reinstall the plugin to achieve this, and the problem is that the plugin may or may not delete the modified configurations. one has to take a backup of the configurations, not ideal.
Is there an existing way to achieve this goal?
Uninstall + install the plugin again. But this is not deterministic in the sense we don't know what happens to config files of the plugin.
Have you searched for an existing open/closed issue?
Additional context
I think this should be a good place to think about plugin install/uninstall workflows in general. Maybe stash can have a contract with the plugin, much like msi or other installers, to identify the configuration/data files and code files it uses. That way, reinstall can overwrite the code files but not the configuration/data files.
Describe the feature you'd like
Ability to allow re-install of plugins from ui would be nice.
Describe the benefits this would bring to existing users
Reinstallation is beneficial because -
py_commondoes this. in such cases, reinstall is an easy way to make the plugin functional after migration b/w platforms.Is there an existing way to achieve this goal?
Uninstall + install the plugin again. But this is not deterministic in the sense we don't know what happens to config files of the plugin.
Have you searched for an existing open/closed issue?
Additional context
I think this should be a good place to think about plugin install/uninstall workflows in general. Maybe stash can have a contract with the plugin, much like msi or other installers, to identify the configuration/data files and code files it uses. That way, reinstall can overwrite the code files but not the configuration/data files.