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

Allow interactive selection before starting upgrades #182

Open
noplanman opened this issue Feb 2, 2021 · 2 comments
Open

Allow interactive selection before starting upgrades #182

noplanman opened this issue Feb 2, 2021 · 2 comments

Comments

@noplanman
Copy link

Using the interactive flag, each download must be confirmed sequentially.
This means that the user must wait for an app to download and install, before getting the choice what to do with the next one.

Example:
I have 10 apps that have an upgrade. 2 of those, i don't want to upgrade right now. I start the interactive mode and must wait through (and manually accept) all upgrades until i get to the apps I don't want to upgrade.

Solution:
Instead of performing the full upgrades sequentially, it would make much more sense to first make the selection for all applicable upgrades and then just perform them all automatically.

@ondrejfuhrer
Copy link
Collaborator

Hello @noplanman
Thank you for your suggestion 👍 It's definitely doable. Would you expect to simply have the questions first (so confirming / denying one by one)

Would you like to update X [y/N]? y
Would you like to update Y [y/N]? N
Would you like to update Z [y/N]? y

some sort of multi-selection? I.e. print out a table and then choose which one to update i.e. by index?

Apps to update:
1. X
2. Y
3. Z

Which apps you would like to update? 1,3

I guess both are valid options, the first one might be a little bit easier 🤔

@noplanman
Copy link
Author

@ondrejfuhrer I was thinking along the lines of your first suggestion, that they get selected one by one, before the actual process of upgrading begins.

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

Successfully merging a pull request may close this issue.

2 participants