commodore
commodore copied to clipboard
Version Check on Invocation
Context
I observed that users are many times running an outdated version of Commodore. We should add a check on invocation which checks if the installed version of Commodore is up-to-date. This check should be configurable, so that one can choose that this check shouldn't be done (e.g. --disable-version-check
) and it should be non-blocking, should the check not succeed fast enough.
It could compare the version with https://github.com/projectsyn/commodore/releases/latest, this automatically redirects to the latest version (the location
header of the response, could be a HEAD
).
Alternatives
Users running outdated versions of Commodore.