microsoft / microsoft/winget-cli
Improve install flow when a source fails
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Relevant area(s)
WinGet CLI
Description of the new feature / enhancement
If I have a priority order on WinGet sources and a single best result is found in one of the top sources, but a lower source encounters a failure, install the matching best result.
Examples:
I have source "A" first and source "B" second.
- If a single best match is found in source A, and source B fails, install the best match from source A.
- If source A fails and a best match is found in source "B" prompt the user as implemented in the feature referenced below.
Discovered during:
- #6164
Comment on PR:
Proposed technical implementation details
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the WinGet CLI source-priority behavior described here and review the related issue #6164 and the discussion on pull request #6165. Confirm how a best match is selected when a lower-priority source fails, then verify that a single best result from a successful higher-priority source installs while the fallback case still prompts the user.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100