You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Full reproduction procedures cannot be described because it is necessary to modify the actual remote package to be installed in order to reproduce the problem.
I will describe the reproduction procedure with supplementary text.
1. Install Remote Package
First, install the package by specifying the version.
# This is an actual package that I have published and that actually exists.
go install github.com/shinshin86/go-te@latest
2. Fix remote packages
Next, modify this remote package and push it.
(If you install this package at this stage using @latest, I would expect the latest version to be installed.)
3. Install the latest version again
Install the latest version again. However, at this point, the latest version is not yet reflected.
go install github.com/shinshin86/go-te@latest
4. Clean cache
I think it might be because I have cache left, so I run the following command.
go clean -modcache
5. Install the latest version again
Install with @latest again.
go install github.com/shinshin86/go-te@latest
The logs indicate that it is installed, but when run, it is not the latest version.
What did you expect to see?
I was expecting the latest packages to be installed by doing a "go clean -modcache" and then reinstalling.
I have also examined the source code of Go itself, but could not anticipate the relevant section.
Therefore, I have registered an issue with the hope that anyone with an idea of the problem will comment on this.
The text was updated successfully, but these errors were encountered:
By default, go uses a module mirror/caching proxy to speed things up. For efficiency, references are cached for a short period of time. See GOPROXY, GOPRIVATE, https://go.dev/ref/mod (search for "proxy") and https://proxy.golang.org/
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Full reproduction procedures cannot be described because it is necessary to modify the actual remote package to be installed in order to reproduce the problem.
I will describe the reproduction procedure with supplementary text.
1. Install Remote Package
First, install the package by specifying the version.
# This is an actual package that I have published and that actually exists. go install github.com/shinshin86/go-te@latest
2. Fix remote packages
Next, modify this remote package and push it.
(If you install this package at this stage using
@latest
, I would expect the latest version to be installed.)3. Install the latest version again
Install the latest version again. However, at this point, the latest version is not yet reflected.
4. Clean cache
I think it might be because I have cache left, so I run the following command.
5. Install the latest version again
Install with
@latest
again.The logs indicate that it is installed, but when run, it is not the latest version.
What did you expect to see?
I was expecting the latest packages to be installed by doing a "go clean -modcache" and then reinstalling.
What did you see instead?
I referred to the following document.
I have also examined the source code of Go itself, but could not anticipate the relevant section.
Therefore, I have registered an issue with the hope that anyone with an idea of the problem will comment on this.
The text was updated successfully, but these errors were encountered: