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

Go module support not picking up v1.8.0 #473

Closed
stevenh opened this issue Apr 30, 2020 · 2 comments
Closed

Go module support not picking up v1.8.0 #473

stevenh opened this issue Apr 30, 2020 · 2 comments

Comments

@stevenh
Copy link
Collaborator

stevenh commented Apr 30, 2020

It seems like there may be a bug in go modules preventing the new v1.8.0 and go.mod at the root level being correctly detected as latest

More information can be seen on the original go mod PR here: #440 (comment)

@stevenh
Copy link
Collaborator Author

stevenh commented Apr 30, 2020

Current workarounds include:

  • Request the version explicitly e.g. go get github.com/gomodule/redigo/redis@v1.8.0
  • Add github.com/gomodule/redigo/redis to GOPRIVATE e.g. GOPRIVATE=github.com/gomodule/redigo/redis; EXPORT GOPRIVATE

@stevenh
Copy link
Collaborator Author

stevenh commented Apr 30, 2020

This has now been fixed by creating a bogus pseudo version off a commit which had no go files in each of the removed nested go.mod locations and allowing the go proxy to permanently cache it.

@stevenh stevenh closed this as completed Apr 30, 2020
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

1 participant