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

Add "System Update" app and launcher status bar plugin #78

Open
rkunze opened this issue Mar 3, 2017 · 15 comments
Open

Add "System Update" app and launcher status bar plugin #78

rkunze opened this issue Mar 3, 2017 · 15 comments
Assignees
Milestone

Comments

@rkunze
Copy link
Member

rkunze commented Mar 3, 2017

With the new SD card file system layout introduced in 79e363f and the system update script from 8c1f14f, we have the necessary functionality for "Over-the-Air" automatic system updates for the community firmware — we just need a launcher status bar plugin that periodically checks if a new version is available, and a GUI app that displays update metadata (version number etc.) and provides an "Install Update" button.

@rkunze rkunze added this to the v0.9.3 milestone Mar 3, 2017
@rkunze rkunze self-assigned this Mar 3, 2017
@harbaum
Copy link
Member

harbaum commented Mar 3, 2017

Would it perhaps make sense to integrate the functionality of the about app into this new update app? It's already dealing with system versions and licenses.

@ski7777
Copy link
Member

ski7777 commented Mar 3, 2017 via email

@rkunze
Copy link
Member Author

rkunze commented Mar 3, 2017

No, I don't think we should integrate "Update" and "About", even if both apps deal with firmware versions and display information — the functionality is too different: "About" tells the user what is currently installed (i.e. it only displays information), and "Update" installs a new version (i.e it changes the system). I for one would not expect the "Update" functionality in something labelled "About"...

Extending the "About" app to indicate if a new version is available (in the "Firmware" line on the "Versions" page) could be a good idea, though.

@harbaum
Copy link
Member

harbaum commented Mar 3, 2017

Fine for me ... that was just a suggestion.

@harbaum
Copy link
Member

harbaum commented Mar 3, 2017

Such a status bar plugin would import all the qt libraries required to deal with sending http requests. Is the ability to display the update icon really worth the additional load time and memory?

@rkunze
Copy link
Member Author

rkunze commented Mar 3, 2017

Depends - mainly on how much impact the HTTP stuff really has. Do you have any figures for that?

And do we really need to use the Qt HTTP libs? My plan was to use the "native" HTTP support from python (urllib.request).

@ski7777
Copy link
Member

ski7777 commented Mar 3, 2017 via email

@ski7777
Copy link
Member

ski7777 commented Jul 8, 2017

Can anybody check master...ski7777:update-app ? Just the translation is not working and I don't know why

Raphael

@ski7777
Copy link
Member

ski7777 commented Oct 31, 2017

Bump!

@PeterDHabermehl
Copy link
Contributor

Just commented on PR#83 #83
My understanding is that #83 is not ready because of the blocking behavior of the http request. I would like to close PR83 and leave this issue open.
Any objections?

@harbaum
Copy link
Member

harbaum commented May 15, 2018

Agreed

@ski7777
Copy link
Member

ski7777 commented Aug 29, 2018

I will update master...ski7777:update-app in the next few days, maybe tonight. Then we have an extended update script that helps to check the update progress. The newly introduced update app can show the progress so the user won't interrupt the update progress because he things it's stuck. In normal mode the app can just update to current stable version. If a snapshot version is installed or the app is started with a special argument you can pick from all versions.

Raphael

@ski7777 ski7777 modified the milestones: v0.9.3, V1.0 Dec 9, 2018
@ski7777
Copy link
Member

ski7777 commented Dec 19, 2022

New discussion here:
Do we need an update app?
Features?
Separate app? Settings app?
...

@ski7777 ski7777 assigned hypnotoad and ski7777 and unassigned rkunze Dec 19, 2022
@ski7777
Copy link
Member

ski7777 commented Dec 30, 2022

postponing to 1.1

@ski7777 ski7777 modified the milestones: V1.0, v1.1 Dec 30, 2022
@hypnotoad
Copy link
Collaborator

System updates work reliably via the command line. Maybe it would be time to have a look at this again now.

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

No branches or pull requests

5 participants