-
-
Notifications
You must be signed in to change notification settings - Fork 10k
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
cask: add statement when upgrade won't be installed #13312
Conversation
Review period will end on 2022-05-24 at 05:44:08 UTC. |
The behavior for normal and |
After looking around a bit, it seems like a message is displayed to the user when they try to upgrade a formula by name that is already up-to-date. ~ ❯❯❯ brew upgrade fish
Warning: fish 3.4.1 already installed Nothing of the sort seems to exist for casks though regardless of the version. |
That's a good point. And it could be worthwhile looking at where else similar statements should be included. It may not be ideal to include this readout when running batch upgrades ( |
Given this: I think it should be probably added for all cases or left for none. |
@MikeMcQuaid I'm happy to leave this for now and come back to it at a later date. My concern here was that there was a change in command behaviour which has the potential to cause confusion (before I looked into it I had assumed the command had broken). |
Fine with me (but stalebot may close it out if it's too long) 👍🏻 |
brew style
with your changes locally?brew typecheck
with your changes locally?brew tests
with your changes locally?Follow up from #13275 to add a statement when the upgrade does not proceed due to the artifact having not changed.
At the moment, if the downloaded artifact has not changed, the upgrade does not proceed, but there is no output provided to the user to explain what has happened.
I'm not sure if this should be behind
odebug
or if the current implementation is correct.CC: @apainintheneck