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

zkg remove can remove depended upon package without confirmation #128

Open
bbannier opened this issue Dec 10, 2021 · 0 comments
Open

zkg remove can remove depended upon package without confirmation #128

bbannier opened this issue Dec 10, 2021 · 0 comments

Comments

@bbannier
Copy link
Contributor

bbannier commented Dec 10, 2021

If an installed packaged foo/A depends on another package foo/B (which would have been installed automatically), one can still execute zkg remove foo/B without being notified that one might break foo/A.

While the ability to uninstall packages like foo/B can be useful while e.g., testing updates to foo/B, it would still be great if zkg would give some indication that this operation breaks the install and would default to not performing the removal, e.g.,

$ zkg remove foo/B
The following packages will be REMOVED:
  /foo/B

Proceed? [Y/n]
Package /foo/B is required by /foo/A, remove anyway? [y/N]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant