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

Ability to select installer when multiple matches are returned. #1620

Open
denelon opened this issue Oct 21, 2021 · 9 comments
Open

Ability to select installer when multiple matches are returned. #1620

denelon opened this issue Oct 21, 2021 · 9 comments
Labels
Issue-Feature This is a feature request for the Windows Package Manager client.

Comments

@denelon
Copy link
Contributor

denelon commented Oct 21, 2021

I ran into the same problem today. I would expect it to be interactive like:

"Multiple packages matched your query. Please select one of the following:
[1] Microsoft.Powershell
[2] Microsoft.PowerShell-Preview"

Anyway thanks for the awesome work 💪

Originally posted by @marvinpuethe in #282 (comment)

@ghost ghost added the Needs-Triage Issue need to be triaged label Oct 21, 2021
@denelon denelon added Issue-Feature This is a feature request for the Windows Package Manager client. and removed Needs-Triage Issue need to be triaged labels Oct 21, 2021
@jedieaston
Copy link
Contributor

How would this work if winget was running non-interactively?

@denelon
Copy link
Contributor Author

denelon commented Oct 21, 2021

That's a great question, I was thinking about that, and haven't come up with the "best" solution yet. With the import command, the Id and source are specified.

@denelon
Copy link
Contributor Author

denelon commented Oct 21, 2021

Another example for this in an unrelated issue:
#301 (comment)

@SirusCodes
Copy link

Another example for this in an unrelated issue: #301 (comment)

This kind of solution is fine I feel. Are there any plans to integrate it? maybe I can work on it

@denelon
Copy link
Contributor Author

denelon commented Aug 5, 2022

@SirusCodes we would love to have a community contributed solution. The first step would be to draft a spec so we can take feedback on the proposed implementation. There is a template and there are a few examples in the specs folder. Please create a draft PR when you're ready for review and feedback 😊

@denelon
Copy link
Contributor Author

denelon commented Aug 5, 2022

I think we would want a feature toggle and some discussion about how an interactive command might work. Some users may also prefer the current experience so they can continue having scripted solutions which don't support interactive behaviors. I'd expect that to be controlled by some kind of setting with a rational default behavior/setting.

@SirusCodes
Copy link

If they have scripted solutions, they would be using IDs and won't ever see this interactive option while using scripts. I don't see a need for a feature toggle 🤔

@danny007in
Copy link

any progress

@SirusCodes
Copy link

any progress

#2650 you can see the spec here and further updates will be on this PR I guess

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature This is a feature request for the Windows Package Manager client.
Projects
None yet
Development

No branches or pull requests

4 participants