contour icon indicating copy to clipboard operation
contour copied to clipboard

Optionally auto-check for new releases (on github release page) every N interval

Open christianparpart opened this issue 3 years ago • 2 comments
trafficstars

The API seems pretty simplistic:

curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/contour-terminal/contour/releases/latest

Documentation: here.

This should not be seen as calling home. So just check against neutral distributor release page (Github releases) every, say, 1-2 weeks (configurable) and if a new release has been found, drop a note into the newly spawned terminal window's initial screen (or OS-notification bubble?).

Should be off by default.

christianparpart avatar Apr 19 '22 10:04 christianparpart

Please also make sure if you implement that to handle cases where accessing the GitHub API results in HTTP errors because you are in an environment where too many people are blasting the API and non-authenticated requests are rejected 24/7 :wink:

whisperity avatar Apr 25 '22 07:04 whisperity

Please also make sure if you implement that to handle cases where accessing the GitHub API results in HTTP errors because you are in an environment where too many people are blasting the API and non-authenticated requests are rejected 24/7 😉

of course :)

christianparpart avatar Apr 25 '22 11:04 christianparpart