797 Commits

Author SHA1 Message Date
Shaun Jackman
be11a22d97
Update man pages 2021-02-23 11:31:53 -08:00
Mike McQuaid
22fb25d96d
Enable HOMEBREW_BOOTSNAP for developers
- Enable it by default if you've run a developer command or set
  `HOMEBREW_DEVELOPER`.
- Clarify the documentation that there's various configuration in which
  it doesn't work.

I've rolled this out of most of GitHub's developers with no ill effects
and we've enabled it in both CI and for various maintainers so it feels
appropriate to have a bigger rollout.
2021-02-23 09:35:21 +00:00
Shaun Jackman
7fd6d2166b
Update man pages 2021-02-22 17:58:13 -08:00
Shaun Jackman
2794641a28
Update man pages 2021-02-22 17:24:05 -08:00
Mike McQuaid
3929abcd04
Merge pull request #10640 from MikeMcQuaid/bottle_source_fallback_default
Make HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK default
2021-02-18 17:42:25 +00:00
Nanda H Krishna
53d840c969
Merge pull request #10635 from nandahkrishna/bump-cask-support
dev-cmd/bump: add cask support
2021-02-18 02:35:34 +05:30
Mike McQuaid
22e591e531
Make HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK default
- Remove `HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK` and make the behaviour
  the default. We mostly already do this since we added the need for
  the `--build-from-source` override on macOS. This allows us to
  delete some more code.
- Still fail and require `--build-from-source` when reinstalling or
  upgrading if failing on a formula-specific reason e.g. the CLT is
  not/no longer installed, you're using a non-default prefix.

Fixes #10623
2021-02-17 13:51:53 +00:00
nandahkrishna
24bb6040a7
dev-cmd/bump: add cask support 2021-02-17 00:42:07 +05:30
Mike McQuaid
b85cd133d0
env_config: auto update updates more commands.
e.g. `brew bundle` so let's not claim to list them all.
2021-02-16 09:35:02 +00:00
Jonathan Chang
a946cde4e1
Merge pull request #10615 from jonchang/enhance-sponsors
Update Github sponsor text and logos
2021-02-16 14:06:11 +11:00
Jonathan Chang
4c26b9b17e
Merge pull request #10614 from jonchang/brew-prof-min
prof: needs at least 1 argument
2021-02-15 23:53:59 +11:00
Jonathan Chang
5792a0d1ef Update completions and manpages. 2021-02-15 13:43:40 +11:00
Jonathan Chang
6c2d357c0e prof: needs at least 1 argument 2021-02-14 20:50:15 +11:00
nandahkrishna
810b8e515b
dev-cmd/man: remove diacritics for manpage 2021-02-12 05:41:40 +05:30
miccal
35344476eb README, manpage: update maintainers. 2021-02-09 10:15:36 +00:00
nandahkrishna
90632ce274
dev-cmd/update-maintainers: modify Linux maintainer wording in README 2021-02-08 23:33:25 +05:30
nandahkrishna
7bb059b523
Update manpage and completions 2021-02-08 23:33:25 +05:30
Dawid Dziurla
a90fb27adb
untap: add missing --force switch 2021-02-04 18:36:32 +01:00
Mike McQuaid
d0fa752c69
env_config: update HOMEBREW_BOOTSNAP description.
Note that it is a no-op when using portable ruby.
2021-02-02 15:56:16 +00:00
Mike McQuaid
3b0e8b7cf0
Document HOMEBREW_{,NO_}BOOTSNAP variables. 2021-02-02 12:34:15 +00:00
hyuraku
617ae740fe formula_auditor: repair audit_postgresql message 2021-02-01 21:26:24 +09: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
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
EricFromCanada
6fc116318e fixes for grammar and wording 2021-01-26 16:19:47 -05: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
Mike McQuaid
d0e1c3dc5f
Merge pull request #10400 from issyl0/improve-brew-extract-args
dev-cmd/extract: Improve the usage instructions
2021-01-25 09:55:01 +00:00
Rylan Polster
2c83ea7339
Merge pull request #10370 from Rylan12/brew-release
Add brew release command
2021-01-23 15:35:53 -05:00
Issy Long
49b9b6cf3f
dev-cmd/extract: Improve the usage instructions
- A friend got an error message when trying to use `brew extract` and it
  wasn't immediately obvious to me why. The usage banner only mentioned
  the "formula" argument, which they'd provided. This improves the error
  message when there aren't enough arguments so that others have a
  chance of figuring out how to use this command without having to look
  at the code for `extract_args`.

Before:

```
➜ brew extract --version='1.4' libftdi
Usage: brew extract [--version=] [--force] formula ...
[...]
Error: Invalid usage: this command requires a formula argument
```

After:

```
➜ brew extract --version='1.4' libftdi
Usage: brew extract [options] formula tap
[...]
Error: Invalid usage: This command requires at least 2 named arguments.
```

- I don't like the "at least 2" phrasing here but that's a dive into the
  arg parsing code that I don't have time for right now. An alternative
  was `named_args [:formula, :destination_tap]`, but that gave the error
  message "requires formula or destination_tap" which wasn't great
  either. I also tried `min: 2, max: 2` and that was the same "at least
  2" message.
2021-01-23 20:01:11 +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
be02591cb6
Add brew release command 2021-01-21 18:29:43 -05:00
Mike McQuaid
8cb2cc4bcc
install-bundler-gem: allow on ARM.
Needed for CI:
https://github.com/Homebrew/homebrew-core/pull/69460/checks?check_run_id=1740727396#step:6:32
2021-01-21 10:02:57 +00:00
Mike McQuaid
7360880780
Merge pull request #10375 from MikeMcQuaid/dev-cmd-arm
dev-cmd: disable when broken on Apple Silicon.
2021-01-21 09:01:16 +00:00
Mike McQuaid
3bc31d40bd
dev-cmd: disable when broken on Apple Silicon.
This is better than users getting a weird error.
2021-01-20 14:07:44 +00:00
Rylan Polster
4ef8c8279f
completions: complete files where appropriate in bash 2021-01-19 01:03:05 -05:00
Rylan Polster
862ffb6e8b
Updates after rebase on latest master
I didn't resolve the merge conflict correctly, I believe
2021-01-18 21:29:21 -05:00
Rylan Polster
1e4fef8123
usage string generator: fix handling of dashed-commands 2021-01-18 21:20:12 -05:00
Rylan Polster
c8d32ff75a
Updates after rebase on latest master 2021-01-18 21:20:12 -05:00
Rylan Polster
a9a0c415e7
Cleanup usage strings for flags 2021-01-18 21:20:11 -05:00
Rylan Polster
6f69aab6cf
Cleanup usage string
Include only global args and list the specific options if there are two or fewer.
2021-01-18 21:20:11 -05:00
Rylan Polster
d1f3e39b7b
Update commands to generate usage banner 2021-01-18 21:20:11 -05:00
Issy Long
a0f3545a86
dev-cmd/man: Completely remove --link
- This was deprecated in ec75fbcb65ac151f401ec3fb483a1a1acf63d5e4 in 2016!
2021-01-18 00:57:21 +01:00
Dawid Dziurla
f949d57437
cmd,dev-cmd: regenerate manpages and docs 2021-01-15 13:05:11 +01: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
bed16128cc completions: fix usage text 2021-01-10 16:32:18 -05:00
Rylan Polster
234267cc93 completions: make opt-in only 2021-01-08 11:10:24 -05:00
Mike McQuaid
30d5fc6285
Merge pull request #10259 from kidonng/cask-completion
Add brew casks command
2021-01-08 13:04:53 +00:00