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.54k stars 1.39k forks source link

winget update exclusion list #4452

Closed rajeshjaga closed 1 month ago

rajeshjaga commented 1 month ago

Description of the new feature / enhancement

While using the command winget update to update the all apps there are few apps we would like to hold back from updating. It would be great to pass in a list of app ids or app names that should be excluded from the winget update.

Proposed technical implementation details

Take in an array/list and diff them with the app updates available, take the excluded list from that are available only in the updates available and update only this list

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

You can exclude apps from winget upgrade --all using the winget pin command

denelon commented 1 month ago

Duplicate of #1703

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

Hello @rajeshjaga,

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