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

x/website: Managing Go installations is out of date #47939

Closed
lu4p opened this issue Aug 24, 2021 · 2 comments
Closed

x/website: Managing Go installations is out of date #47939

lu4p opened this issue Aug 24, 2021 · 2 comments
Labels
Documentation FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@lu4p
Copy link

lu4p commented Aug 24, 2021

With go 1.17 go get doesn't install binaries anymore (see https://golang.org/doc/go-get-install-deprecation)

The documentation at https://golang.org/doc/manage-install is out of date it should use the new go install syntax:
go install golang.org/dl/go1.10.7@latest

instead of the current go get golang.org/dl/go1.10.7 which errors:

go get: installing executables with 'go get' in module mode is deprecated.
        Use 'go install pkg@version' instead.
        For more information, see https://golang.org/doc/go-get-install-deprecation
        or run 'go help get' or 'go help install'.
@gopherbot gopherbot added this to the Unreleased milestone Aug 24, 2021
@fzipp
Copy link
Contributor

fzipp commented Aug 24, 2021

Other instances of deprecated go get usage on the website: #43684 (comment)

@toothrot toothrot added NeedsFix The path to resolution is known, but the work has not been done. Documentation labels Aug 24, 2021
@gopherbot
Copy link

Change https://golang.org/cl/347211 mentions this issue: _content/doc: update multiple go install instructions

@rsc rsc unassigned codyoss Jun 23, 2022
passionSeven added a commit to passionSeven/website that referenced this issue Oct 18, 2022
In 1.17 users are presented with a deprecation warning when using
go get like this. Now go install is more appropriate.

Fixes golang/go#47939
Updates golang/go#43684

Change-Id: Ia5530cfd432d216029b6618d55488de89eaff835
Reviewed-on: https://go-review.googlesource.com/c/website/+/347211
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Website-Publish: DO NOT USE <dmitshur@google.com>
Trust: Cody Oss <codyoss@google.com>
@golang golang locked and limited conversation to collaborators Jun 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Documentation FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

5 participants