-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to exclude specific ID from upgrade --all #2177
Comments
I'm aware of #476 , my proposal would be to have a more temporary solution than pinning a package too. Maybe I want a package ignored in my weekly running automated upgrade script, but not necessarily in any other use of the "upgrade -all" option. To be clear, I would love to see both these Options to be implemented simultaneously because they serve different use cases in my understanding. |
Seems like #2014 would accomplish the same thing |
Ah, yes, didn't see that sorry. Would - - nomatch be able to handle multiple Patterns? |
Regex can match multiple using the or operator, yes |
Then I'm closing my Issue as a Duplicate of #2014 |
Description of the new feature / enhancement
I'd like to propose an additional option for "upgrade --all" that would allow to exclude specified programs (most likly via ID) from upgrading, even if a upgrade would be able.
To be clear, I'm speaking of multiple ID capability, not only one:)
The Usecase that prompts me to post this is to exclude programs that are known to have issues.
For Example, Applications like Teams, GOG Galaxy or Discord get detected every time but only throw errors and I'd like to just exlude them from beeing upgraded some times to avoid these Errors.
But it could also be usefull if one's not using a default installation of a Program and needs to follow a specific upgrade way, therefore can't have it beeing upgraded by winget.
The text was updated successfully, but these errors were encountered: