Markus Reiter
1bfd2ac0e2
Fix wrong force
keyword.
2020-12-02 12:28:36 +01:00
Mike McQuaid
9216d8abe6
rubocop-rails: make fixes.
2020-12-02 10:43:04 +00:00
Maxim Belkin
bb944d8a37
cmd/formulae.sh: fix spaces
2020-12-01 12:59:32 -06:00
Mike McQuaid
e6a53f4349
Merge pull request #9354 from maxim-belkin/gnu-sed-compatible-formulae
...
cmd/formulae.sh: compatibility with GNU Sed
2020-12-01 12:41:54 +00:00
Maxim Belkin
ca9ad61dcf
cmd/formulae.sh: compatibility with GNU Sed
2020-12-01 12:03:38 +00:00
EricFromCanada
c65d4617bd
list: deprecate --unbrewed
in favour of brew --prefix --unbrewed
2020-12-01 12:02:45 +00:00
EricFromCanada
0604005405
list: refactor options to catch edge cases
2020-12-01 12:02:44 +00:00
Steve Peters
432e762e9b
Only deprecate "brew list" without arguments
...
It was deprecated in 2.5.7 to accompany the deprecation
of "brew cask" commands, so wait to disable it until
"brew cask" commands are disabled as well.
2020-11-30 17:09:15 -08:00
Markus Reiter
307724d5cd
Fix type error in cmd/cleanup
.
2020-11-29 22:59:10 +01:00
Markus Reiter
a0d6f45bd7
Add signatures for cmd/tap
.
2020-11-29 22:37:24 +01:00
Markus Reiter
1baf98ea69
Add signatures for cmd/--cache
.
2020-11-29 22:37:24 +01:00
Markus Reiter
1b9002c04a
Fix type errors in postinstall
.
2020-11-29 21:23:54 +01:00
Markus Reiter
6750448d95
Fix some auto-correctable type errors.
2020-11-29 21:23:54 +01:00
Markus Reiter
79d6c059fc
Merge pull request #9297 from reitermarkus/brew-typecheck
...
Refactor `brew typecheck` and upgrade `typed` sigils.
2020-11-27 00:01:47 +01:00
Mike McQuaid
844efe591f
Merge pull request #9213 from maxim-belkin/handle-curl-git-better
...
Properly handle outdated cURL
2020-11-26 09:09:20 +00:00
Maxim Belkin
2aecfe60fc
Update logic that handles HOMEBREW_GIT_PATH.
2020-11-25 16:08:57 -06:00
Maxim Belkin
c3231a4095
Apply Mike's suggestions
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-11-25 12:54:18 -06:00
Mike McQuaid
311c10636b
Deprecation fixes
...
- `brew uninstall --zap` replaces `brew cask zap`
- clarify how `--json` should behave
Fixes https://github.com/Homebrew/brew/issues/9296
2020-11-25 16:33:16 +00:00
Markus Reiter
5be4c9b5e0
Upgrade typed
sigils.
2020-11-25 17:04:19 +01:00
Mike McQuaid
f15c4183e0
cmd/list: --formula is no longer a default.
...
This behaviour is disabled.
2020-11-25 13:47:05 +00:00
Mike McQuaid
f364f0c841
Merge remote-tracking branch 'origin/master' into deprecate-cask-commands
2020-11-25 09:39:00 +00:00
Mike McQuaid
fd08ffdd67
cmd/update.sh: update Git logic.
...
Co-authored-by: Maxim Belkin <maxim.belkin@gmail.com>
2020-11-25 08:44:40 +00:00
Maxim Belkin
82ad6a56e9
Address review comments.
2020-11-24 21:01:22 -06:00
Mike McQuaid
d496f5c121
Deprecations for Homebrew 2.6.0
...
Do the usual deprecate/disable dance for the Homebrew 2.6.0 release.
Not to be merged until the next release will definitely be 2.6.0.
2020-11-24 16:44:02 +00:00
Markus Reiter
3c2ec1c60f
Deprecate remaining cask commands.
2020-11-21 19:56:12 +01:00
Maxim Belkin
7c4b1841bc
Use set -e/set +e instead of odie
2020-11-20 18:02:22 -06:00
Mike McQuaid
f42cbebd48
Merge remote-tracking branch 'origin/master' into metacollin/master
2020-11-20 12:45:21 +00:00
Mike McQuaid
c4cc8da39a
cmd/search.rb: add commented-out deprecation.
2020-11-20 12:43:51 +00:00
Mike McQuaid
2a29715042
cmd/formulae.sh: improve and refactor.
2020-11-20 12:43:38 +00:00
Markus Reiter
9140b21d80
Support --cask
flag in brew info
.
2020-11-20 10:36:15 +01:00
Markus Reiter
7dd7d69cd8
Merge pull request #9207 from reitermarkus/brew-zap
...
Add `--zap` flag for `brew uninstall`.
2020-11-20 09:42:13 +01:00
Markus Reiter
bf486c5397
Merge pull request #9212 from reitermarkus/brew-cask-fetch
...
Support casks in `brew fetch`.
2020-11-20 09:32:13 +01:00
metacollin
7b67c000b0
Fix docs
2020-11-19 20:50:34 -07:00
metacollin
e428ca55be
Removed escape \ in front of commands
2020-11-19 20:43:09 -07:00
metacollin
917b4b964f
Declare local variables seperately, split up line for readability.
2020-11-19 20:33:18 -07:00
metacollin
7102cc84b9
Documentation wording fixes
2020-11-19 20:27:19 -07:00
metacollin
87ff28431f
Merge branch 'master' of https://github.com/Homebrew/brew
2020-11-19 20:18:12 -07:00
metacollin
c176f28f39
Added fixes.
2020-11-19 20:18:08 -07:00
Markus Reiter
6d850a97a1
Merge pull request #9182 from reitermarkus/formula-installer
...
Refactor `FormulaInstaller`.
2020-11-19 20:18:57 +01:00
Markus Reiter
7a83f34dd1
Support casks in brew fetch
.
2020-11-19 19:46:59 +01:00
Maxim Belkin
22bc5a94e7
Properly handle outdated cURL
...
`HOMEBREW_CURL_PATH` has an effect only when `HOMEBREW_DEVELOPER` is set. However, the part of `brew.sh` that prints a message about outdated cURL disregards the value of `HOMEBREW_DEVELOPER`, which leads to a misleadnig message telling the user that `HOMEBREW_CURL_PATH` is outdated even though another cURL was used/tested.
This PR fixes it and instructs Homebrew to:
1. Display a warning message when system cURL is outdated and either `HOMEBREW_CURL_PATH` **or `HOMEBREW_DEVELOPER`** are not set. New `HOMEBREW_CURL_WARNING` variable is set to display the above warning only once (useful when `brew` calls itself internally).
2. Display `Installing Homebrew cURL` before auto-installing cURL in `update.sh` (due to `HOMEBREW_FORCE_BREWED_CURL`) and stop/exit if this step fails.
3. Display `Installing Homebrew Git` before auto-installing Git in `update.sh` (due to `HOMEBREW_FORCE_BREWED_GIT`) and stop/exit if this step fails.
2020-11-19 10:14:10 -06:00
Markus Reiter
70dd41cfd8
Add type signatures to BuildEnvironment
.
2020-11-19 16:07:50 +01:00
Markus Reiter
2c47678b05
Add --zap
flag to brew uninstall
and remove brew zap
.
2020-11-19 15:07:59 +01:00
Markus Reiter
f4b4fdac98
Add brew zap
command.
2020-11-19 13:42:02 +01:00
Markus Reiter
5097af3b74
Support --cask
flag in brew uninstall
.
2020-11-18 17:30:34 +01:00
Mike McQuaid
caae165eb2
Improve brew install --quiet
...
- Suppress (some more) warnings when doing `brew install --quiet`
- Clarify `man brew` output that we don't suppress all warnings
for all commands with `--quiet`
While I was doing this I noticed references to the (soon to be
deprecated) `brew switch` so:
- remove these references in `install` output
- remove a reference in the documentation
- add a comment to remind me to deprecate `brew diy`, too
Fixes #9179
2020-11-18 10:13:57 +00:00
Markus Reiter
7c5d8a5288
Refactor FormulaInstaller
.
2020-11-18 09:30:11 +01:00
EricFromCanada
bcdb0c7698
upgrade: show upgradeable dependents during dry run
2020-11-17 18:26:35 -05:00
Markus Reiter
9f458142b7
Merge pull request #9146 from reitermarkus/upgrade
...
Mention `--greedy` when no casks were upgraded.
2020-11-16 22:03:10 +01:00
Markus Reiter
3ee66d8c0d
Add type annotations related to upgrade.
2020-11-16 19:45:15 +01:00