x/website: https://golang.org/dl/?mode=json&include=all to https://golang.org/dl/releases.json #45800
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
website
Milestone
The releases json file is used by a bunch of tools like rules_go to get a list of go releases.
The current URL works fine for many cases, but trips up mirror sites, for example if you use Artifactory to cache the URL it won't refresh the cache as it doesn't understand the URL format.
Given the comments in the original issue (#23746 (comment)):
Would it be acceptable to provide this at an alternate URL like the originally proposed https://golang.org/dl/releases.json? Probably makes sense to mirror both the
include=all
and the normal releases (see #29380).This would also make things like
curl -O
work more nicely (as the downloaded name would bereleases-all.json
rather than?mode=json&include=all
.Proposal:
The text was updated successfully, but these errors were encountered: