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

upgrade: tell people that --all is a no-op. #1202

Merged
merged 1 commit into from
Oct 1, 2016
Merged

upgrade: tell people that --all is a no-op. #1202

merged 1 commit into from
Oct 1, 2016

Conversation

MikeMcQuaid
Copy link
Member

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same change?
  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes? Here's an example.
  • Have you successfully run brew tests with your changes locally?

Apparently this is still run by people so let's tell them to save some typing.

CC @alyssais and @DomT4 who mentioned this.

Apparently this is still run by people so let's tell them to save
some typing.
@MikeMcQuaid MikeMcQuaid added the in progress Maintainers are working on this label Oct 1, 2016
@@ -23,6 +23,14 @@ def upgrade

Homebrew.perform_preinstall_checks

if ARGV.include?("--all")
opoo <<-EOS.undent
We decided to not change the behaviour of `brew upgrade` so
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could probably be compressed into a simple:

opoo "`--all` on `brew upgrade` is no longer necessary."

but if you're happy with the longer explanation, 👍.

@MikeMcQuaid MikeMcQuaid merged commit 32e992a into Homebrew:master Oct 1, 2016
@MikeMcQuaid MikeMcQuaid removed the in progress Maintainers are working on this label Oct 1, 2016
@MikeMcQuaid
Copy link
Member Author

Will keep it verbose for now as people may get confused otherwise and slim down in future.

@MikeMcQuaid MikeMcQuaid deleted the warn-brew-upgrade-all branch October 1, 2016 17:23
alrra added a commit to alrra/dotfiles that referenced this pull request Oct 5, 2016
 " Warning: We decided to not change the behaviour of `brew upgrade`
   so `brew upgrade --all` is equivalent to `brew upgrade` without
   any other arguments (so the `--all` is a no-op and can be removed) "

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Ref: Homebrew/brew#1202
wingy3181 added a commit to wingy3181/dotfiles that referenced this pull request Oct 12, 2016
" Warning: We decided to not change the behaviour of `brew upgrade`
  so `brew upgrade --all` is equivalent to `brew upgrade` without
  any other arguments (so the `--all` is a no-op and can be removed) "

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Ref: Homebrew/brew#1202
Cherry-picked from
alrra@dc68579
@Homebrew Homebrew locked and limited conversation to collaborators May 3, 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.

4 participants