netkit-jh/netkit-jh-build

Update checker / assisted updating

Closed this issue · 1 comments

Is your feature request related to a problem? Please describe.
There is no way of alerting users that there's currently an update. As we're updating Netkit frequently, it will be useful to communicate to our users that there is a new version available.

Describe the solution you'd like
When running lstart, request a file from the build repository to get the current latest file. This should not be done every time, so have a file with the last time the file was checked inside the installation file and only check every 3-7 days. This feature should also be available as a config option, for those who wish not to poll for updates (i.e. CHECK_FOR_UPDATES).

If an update is available, then display a direct link to either the release page or the download link to the install script. We may also wish for functionality to hide the fact that there is a download available, such as a netkit-ignore-update command.

We may also wish to have a Netkit-install-update command which will download the install script and run the install script.

Fixed in 88eb366.

I decided against having a manual install command, downloading the install script isn't too difficult. Could be revisited in the future.