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
Add package exclude list for 'winget upgrade --all' #1703
Comments
|
Thanks @jedieaston. I read over #1439 and this issue is definitely similar, but slightly different. I think that issue is mainly wanting a way to ignore all updates to a given package, to be used when In this issue, I would still want to be able to update a given package using So there are two different use cases:
Perhaps the same solution could be used to solve both problems (e.g. there's a single exclude list, but it can be overridden with |
Agreed. I think a flag to override your pins/exclusions would be preferable. |
Duplicate of #476 |
@deadlydog we've identified this Issue as a duplicate of another one that already exists. This specific instance is being closed in favor of tracking the concern over on the referenced Issue. Thanks for your report! Be sure to add your 👍 to the other issue to help raise the priority. |
Isn't the real underlying issue that Thinking in terms of I have the issue right now with VMware Workstation:
Version 16.2.5 was released after 17.0.0 and using 17.0.0 requires a "renewal" of the license key which I don't want to rush at this point. So I can no longer use |
Description of the new feature / enhancement
Sometimes you have a lot of packages to be upgraded, and updating them one at a time is very time consuming and cumbersome. You can use the
winget upgrade --all
feature, but there may be a few specific packages that you don't want updated. For example, there may be packages that you don't want to update for technical reasons (e.g. breaking changes in Ruby v2 to v3), or for other reasons, like your organization requires you to stay on a specific version of MS Office. Ideally, you could define a list of package IDs in the settings json file thatwinget upgrade --all
would ignore.Proposed technical implementation details
Add a new element to the settings.json schema that allows an array of package IDs to be specified which the
upgrade --all
flag excludes from upgrading. If there is an update available for a package defined in the exclude list, theupgrade --all
command displays an information message that there is an update available for the package, but that it won't be installed because it is specified in the exclude list.The text was updated successfully, but these errors were encountered: