Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement method for uninstalling plugins #5637

Closed
SchrodingersGat opened this issue Oct 1, 2023 · 2 comments
Closed

Implement method for uninstalling plugins #5637

SchrodingersGat opened this issue Oct 1, 2023 · 2 comments
Labels
enhancement This is an suggested enhancement or new feature plugin Plugin ecosystem roadmap This is a roadmap feature with no immediate plans for implementation
Milestone

Comments

@SchrodingersGat
Copy link
Member

Once a plugin is installed, it cannot be "uninstalled" via the web interface. Requires a sysadmin with pip knowledge.

Following on from #5624 it would be a good feature to add. Including rewinding any custom schema migrations if the plugin implements the app mixing.

@SchrodingersGat SchrodingersGat added enhancement This is an suggested enhancement or new feature plugin Plugin ecosystem roadmap This is a roadmap feature with no immediate plans for implementation labels Oct 1, 2023
@SchrodingersGat SchrodingersGat added this to the horizon milestone Oct 1, 2023
@wolflu05
Copy link
Contributor

wolflu05 commented Oct 1, 2023

I think it would be a good idea to add a little switch to remove all data including database tables, ... on the uninstall dialog instead of doing this without asking. That way one could also use this for reinstalling another version. Eg switch from a git plugin to a pip plugin.

Additionally, we could also invoke a function on the app Mixin for uninstalling where the developer could clean up anything custom he did.

@SchrodingersGat
Copy link
Member Author

This has actually been implemented now - at least in the PUI interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This is an suggested enhancement or new feature plugin Plugin ecosystem roadmap This is a roadmap feature with no immediate plans for implementation
Projects
None yet
Development

No branches or pull requests

2 participants