go-nv / goenv

:blue_car: Like pyenv and rbenv, but for Go.

Home Page:https://github.com/go-nv/goenv

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

immediate release of new Go versions

ap00rv opened this issue · comments

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.

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?

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.

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.

sorry, I do not know of any such feed.

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)