Mike McQuaid 2c133a3d45
Check installed dependents on install and reinstall
It's not sufficient to do this merely on `brew upgrade` because
`brew install` and `brew reinstall` can also result in formulae being
upgraded.

This requires moving logic from `cmd/upgrade.rb` to `upgrade.rb`. To
save you searching the diff the changes that resulted from doing that:

- Query the installed formulae from class state in `FormulaInstaller`
  rather than the (incomplete) list that we passed into it.
- Don't output the "Checking dependents" message. It was there for
  systems and configurations where this is slow but for most users
  and most installations this will be a (annoying, noisy) no-op.

Fixes https://github.com/Homebrew/brew/issues/7860
2020-07-02 12:53:52 +01:00
..
2020-06-25 12:01:52 -04:00
2020-05-18 13:50:46 +01:00
2020-03-10 23:18:40 -04:00
2020-04-07 09:58:26 +01:00
2020-04-14 14:21:53 +01:00
2020-06-23 09:50:45 -04:00
2020-06-25 21:51:39 +08:00
2020-04-12 10:08:35 -05:00
2020-04-27 00:47:24 +01:00
2020-06-18 20:15:07 +02:00
2020-03-13 21:16:18 +00:00