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

Update all #42

Open
q-b opened this issue Aug 14, 2020 · 4 comments
Open

Update all #42

q-b opened this issue Aug 14, 2020 · 4 comments

Comments

@q-b
Copy link

q-b commented Aug 14, 2020

Thank you for this awesome app! Love how snap it is.

Would it be possible to add a way to update all the applications in the UPDATES tab? I understand the limitation on the install part, but triggering all downloads should be easier than going through app one by one.

@mahdi1234
Copy link

Recently updated old (back up) phone after 3 months and it was really painful waiting for all the downloads each at once. This is definitely something which would improve UX a lot :)

@NoahAndrews
Copy link

NoahAndrews commented May 14, 2021

I've made a basic Update All implementation in this commit: REVrobotics@63215c3

For context, I've based the Software Manager app (source code) for the upcoming REV Robotics Driver Hub on Foxy Droid. By the way, thanks for your work on this @kitsunyan!

Some notes on the Update All commit:

  • The design of the Update All button is currently pretty ugly. Our in-house graphic designer will be helping me improve that in the future.
  • One of the things that the Software Manager can do that Foxy Droid can't is install updates without any user interaction (this does not use root or the F-Droid privileged extension).
  • You can entirely ignore the RevUpdateHandler.kt changes in that commit. That code is only useful on the Driver Hub.
  • The Util.kt file will only ever contain code that is not specific to the Driver Hub. If you end up using the queueDownloadAndUpdate() function, you can put it wherever.
  • The queueDownloadAndUpdate() function currently uses a single-threaded Executor, because in the Software Manager, we care a lot about preserving the order that updates get installed in.
  • The commit moves the check for if an update file has already been downloaded from DownloadService.enqueue() to DownloadService.handleDownload(). This is also to help ensure that updates get installed in the correct order.

I'm not planning on preparing a PR to Foxy Droid based on my code, but I'm more than happy to answer questions from anyone who would like to do that, so just let me know!

@mahdi1234
Copy link

Fucking amazing!!!

button is currently pretty ugly

Who cares anyway :)

@octavo
Copy link

octavo commented May 24, 2022

When can we expect this update?

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

4 participants