Markus Reiter
e0aa934219
Ensure default cask tap is installed on CaskUnavailableError
.
2020-12-05 03:25:58 +01:00
hyuraku
e2ce4ab1b6
add flags to deps --installed
2020-12-04 10:11:17 +09:00
Mike McQuaid
c23db73e36
Revert "add two flag to deps --installed"
2020-12-03 19:39:32 +00:00
hyuraku
33fccb46ca
add two flag to deps --installed
2020-12-03 16:54:17 +00:00
Mike McQuaid
086ac7f4f7
Merge pull request #9383 from MikeMcQuaid/update-no-shallow
...
update.sh: refuse to update shallow homebrew-core/cask clones.
2020-12-03 15:28:54 +00:00
Mike McQuaid
10e73164f0
update.sh: refuse to update shallow homebrew-core/cask clones.
...
GitHub has requested this as these are extremely expensive operations.
2020-12-03 08:42:09 +00:00
Mike McQuaid
7c309ee7a7
formulae: fix sed extended regex flag on macOS.
...
Closes #9367
Fixes #9388
2020-12-02 17:40:10 +00:00
Markus Reiter
d0feb49a3b
Merge pull request #9379 from reitermarkus/cask-fetch-force
...
Fix wrong `force` keyword.
2020-12-02 17:49:56 +01:00
Mike McQuaid
3821d37997
Merge pull request #9350 from MikeMcQuaid/rubocop-rails
...
Add, enable and fix checks from rubocop-rails.
2020-12-02 11:53:58 +00:00
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