Mike McQuaid
6bf4cf06e7
Merge pull request #10489 from carlocab/unbrewed
...
cmd/--prefix: ignore shared-mime-info and mactex
2021-02-05 08:54:12 +00:00
Dawid Dziurla
a90fb27adb
untap: add missing --force switch
2021-02-04 18:36:32 +01:00
Mike McQuaid
dbf65770af
cmd/update-report: output to stderr when not a TTY.
...
Otherwise things like `$(brew bundle list --formula)` become a bit
useless as they can auto-update and then will always fail.
2021-02-03 13:31:24 +00:00
Carlo Cabrera
7dd69d2c94
cmd/--prefix: ignore shared-mime-info and mactex
...
The shared-mime-info formula and the mactex cask currently install into
locations that are picked up by `brew --prefix --unbrewed`. This leads
to a very large number of files being found.
Before:
```
❯ brew --prefix --unbrewed | wc -l
206735
```
After
```
❯ brew --prefix --unbrewed | wc -l
3
```
2021-02-02 17:33:54 +00:00
Mike McQuaid
cdf8ff9052
Merge pull request #10266 from gromgit/prefix_non_installed
...
cmd/--prefix: add --installed flag
2021-02-01 09:05:28 +00:00
Adrian Ho
28a8409b6e
cmd/--prefix: add --installed flag
...
This changes the output for uninstalled formulae from Cellar prefix to empty string, so:
```sh
$ brew --prefix abcde python@3.9 tcl-tk
/usr/local/Cellar/abcde/2.9.3_1
/usr/local/opt/python@3.9
/usr/local/Cellar/tcl-tk/8.6.10
$ brew --prefix --installed abcde python@3.9 tcl-tk
/usr/local/opt/python@3.9
$
```
2021-01-31 16:09:43 +08:00
Mike McQuaid
d6957a3acb
Homebrew 3.0.0 deprecations/disables
2021-01-29 19:50:24 +00:00
Rylan Polster
84fc16c1c1
Apply suggestions from code review
...
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2021-01-28 09:10:14 -05:00
Rylan Polster
f508f8dc0c
update: show message prompting brew tap --repair
...
This message is shown when a fetch fails due to a branch rename
2021-01-28 09:10:13 -05:00
Rylan Polster
4bdc11ddc9
tap: fix renamed branches with brew tap --repair
2021-01-28 09:10:13 -05:00
Jonathan Chang
69ecbc3979
cmd/cache: conflict with cask
2021-01-27 14:54:39 +11:00
EricFromCanada
6fc116318e
fixes for grammar and wording
2021-01-26 16:19:47 -05:00
EricFromCanada
2ed324ebc0
use backticks around suggested input, flags, and binaries
2021-01-26 16:19:47 -05:00
EricFromCanada
cd3cb6928b
indent suggested commands on subsequent line
...
and combine sequential puts calls
2021-01-26 15:36:44 -05:00
EricFromCanada
2ae4f11963
reorder command flags
2021-01-26 15:36:44 -05:00
EricFromCanada
a427de5bee
capitalization fixes
...
"curl" is the binary, while "cURL" is the umbrella project.
2021-01-26 15:36:44 -05:00
EricFromCanada
2e982cd2a2
use odie when commands encounter errors
2021-01-26 15:36:43 -05:00
EricFromCanada
f5e1557154
use ofail to set Homebrew.failed
2021-01-26 15:36:43 -05:00
EricFromCanada
571179ff0e
pass second argument to ohai when applicable
2021-01-26 15:36:43 -05:00
Mike McQuaid
703e34f85c
Merge pull request #10420 from vszakats/patch-1
...
cmd/update: suppress curl warnings in certain envs
2021-01-26 10:21:23 +00:00
Viktor Szakats
89eecedbbb
cmd/update: suppress curl warning in certain envs
...
Specifically the warning:
`Failed to set filetime <unixtime> on outfile: Operation not permitted`
when the user's `.curlrc` contains `--remote-time` and the server
returned a `Last-Modified:` header, like in case of the GitHub API.
2021-01-25 19:58:41 +01:00
Rylan Polster
67e03a0675
Improve command descriptions
...
Co-Authored-By: Jonathan Chang <me@jonathanchang.org>
Co-Authored-By: Eric Knibbe <3324775+EricFromCanada@users.noreply.github.com>
2021-01-25 13:46:51 -05:00
Rylan Polster
7f23b55c5e
Cleanup command descriptions
...
Don't have a period within first full sentence of the description
2021-01-25 13:46:35 -05:00
Seeker
9a99c40e37
Fix remaining broken cask options in upgrade
2021-01-22 13:52:42 -08:00
António Meireles
19f41bddfd
Properly allow quarantine in 'upgrade'
...
issue was raised in #9139 for upgrade/reinstall --cask and was then
closed by #10284 . Issue is that #10284 only actually fixed the reinstall
command, leaving behindd the 'upgrade' one which this now fixes.
Signed-off-by: António Meireles <antonio.meireles@reformi.st>
2021-01-22 17:39:19 +00:00
Mike McQuaid
2268e774a4
Merge pull request #10301 from hyuraku/cmd/cleanup_add_desc_about_all_to_prune
...
cmd/cleanup: add description about all to --prune
2021-01-22 14:57:13 +00:00
hyuraku
b4df0d5c10
cmd/cleanup: add desc about all to --prune
2021-01-22 20:53:48 +09:00
Rylan Polster
acede7315a
Merge pull request #10366 from Rylan12/auto-tap-fix
...
Don't tap user-untapped official taps
2021-01-21 15:47:07 -05:00
Mike McQuaid
3acf92cdc7
Merge pull request #10388 from MikeMcQuaid/move_auto_update_secs
...
Move HOMEBREW_AUTO_UPDATE_SECS default definition
2021-01-21 15:55:31 +00:00
Rylan Polster
ecfad29347
tap: write untapped setting only on manual untap
2021-01-21 08:42:22 -05:00
Mike McQuaid
e2f998d3e6
Move HOMEBREW_AUTO_UPDATE_SECS default definition
...
This ensure it'll always be set to a value.
Fixes https://github.com/Homebrew/brew/issues/10386
2021-01-21 13:19:06 +00:00
Mike McQuaid
3f9b213e9c
Merge pull request #10349 from zgracem/fix-shellenv-fish
...
fix `brew shellenv` on fish
2021-01-21 13:07:00 +00:00
Rylan Polster
64816651d0
Only tap homebrew/cask on CaskUnavailableError in brew install
2021-01-20 12:22:31 -05:00
Rylan Polster
d1f3e39b7b
Update commands to generate usage banner
2021-01-18 21:20:11 -05:00
Z. Grace Moreau
a257d046ef
remove spurious call to $fish_pid
2021-01-18 11:20:11 -07:00
Rylan Polster
5286be91cb
Merge pull request #10229 from Rylan12/generate-completions
...
Generate bash completions automatically
2021-01-18 11:47:26 -05:00
Z. Grace Moreau
0dbd4157be
query fish's PID correctly; also output executable names only
2021-01-17 14:25:09 -07:00
Dawid Dziurla
332372469f
cmd: indicate multiple named args in usage banner
2021-01-15 13:04:00 +01:00
Rylan Polster
eebc161ea5
Incorporate suggestions from code review
...
Co-Authored-By: Seeker <meaningseeking@protonmail.com>
2021-01-15 00:13:30 -05:00
Rylan Polster
3af16832d9
Generate bash completions automatically
2021-01-15 00:03:28 -05:00
Rylan Polster
da811373d3
Add named_args DSL for commands
2021-01-13 17:09:42 -05:00
Rylan Polster
701989968d
Merge pull request #10268 from Rylan12/completions-opt-out
...
completions: make opt-in only
2021-01-13 16:08:30 -05:00
Rylan Polster
eb3a662841
completions: clarify that only external tap completions are affected
...
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2021-01-12 16:31:24 -05:00
Rylan Polster
f1f3fdc315
settings: add module for managing git config settings
2021-01-12 16:27:25 -05:00
Seeker
f476bcafcb
upgrade: show formula caveats after casks have been updated
2021-01-11 11:43:11 -08:00
Rylan Polster
e7b369273a
completions: link official taps automatically
2021-01-11 12:27:57 -05:00
Rylan Polster
bed16128cc
completions: fix usage text
2021-01-10 16:32:18 -05:00
Markus Reiter
7236faee25
Properly pass cask options in reinstall
.
2021-01-10 20:19:38 +01:00
Rylan Polster
e9d09c4d8f
tests: add and fix tests
2021-01-08 17:11:20 -05:00
Seeker
b9854bd4cf
rubocops: add unless_multiple_conditions
2021-01-08 10:33:54 -08:00