-
Notifications
You must be signed in to change notification settings - Fork 910
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
Ability to run "choco upgrade all" ignoring specific packages #293
Comments
Sorry, needed to change the title. It will continue to run when there are errors (which is closely related to the word exception) and I didn't want to confuse myself. |
Can't |
@pyhedgehog It could, but
Same thing for when I don't want to update on specific software, I could also use Otherwise, you are correct that |
Should |
If the process is in use, the package is going to fail. It should however not error on |
After running |
even better would be something like to prevent upgrading all programs which are currently running |
This would be an entirely new and separate feature however (in this specific feature, we simply have to skip the specified ones, but in your suggestion, we'd have to know which executables are linked to which packages). Also, how do you define "running", if there's a background service, or a tray bar program? Still not a bad idea, but I would post and discuss the idea on Google Groups (https://groups.google.com/forum/#!forum/chocolatey) |
Allow passing a list of packages to skip on upgrade. There may be times when you want to process upgrades for everything except for a few applications that you may be currently running, like ConEmu. Not being able to ignore certain packages on upgrade all is problematic, especially when choco upgrades an application while a user is in the middle of using it. This could get quite annoying, especially with something like ConEmu - if you are using it to run upgarde all it will stop processing choco and continue its upgrade. There are other situations where having the ability to ignore certain packages would be very beneficial.
* stable: (GH-293) Upgrade all --except
Example use cases:
cup all -y
using ConEmu. If ConEmu has an update available, it kills the update process as the console restarts. I want to upgrade ConEmu last.cup all
, it closes Skype and stops my call. I want to upgrade Skype laterI suggest adding a new
except
argument to thechoco upgrade
command:Even better would be able to provide a list of exceptions, e.g.:
For the original conversation, see https://groups.google.com/forum/#!topic/chocolatey/kh-qq_4o2UA
The text was updated successfully, but these errors were encountered: