goenv icon indicating copy to clipboard operation
goenv copied to clipboard

immediate release of new Go versions

Open ap00rv opened this issue 1 year ago • 4 comments
trafficstars

Hello, I noticed that goenv consumes information about newly released Go versions automatically. I also noticed there is 1 day delay between release of new Go version and its availability in goenv. I wanted to request if there is any way we can reduce this delay to couple of hours. This will help people to get security patches without waiting for an entire day. Thank you.

ap00rv avatar Apr 03 '24 20:04 ap00rv

That's fair. I wonder if there is a feed we can tie into and react on publish instead of relying on a crontab. Do you know of any?

ChronosMasterOfAllTime avatar Apr 24 '24 18:04 ChronosMasterOfAllTime

yes, we internally use this endpoint for a tool : https://go.dev/dl/?mode=json&include=all&include=stable

you can remove &include=all to get latest two stable versions.

ap00rv avatar Apr 24 '24 19:04 ap00rv

yes, we internally use this endpoint for a tool : https://go.dev/dl/?mode=json&include=all&include=stable

you can remove &include=all to get latest two stable versions.

That's what we are doing in our checker script. What I meant was the trigger instead of being a daily check, react to the actual publish from the go API if they have a feed of some kind.

ChronosMasterOfAllTime avatar Apr 25 '24 20:04 ChronosMasterOfAllTime

sorry, I do not know of any such feed.

ap00rv avatar May 08 '24 15:05 ap00rv

Closing this for now. Daily checks are close as we will get. Eventually would like to retool the whole ecosystem in a higher order cross platform binary (or build the list of versions on the client machine)

ChronosMasterOfAllTime avatar Jun 01 '24 14:06 ChronosMasterOfAllTime