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
Dietpi-Software | UrBackup Server: Grab latest version string automatically #2783
Comments
@DeathIsUnknown I tried to find a "latest" download link but couldn't find it until now. This is probably something to address to the UrBackup devs which also allows them to update without having to change their websites download links. |
Hmm there is actually the dir https://hndl.urbackup.org/Server/latest/ but the files inside still contain version strings. But probably we can scrape the version string from there. I have to run some tests about this. |
I hijacked the other PR to add the new UrBackup version: #2779 |
Just tried to get this working on my end. Here's what I've come up with so far: Here's the This is the output:
Which downloads the latest version:
Subsequent runs of the command prevents fetching the file multiple times:
|
@DeathIsUnknown
|
@MichaIng Love it! |
Done: 220cf13 |
There is a new version of UrBackup server available (2.3.8). Download it here
Might it be possible to use the
latest
endpoint, rather than manually specifying versions? e.g.https://hndl.urbackup.org/Server/latest/urbackup-server_X.X.X_ARCH.deb
. There is probably good reason to manually specify versions that I'm unaware of.Required Information
DietPi version | 6.22.3
The text was updated successfully, but these errors were encountered: