-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/vet/all: get golang.org/x/tools/go/analysis/cmd/vet via a go.mod file, not via coordinator #31040
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
Comments
Change https://golang.org/cl/169198 mentions this issue: |
Line 11 in e6df179
|
Maybe! We could remove all the code in the coordinator for it and disable it on Go 1.12 and earlier release branches and see what happens. |
Change https://golang.org/cl/169237 mentions this issue: |
FWIW, the x/tools version currently specified in the When updating to a newer version, we should use golang/tools@6aabc1c or newer. |
Change https://golang.org/cl/169239 mentions this issue: |
Updates #30971 Updates #31040 Change-Id: I305fbddb6f79cbe3d7e29225841309ab00b1e7dd Reviewed-on: https://go-review.googlesource.com/c/go/+/169239 Run-TryBot: Brad Fitzpatrick <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
See plan at golang/go#30971 (comment) Updates golang/go#31040 Change-Id: I160d671670094c3ab4f9d7ba825235a865ad3376 Reviewed-on: https://go-review.googlesource.com/c/build/+/169198 Reviewed-by: Dmitri Shuralyov <[email protected]>
Updates #31040 Change-Id: I76e3044b2cc992e63194654a825e70307075eff3 Reviewed-on: https://go-review.googlesource.com/c/go/+/169237 Run-TryBot: Brad Fitzpatrick <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
Change https://golang.org/cl/169339 mentions this issue: |
As of CL 169198 for golang/go#31040, the coordinator no longer supports placing the x/tools files out for Go 1.11 and Go 1.12's cmd/vet/all to find, so their misc-vet-vetall builds will start failing. We could in theory still either backport CL 169237 to release-branch.go1.11 and release-branch.go1.12, and/or we could keep running the misc-vet-vetall builder for the future Go 1.13 release branch, but it's not obviously even worth it; the vetall builder is most useful during development anyway. The tree is pretty stable once it's release branch time. The main use of misc-vet-vetall is catching assembly vet failures (since go test now does most the other vet checks), and assembly doesn't often change in release branches. Updates golang/go#31040 Change-Id: I7b827ecbcd206f3dcf63e04cc94fb78854befd7d Reviewed-on: https://go-review.googlesource.com/c/build/+/169339 Run-TryBot: Brad Fitzpatrick <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
All submitted for master. Over to @dmitshur if he wants to backport the cmd/vet/all changes to Go 1.11 and Go 1.12. (They're builder-only things and don't affect end users, where the tests are disabled by default anyway) |
The (We can always just try it and see, but many tests in On the other hand, it might be straightforward to add a |
That was my thought. It should be a very basic go.mod file with a single line. |
I'm not sure if this is the right place to report this, but I'm seeing trybot failures from cmd/vet/all in my CL https://go-review.googlesource.com/c/go/+/168478. At first I thought it was unrelated to my change (which is only for crypto/elliptic asm on ppc64le so I don't understand how that could affect vet running other platforms) but after I rebased and reran, it gave me some errors in my asm which I fixed. After fixing those errors, I uploaded the fix, reran the trybots, and I am seeing some other odd errors in vet/freebsd/arm. How can a run the equivalent of misc-vet-all for testing before I submit a change? I don't see it run from ./all.bash. |
|
I think you just need to rebase forward. I hope. |
Looks like it. The latest patchset git parent is old.
…On Fri, Mar 29, 2019 at 7:00 AM Ian Lance Taylor ***@***.***> wrote:
I think you just need to rebase forward. I hope.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#31040 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAAKPRmJYuDEcvUN07e878pmoW1uVxMlks5vbhyMgaJpZM4cJopw>
.
|
OK, thanks. I thought I had rebased once yesterday but looks like I just uploaded a new patch. It was the different failures that threw me. |
This happened in the CLs above and is working well. |
The cmd/vet/all program right now builds golang.org/x/tools/go/analysis/cmd/vet using the x/tools repo head tree places there by the x/build/cmd/coordinator.
Several problems with that, including:
It'd be nicer if cmd/vet/all just use modules mechanism & its versioning to get at x/tools/go/analysis/cmd/vet instead.
And then the coordinator could be simplified (https://golang.org/cl/169198).
/cc @dmitshur @bcmills @josharian
The text was updated successfully, but these errors were encountered: