go-nv / goenv

:blue_car: Like pyenv and rbenv, but for Go.
https://github.com/go-nv/goenv
MIT License
2.05k stars 245 forks source link

immediate release of new Go versions #368

Closed ap00rv closed 3 months ago

ap00rv commented 5 months ago

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.

ChronosMasterOfAllTime commented 4 months ago

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?

ap00rv commented 4 months ago

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.

ChronosMasterOfAllTime commented 4 months ago

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.

ap00rv commented 4 months ago

sorry, I do not know of any such feed.

ChronosMasterOfAllTime commented 3 months ago

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)