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

Flag: follow shared dependencies on uninstall #166

Open
mattfarina opened this issue May 20, 2021 · 1 comment
Open

Flag: follow shared dependencies on uninstall #166

mattfarina opened this issue May 20, 2021 · 1 comment
Labels
enhancement New feature or request
Projects

Comments

@mattfarina
Copy link
Collaborator

In addition to following shared dependencies... it would be nice to be able to see which shared dependencies are still required by something else and skipping those.

Note, prior to trying to build this we should look at the feasibility of it and the user experience.

@mattfarina mattfarina added the enhancement New feature or request label May 20, 2021
@mattfarina mattfarina added this to To do in Shit It via automation May 20, 2021
@viccuad
Copy link
Member

viccuad commented Jun 23, 2021

This sounds like a specific case of removing unneeded charts, like a hypper autoremove that would remove all the charts that haven't been installed manually (for example, dependencies) and aren't being pulled in by other parent charts.

Would a hypper autoremove suffice?
Autoremove would be simpler to implement, as one doesn't need to keep track of which dependencies are not being pulled in by the removed parent package or other parent packages, and other dependencies that can be also removed but aren't related to the removal of the parent chart. We just remove all.
Also, autoremove solves nicely for prunning whole subtrees of dependencies, if all of those are not being pulled by anything. If we don't use autoremove, we would need to build ourselves the graph, to see if other parent charts depend on the same orphaned dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Shit It
To do
Development

No branches or pull requests

2 participants