Feature #11898
open
As a user, I would like to see if a new update of Foreman is out.
Added by Chris Edester over 9 years ago.
Updated over 8 years ago.
Description
It would be nice to see that a new version of Foreman is out, that I can upgrade to.
It might be nice to include this on the about page.
If someone can suggest a json url to poll for the latest version, I may be able to implement this.
Related issues
2 (2 open — 0 closed)
- Translation missing: en.field_release deleted (
63)
I don't think we have any such JSON URL right now, but it would probably be easy to add to the website via https://github.com/theforeman/theforeman.org. The _includes/version.html file is shown on the homepage, but that data could move into something like config.yml so we can update it on release, then add a new version.json
file that uses it.
This might also be a good time to add some opt-in metrics for the project too. The request to the site could (optionally, of course) include some useful data in the headers, such as the current Foreman version, plugins in use (and versions) etc.
This would probably require something to process those headers on the website side - I've not looked at the Jekyll features Dominic mentions though, as to whether that could handle it...
Jekyll's only a templating engine, we have no capability for dynamic behaviour - it can only generate static content.
I think we could host a static json file on *.theforeman.org - a few thoughts:
- we would probably need to provide the list of plugins and their versions, the same for the proxy and its plugins?
- for proxies, we probably need to extend foreman to know the proxy version, atm I don't think we are storing it in the db. (maybe even per feature to include plugins).
- we would need to enable security headers to allow CORS- most likely to *.theforeman.org - similar to gravatar.
- it would be nice to query using GET with the current version numbers, this would allow us to know a bit on our installation base, but not required.
- Assignee set to Ondřej Pražák
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/3238 added
- Related to Feature #14070: Notify user about old discovered hosts added
- Related to Feature #14513: Add a latest news widget that shows the blog RSS feed added
- Status changed from Ready For Testing to New
- Assignee deleted (
Ondřej Pražák)
- Pull request deleted (
https://github.com/theforeman/foreman/pull/3238)
PR was closed in favour of just a news feed in #14513. I'll leave this open as I think the two are distinct, particularly for plugins and minor updates.
Also available in: Atom
PDF