-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
x/tools/gopls: update unstable version installation instruction #46880
Comments
I vote we remove the replace and all attempt to use the new experimental go.work file instead to see if it solves the workflow well for us. |
Following the instructions on working with generic code, I hit this error message during install. Not clear what the right course of action is, would appreciate advice. (It also seems worthwhile to update that instruction!) |
@pwaller please follow the instruction @jayconrod described in #43684 (comment)
Actually, the above instruction should be the new instruction for unstable version installation until we migrate to a separate repository with one module. (cc @stamblerre @ianthehat @findleyr ) I considered removing Alternatives I considered were
But gopls built in these ways won't have complete version info (runtime/debug.BuildInfo) due to #29228 - which will be less ideal for gopls&vscode-go maintainers when triaging issues. |
Change https://golang.org/cl/354169 mentions this issue: |
`go get` no longer builds/installs binaries in tip. Updates golang/go#46880 Change-Id: I5673368a579d79f571adf5ca5c44c15b8101dbe9 Reviewed-on: https://go-review.googlesource.com/c/tools/+/354169 Trust: Hyang-Ah Hana Kim <hyangah@gmail.com> Reviewed-by: Rebecca Stambler <rstambler@golang.org>
The new instruction based on #46880 (comment) is complicated and not user friendly. We plan to look into a way to simplify it. Current ideas:
|
If #50603 is implemented, we can just utilize That will achieve:
@golang/tools-team |
Neither works quietly. In favor of the experimental workspace module option, can we remove the use of
replace
?The text was updated successfully, but these errors were encountered: