microsoft / microsoft/winget-cli

Support wildcard in `-Version` for `Repair-WinGetPackageManager

Open
#5,704 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Feature PowerShell
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.