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

uninstallb could remove associated conda envs #173

Open
azazellochg opened this issue Aug 9, 2023 · 6 comments
Open

uninstallb could remove associated conda envs #173

azazellochg opened this issue Aug 9, 2023 · 6 comments
Assignees

Comments

@azazellochg
Copy link
Member

to save disc space. At the moment it only deletes folders inside software/em, which are usually empty for many conda-based binaries
I'd imagine we could parse the env name from the activation command and then delete it (with user confirmation?)

@pconesa pconesa self-assigned this Aug 9, 2023
@pconesa
Copy link
Contributor

pconesa commented Aug 9, 2023

I think we need to provide some kind of "uninstallCommands"

@azazellochg
Copy link
Member Author

i dont want to type "uninstallCommands", that's like 20 letters! :)

@pconesa
Copy link
Contributor

pconesa commented Aug 9, 2023

I don't see other option.

@azazellochg
Copy link
Member Author

you mean there's no way to know if a specific plugin has conda env installed or not?

@pconesa
Copy link
Contributor

pconesa commented Aug 9, 2023

yes, unless we parse the commands and look for a conda create something which may not be robust enough?

@azazellochg
Copy link
Member Author

we could check for ...ENV_ACTIVATION var, but it is also not very reliable. Maybe we could add another (boolean?) parameter to PluginInfo? I don't know if this class is used to store plugin properties..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants