winget-cli
winget-cli copied to clipboard
Winget should support deprecating packages AKA hiding packages from search
Description of the new feature / enhancement
Today winget displays all available packages in "winget search". Some packages may want to hide older packages from search if they are deprecated but still want users to be able to download them if they already know their ID. Hence winget should support marking a package as "deprecated" or "hidden from search" to facilitate this scenario.
Proposed technical implementation details
Add a tag/field to package manifests so that a package can be hidden from winget search but can still be installed if the user knows its ID.
Related to:
- #1900
- #2463