-
Notifications
You must be signed in to change notification settings - Fork 57
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
updates.py: use update-system script if available #298
Draft
antonlacon
wants to merge
30
commits into
LibreELEC:master
Choose a base branch
from
antonlacon:auto-update
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I would rather not call an external script. It should be integrated as a python import instead. Then if you want the cli script you can interface with that also. |
antonlacon
force-pushed
the
auto-update
branch
from
October 3, 2023 21:37
c6b863a
to
747036a
Compare
antonlacon
force-pushed
the
auto-update
branch
2 times, most recently
from
November 13, 2023 20:29
2df6360
to
1536689
Compare
General review and cleanup of issues pointed out by pylint: unexpected indent could use f-strings not inializing variables in init redefining builtins too broad exceptions unneeded elses after returns unneeded parantheses == instead of is in evaluating True/False unused function parameters unused imports Signed-off-by: Ian Leonard <[email protected]>
Signed-off-by: Ian Leonard <[email protected]>
Signed-off-by: Ian Leonard <[email protected]>
Signed-off-by: Ian Leonard <[email protected]>
Signed-off-by: Ian Leonard <[email protected]>
Signed-off-by: Ian Leonard <[email protected]>
Addon will require Python >=3.9 Signed-off-by: Ian Leonard <[email protected]>
The release channel entry serves as a releases.json selector. stable: use releases.libreelec.tv/releases.json (stable builds) testing: use test.libreelec.tv/releases.json (nightly builds) custom: use a user designated URL for releases.json The 'custom' setting replaces the Show Custom Channels toggle. Adds a set_release_channel() function to refresh available build channels. Signed-off-by: Ian Leonard <[email protected]>
Signed-off-by: Ian Leonard <[email protected]>
Signed-off-by: Ian Leonard <[email protected]>
Signed-off-by: Ian Leonard <[email protected]>
Signed-off-by: Ian Leonard <[email protected]>
Signed-off-by: Ian Leonard <[email protected]>
Signed-off-by: Ian Leonard <[email protected]>
Signed-off-by: Ian Leonard <[email protected]>
Signed-off-by: Ian Leonard <[email protected]>
Signed-off-by: Ian Leonard <[email protected]>
Signed-off-by: Ian Leonard <[email protected]>
Signed-off-by: Ian Leonard <[email protected]>
Signed-off-by: Ian Leonard <[email protected]>
Signed-off-by: Ian Leonard <[email protected]>
Signed-off-by: Ian Leonard <[email protected]>
Signed-off-by: Ian Leonard <[email protected]>
Signed-off-by: Ian Leonard <[email protected]>
Signed-off-by: Ian Leonard <[email protected]>
Signed-off-by: Ian Leonard <[email protected]>
Signed-off-by: Ian Leonard <[email protected]>
Import /usr/bin/update-system and use it for the system's automated update check. If there is no such script, it uses the server side check. Add an on/off toggle in the GUI with the default set to off. Signed-off-by: Ian Leonard <[email protected]>
Signed-off-by: Ian Leonard <[email protected]>
antonlacon
force-pushed
the
auto-update
branch
from
November 19, 2023 03:24
1536689
to
ecc4889
Compare
Signed-off-by: Ian Leonard <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This changes the automatic check for updates to use
/usr/bin/update-system
if it's present. If not, then it falls back to asking the server for update information (current practice).update-system
's output to include the checksum of the file intended to be downloaded. The addon doesn't do anything with it yet.The other minor bits are some cleanups inside the function.
Needs LibreELEC/LibreELEC.tv#7540 to see new behaviour.
Replaces #276.