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

cmd/go: golang.org/dl/?mode=json&include=all drops unstable versions #43975

Closed
myitcv opened this issue Jan 28, 2021 · 4 comments
Closed

cmd/go: golang.org/dl/?mode=json&include=all drops unstable versions #43975

myitcv opened this issue Jan 28, 2021 · 4 comments
Labels
FrozenDueToAge GoCommand cmd/go NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.

Comments

@myitcv
Copy link
Member

myitcv commented Jan 28, 2021

What version of Go are you using (go version)?

$ go version
go version devel +cd176b3615 Wed Jan 27 12:18:00 2021 +0000 linux/amd64

Does this issue reproduce with the latest release?

Yes

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/myitcv/.cache/go-build"
GOENV="/home/myitcv/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/myitcv/gostuff/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/myitcv/gostuff"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/myitcv/gos"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/myitcv/gos/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="devel +cd176b3615 Wed Jan 27 12:18:00 2021 +0000"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/tmp/tmp.MBLQ66sMZY/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build3624228031=/tmp/go-build -gno-record-gcc-switches"

What did you do?

go1.16rc1 has just been released. But this appears to have caused go1.16beta1 to be dropped from: https://golang.org/dl/?mode=json&include=all.

This is turn has caused any GitHub actions builds that have go1.16beta1 in their build matrices, kicked off since the release of rc1, to fail.

What did you expect to see?

Is there any harm in retaining all published versions in the JSON index?

What did you see instead?

Per above.

cc @toothrot

@myitcv myitcv added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. GoCommand cmd/go labels Jan 28, 2021
@WillAbides
Copy link
Contributor

I hope to see this merged soon. In the mean time I made an unfiltered version available at https://github.com/WillAbides/goreleases

@gopherbot
Copy link

Change https://golang.org/cl/290310 mentions this issue: internal/dl: include old unstable release in archive

@mvdan
Copy link
Member

mvdan commented Feb 7, 2021

It appears this is a duplicate of #37581, as @seankhliao found out. I assume we should close this newer one, as the old one was already confirmed as a bug :)

@myitcv
Copy link
Member Author

myitcv commented Feb 7, 2021

Agreed.

@myitcv myitcv closed this as completed Feb 7, 2021
gopherbot pushed a commit to golang/website that referenced this issue Apr 5, 2021
Updates golang/go#17574
Fixes golang/go#37581
Fixes golang/go#43975

Change-Id: I31cab4b8f8277b3c83ddde001f2649bb5f0bc9c7
Reviewed-on: https://go-review.googlesource.com/c/website/+/290310
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Trust: Carlos Amedee <carlos@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
@golang golang locked and limited conversation to collaborators Feb 7, 2022
passionSeven added a commit to passionSeven/website that referenced this issue Oct 18, 2022
Updates golang/go#17574
Fixes golang/go#37581
Fixes golang/go#43975

Change-Id: I31cab4b8f8277b3c83ddde001f2649bb5f0bc9c7
Reviewed-on: https://go-review.googlesource.com/c/website/+/290310
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Trust: Carlos Amedee <carlos@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge GoCommand cmd/go NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

4 participants