-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Cannot install via go install
#9327
Comments
I believe the command you've given is incorrect but the correct one also fails:
It seems like these exclude directives are preventing
According to golang/go#44840 (comment) (comment by @rsc), directives like |
For anybody who needs a quick workaround to install: SKAFFOLD_TAG=v2.13.2
cd "$(mktemp -d)"
git clone [email protected]:GoogleContainerTools/skaffold.git --depth=1 --branch="$SKAFFOLD_TAG" .
go install ./cmd/skaffold |
Expected behavior
I expect to be able to install this program using
go install github.com/GoogleContainerTools/skaffold/[email protected]
or any versionActual behavior
Go fails to fetch the package from the module because it is not found within a
v2
directory. Everything is in a flat filesystem.I expect them to be following the pattern in https://go.dev/blog/v2-go-modules
Information
Linux fedora 6.7.5-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Feb 17 17:20:08 UTC 2024 x86_64 GNU/Linux
Steps to reproduce the behavior
go install github.com/GoogleContainerTools/skaffold/[email protected]
The text was updated successfully, but these errors were encountered: