Kosmorro / kosmorro

A program to calculate your ephemerides.
https://kosmorro.space
GNU Affero General Public License v3.0
60 stars 7 forks source link

Print an alert when a new version is available #264

Closed Deuchnord closed 1 year ago

Deuchnord commented 2 years ago

Is your feature request related to a problem? Please describe. Depending on the way Kosmorro has been installed, we can easily be using an out of date version without being aware of it. It is especially a problem when the currently installed version has a bug that has already been fixed in a later version.

Describe the solution you'd like When we run the kosmorro command, print a text into standard error output (stderr) to notify the user if a new version is available. This can be done by calling the API endpoint at https://kosmorro.space/api/SoftwareApplications/cli.json and checking the softwareVersion value.

Describe alternatives you've considered Check the last version regularly on the official website. Or just forget to check it.

Additional context

Deuchnord commented 1 year ago

This feature is not necessary anymore, since we don't provide AppImage anymore.