Feature #11898
openAs a user, I would like to see if a new update of Foreman is out.
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.
Updated by Dominic Cleal over 9 years ago
- 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.
Updated by Dominic Cleal over 9 years ago
Another thought, Jekyll has useful features for storing data which would be better than my config.yml suggestion. The data could be more structured then if you wanted, showing the latest release per major version or something (so 1.8 => 1.8.4 etc).
http://jekyllrb.com/docs/datafiles/ and http://jekyllrb.com/docs/collections/ have more details.
Updated by Greg Sutcliffe over 9 years ago
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...
Updated by Dominic Cleal over 9 years ago
Jekyll's only a templating engine, we have no capability for dynamic behaviour - it can only generate static content.
Updated by Ohad Levy over 9 years ago
- 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.
Updated by The Foreman Bot almost 9 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/3238 added
Updated by Lukas Zapletal almost 9 years ago
- Related to Feature #14070: Notify user about old discovered hosts added
Updated by Dominic Cleal over 8 years ago
- Related to Feature #14513: Add a latest news widget that shows the blog RSS feed added
Updated by Dominic Cleal over 8 years ago
- 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.