microsoft / microsoft/winget-cli

Microsoft Preview applications should not be listed when running winget upgrade or a --preview switch should be added

Open
#1,701 6 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Feature
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Description of the new feature / enhancement

When running winget upgrade I get the following applications listed as not uptodate:
Microsoft Visual C++ 2015-2022 Redistributable (x… Microsoft.VC++2015-2022Redist-x86 14.30.30704.0 14.31.30818.0 winget Microsoft Visual C++ 2015-2022 Redistributable (x… Microsoft.VC++2015-2022Redist-x64 14.30.30704.0 14.31.30818.0 winget Microsoft .NET SDK Microsoft.dotnet 5.4.321.52708 6.1.21.52711 winget
But these seem to be preview versions, e.g. Redistributable 14.31.30818.0 is shipped with Visual Studio 2022 17.1.0 Preview 1.0.
I (and may be all other people too) don't want to install preview versions on a production system.
A switch could be added to allow preview versions to be listed e.g. winget upgrade --preview
Thanks for the help,
Andreas.

Proposed technical implementation details

winget upgrade --preview

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

Start by tracing the winget upgrade command and how it determines and displays available package versions. Review how preview versions are identified, then define whether they are excluded by default or exposed through winget upgrade --preview; done means the requested behavior is covered for both example applications and existing upgrade flows.

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
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.