-
Notifications
You must be signed in to change notification settings - Fork 18k
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
cmd/go: list {{.Stale}} was not updated for the change to install #24558
Comments
I'm not convinced this is a regression. The docs may need updating instead. Is there a larger example that is broken by this behavior? |
See #24396, where the mobile tooling wants to know whether a program is up to date. My suggestion was that |
@rsc, the example may be the test I have tried to fix: https://go-review.googlesource.com/c/go/+/103675 |
@rsc do you think this can be resolved before the 1.11 window closes? |
Started work on this. |
Change https://golang.org/cl/107957 mentions this issue: |
@gopherbot please file this for backport against 1.10. This might be considered a regression (see discussion). |
Backport issue(s) opened: #25026 (for 1.10). Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://golang.org/wiki/MinorReleases. |
In Go 1.10 we changed
go install
so that it only installs the named package. The docs forgo list -f {{.Stale}}
say that it means "would 'go install' do anything for this package?". ButAs we can see, even though
go install
will not do anything,{{.Stale}}
reports that the package is stale.Setting milestone to 1.10.1 since this is a regression in 1.10.
CC @rsc
The text was updated successfully, but these errors were encountered: