microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
22.53k stars 1.39k forks source link

Add `--exclude` option to `upgrade` command to exclude a specific app when upgrading packages using `--all` #4498

Closed AvogatoWizardWhisker closed 1 month ago

AvogatoWizardWhisker commented 1 month ago

Description of the new feature / enhancement

I want to upgrade packages but i don't want to update a specific app. It will be extremely helpful to have --exclude following the name, ID package to exclude when using the winget upgrade --all

image

Proposed technical implementation details

No response

github-actions[bot] commented 1 month ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

Trenly commented 1 month ago

Use winget pin add <ID> to exclude a package from winget upgrade --all https://learn.microsoft.com/en-us/windows/package-manager/winget/pinning

microsoft-github-policy-service[bot] commented 1 month ago

Hello @AvogatoWizardWhisker,

We've identified this as a duplicate of another issue or PR that already exists. This specific instance is being closed in favor of the linked issue. Please add your 👍 to the other issue to raise its priority. Thanks for your contribution!

Template: msftbot/duplicate/closed