Our own auto-updater infrastructure #2164
Closed
tituspijean
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to think through how we can self-host the auto-updater.
Relevant resources:
In the apps' repositories
My initial thinking:
Have an auto-updater.toml file to declare some variables:
How we find about new versions:
Where we find the assets to download (tarball, zipball, assets from a release, other repo [looking at you, Jellyfin])
How often should the auto-updater run
Have Salamandar's
updater.py
or runupdater.sh
with appropriate env variables to run app-specific actions. Hisupdater_lib.py
should be integrated in the core of the auto-updaterArchitecture of the auto-updater
IIRC we host a copy of the repos for the catalog builder. we could tap on that, since it's updated pretty often (~4h). That would prevent us from harassing the forges API to re-download everything.
We could then crawl through all the directories reading the auto-updater.ymls, and copy the directory to a temp dir and work our magic with the scripts described above.
Beta Was this translation helpful? Give feedback.
All reactions