microsoft / microsoft/winget-cli
Microsoft Preview applications should not be listed when running winget upgrade or a --preview switch should be added
Nobody has claimed this yet.
- 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
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 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