-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Support aqua rm
for go_install
packages without --all
#2905
Comments
📝 aqua/pkg/controller/remove/remove.go Lines 157 to 162 in 4ba02d7
aqua/pkg/config/registry/package_info.go Lines 636 to 646 in 4ba02d7
Lines 91 to 96 in 4ba02d7
|
I remembered why we didn't support this feature.
e.g. https://aquaproj.github.io/docs/reference/registry-config/go-install-package path: github.com/volatiletech/sqlboiler/v{{(semver .Version).Major}} To uninstall a package, aqua must be able to detect a file path to be removed independent of version. In the above example, it's To resolve this issue, my idea is to add a field to detect a file path to be removed. # TODO: decide the field name
# package_dir, base_dir
removed_dir: github.com/volatiletech/sqlboiler Using this field, we can uninstall not only |
v2.33.0 is out 🎉 This release supports not only
|
Feature Overview
aqua rm
doesn't supportgo_install
packages unless--all
is passed.https://aquaproj.github.io/docs/guides/uninstall-packages/#limitation
It would be nice if
aqua rm
supports removinggo_install
packages without requiring--all
.Why is the feature needed?
When I try some packages that is
go_install
type and decided not to use it, I want to remove the binaries to save storage space.Workaround
aqua rm
is easieraqua rm --all
Example Code
No response
Note
refs https://github.com/orgs/aquaproj/discussions/2903
refs #538
The text was updated successfully, but these errors were encountered: