Skip to content

Ability to reinstall plugin from installed plugins section #6987

@babechan233

Description

@babechan233

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?

  • I have searched for existing issues and none cover the core request of my proposal

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestUser request for a feature or functionality

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions