Skip to content
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

long update command now uses ';' instead of '&&' #15533

Closed
wants to merge 1 commit into from
Closed

long update command now uses ';' instead of '&&' #15533

wants to merge 1 commit into from

Conversation

vitorgalvao
Copy link
Member

As per #15532.
On hold until #15381.

Decided to go ahead and remove the upgrade part as well, since that will stop being needed.

@alebcay alebcay added bug Issue describing a reproducible bug. documentation Issue regarding documentation. and removed bug Issue describing a reproducible bug. labels Dec 2, 2015
@Amorymeltzer
Copy link
Contributor

👍

@jawshooah
Copy link
Contributor

I don't think this is necessary once we remove brew upgrade brew-cask. It's probably a good thing to halt early if brew update fails for some reason.

@vitorgalvao
Copy link
Member Author

Normally I’d agree, but this command is the “fix all” we give users, and every part of it should indeed run (there’s no harm in the later commands running if the earlier commands fail).

For a recent example, a user had an issue that look related to a cask, but later was revealed to be likely related to something wrong with a downloaded/cached version.

Had the && command be used to try and resolve this, the problem would have remained (as #15532 reports), but with the ; command, it was indeed solved.

brew update && brew upgrade do make sense being dependent, but the last ones don’t, since the purpose os this command is to be the “magical” fix for most issues.


As a tangential reference and a small piece of HBC history, this isn’t the first time we had a fix-most-issues-one-liner we could call “magical”.

@adidalal
Copy link
Contributor

adidalal commented Dec 9, 2015

Needs merge conflicts resolved but no longer on hold.

@adidalal adidalal removed the on hold label Dec 9, 2015
@jawshooah
Copy link
Contributor

Merged in 5e79596.

@jawshooah jawshooah closed this Dec 9, 2015
@vitorgalvao vitorgalvao deleted the long-command branch December 9, 2015 22:21
@vitorgalvao
Copy link
Member Author

Thank you. Was just about to start fixing the conflicts.

@miccal miccal removed the documentation Issue regarding documentation. label Dec 23, 2016
@Homebrew Homebrew locked and limited conversation to collaborators May 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants