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 set a default source in case a package is found on multiple #1837

Closed
Benjin opened this issue Jan 6, 2022 · 2 comments
Closed
Labels
Issue-Feature This is a feature request for the Windows Package Manager client. Resolution-Duplicate Issue is a duplicate
Milestone

Comments

@Benjin
Copy link

Benjin commented Jan 6, 2022

Description of the new feature / enhancement

I like that the MS Store can be used as a source, but it's annoying when the same package exists on both, and I have to specify the longname. e.g. winget install powershell becomes winget install Microsoft.PowerShell to get that exact match on the winget source's package. I could remove the MS Store source, but I'd rather not because I think that's valuable. Instead, I propose:

winget source set-default winget or winget source set-default msstore

then when I run winget install powershell:

  • if my default source has it, then it automatically installs from the default
  • if default doesn't, but one other does, then it automatically installs from there
  • if default doesn't, but multiple others do, then it shows the existing "Multiple packages found matching input criteria. Please refine the input." message

Proposed technical implementation details

No response

@Benjin Benjin added the Issue-Feature This is a feature request for the Windows Package Manager client. label Jan 6, 2022
@ghost ghost added the Needs-Triage Issue need to be triaged label Jan 6, 2022
@jedieaston
Copy link
Contributor

Duplicate of #1488, maybe you want to move your proposal there?

@ghost
Copy link

ghost commented Jan 6, 2022

@Benjin we've identified this Issue as a duplicate of another one that already exists. This specific instance is being closed in favor of tracking the concern over on the referenced Issue. Thanks for your report! Be sure to add your 👍 to the other issue to help raise the priority.

@ghost ghost closed this as completed Jan 6, 2022
@ghost ghost added Resolution-Duplicate Issue is a duplicate and removed Needs-Triage Issue need to be triaged labels Jan 6, 2022
@denelon denelon added this to the v1.3-Client milestone Jun 21, 2022
This issue was closed.
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. Resolution-Duplicate Issue is a duplicate
Projects
None yet
Development

No branches or pull requests

3 participants