BigOokie / skywire-wing-commander

Wing Commander is a Telegram bot written in GO designed to help the Skyfleet community manage their Skyminers
MIT License
13 stars 5 forks source link

Support automatic updates #16

Closed BigOokie closed 6 years ago

BigOokie commented 6 years ago

Is your feature request related to a problem? Please describe. Automatic detection of new releases and ability to trigger an automatic update via Telegram.

This will help avoid the need for users to access the terminal on their nodes (ie via SSH) to perform an update. Will simplify the update process.

Describe the solution you'd like Enhance the bot to perform periodic (configurable) update checks. The bot should ping GitHub occasionally and see if there is a new version and report availability of a new version to its owner. When a new version is detected the bot should accept a command that would trigger it to download the update in the background.