-
Notifications
You must be signed in to change notification settings - Fork 18k
proposal: cmd/dist: cli based upgrades #53596
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
how often do you update go sdk? I rarely do it. maybe one year, I guess. |
There is already |
You could certainly build this on top of https://pkg.go.dev/golang.org/dl, like @ericlagergren says. Note that there is also https://go.dev/dl/?mode=json to quickly get the information on what the latest stable version is. I agree that a nice UX would be useful to some people, but I'm not convinced that this needs to be part of Go itself - |
I worry that this would integrate poorly with package managers like Homebrew, apt, etc. |
I really like the idea of having a simple upgrade command. Go stands for simplicity but there is no simple option to upgrade itself. What is the reason against a go upgrade? |
Duplicate of #27700 |
Cheers @seankhliao - tried a number of keywords but couldn't find an existing issue. |
This proposal has been added to the active column of the proposals project |
I think this issue should be taken off the proposals list and #27700 added in its place. |
This proposal is a duplicate of a previously discussed proposal, as noted above, |
A number of the programming languages I use support upgrade paths built into their tooling which has made keeping up to date extremely easy. This is definitely more of a ✨nice to have✨ for developer experience.
Benefits
go.dev
, twitter or rss release feeds to know when a new version is out.Prior Art
flutter upgrade
rustup upgrade
ember update
but this is little different as these are libraries/frameworks than a language.Example
The following example pinched from the Flutter upgrade flow:
The text was updated successfully, but these errors were encountered: