microsoft / microsoft/winget-cli
Support wildcard in `-Version` for `Repair-WinGetPackageManager
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)
PowerShell Module
Description of the new feature / enhancement
I'd like to be able to use Repair-WinGetPackageManager -Version 1.11.* to get the latest version of WinGet 1.11 that is not a pre-release version.
I'd like to be able to use Repair-WinGetPackageManager -Version 1.11.* -IncludePrerelease to get the latest version of WinGet 1.11 that is either a stable release or a pre-release
I'd like to be able to use Repair-WinGetPackageManager -Version 1.11.3* -IncludePrerelease to get the latest version of WinGet 1.11 that matches that pattern (1.11.370-preview)
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
Locate the PowerShell module implementation of Repair-WinGetPackageManager and its version-selection entry point. Verify how -Version and -IncludePrerelease currently handle exact versions, then define completion by supporting the wildcard examples in the issue with the requested stable and prerelease results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100