Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow switches to be updated automatically #144

Open
KanjiMonster opened this issue Feb 11, 2025 · 0 comments
Open

allow switches to be updated automatically #144

KanjiMonster opened this issue Feb 11, 2025 · 0 comments

Comments

@KanjiMonster
Copy link
Contributor

To make it easier to users to stay up to date, allow switches to automatically update themselves at scheduled times.

For this to work, we need to have multiple things:

a. store the information about current releases in a machine readable file
b. write a program that reads that information to know if a new release is available
c. have a service that does this at configurable intervals, and update the switch if configured

This can probably implemented in multiple steps:

  1. define a machine readable description of the image (filename, version, supported platforms ...) and publish it at a defined place
  2. allow e.g. bisdn-linux-upgrade to download that, compare it with the installed version, and print if a new version is available
  3. extend e.g. bisdn-linux-upgrade to also use it to trigger the installation
  4. create a service that can be configured to to that at certain times

Optional things I can think of:

  • allow configuring the versions to install/check for (e.g. '', '5.', '5.2.*' etc)
  • pre-download the image once there is one available
  • email? for any events (new version, install is scheduled, install is finished)

Reference: https://github.com/openwrt/asu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant