Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notify in case of availability of new version in admin section / UI #2986

Open
lenucksi opened this issue Apr 16, 2016 · 5 comments
Open

Notify in case of availability of new version in admin section / UI #2986

lenucksi opened this issue Apr 16, 2016 · 5 comments
Labels
⛔ do not send pull request Don't ever think about it! 🔨 enhancement Make it better, faster

Comments

@lenucksi
Copy link

As a person responsible for a Gogs deploment I would like to know whenever there is a new version without having to visit the Gogs.io site, GitHub or an RSS feed.
Thus I would like to be notified in the Gogs UI once a new version becomes available.

Such a notification could be placed in the Admin-Section or somewhere at the top once a user is logged in.

@bkcsoft
Copy link
Contributor

bkcsoft commented Apr 16, 2016

How often should it check? GitHub has a rate-limit of 60 requests per hour for non-authenticated release-fetching 😄

@unknwon how about using that for automated updates? the release files should include everything we need for updates 😄

@lenucksi
Copy link
Author

Maybe it would suffice to put some json file in the website branch or some other webhost that is updated upon a new release. That way one would not run into API limits...

@bkcsoft
Copy link
Contributor

bkcsoft commented Apr 18, 2016

Easiest and most reliable is github API. And having a worker check once per hour isn't hard to do.

@unknwon what do you think?

@unknwon unknwon changed the title Notify in case of availability of new in admin section / UI Notify in case of availability of new version in admin section / UI Apr 20, 2016
@unknwon unknwon added the 🔨 enhancement Make it better, faster label Apr 20, 2016
@denisz1
Copy link

denisz1 commented Jun 5, 2016

+1
But keep it simple, just have a link "check for updates", no need to continually poll. Link can point to latest release page.

@bkcsoft
Copy link
Contributor

bkcsoft commented Aug 19, 2016

Apparently... Github has Atom-feeds for releases... https://github.com/gogits/gogs/releases.atom :trollface:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⛔ do not send pull request Don't ever think about it! 🔨 enhancement Make it better, faster
Projects
None yet
Development

No branches or pull requests

4 participants