195 Commits

Author SHA1 Message Date
BrewTestBot
8706dda241
Update maintainers, manpage and completions.
Autogenerated by the [update-manpage](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-manpage.yml) workflow.
2021-04-19 09:23:24 +00:00
BrewTestBot
73966f4cd5
Update maintainers, manpage and completions.
Autogenerated by the [update-manpage](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-manpage.yml) workflow.
2021-04-17 12:21:10 +00:00
Mike McQuaid
dbe2a96860
Merge pull request #11105 from GauthamGoli/test-auto-cp-bash
Use `shellcheck` on Bash completion file
2021-04-13 12:02:14 +01:00
Gautham Goli
7abfb11a0b Use shellcheck on Bash completion file 2021-04-11 19:02:25 +05:30
BrewTestBot
f645db8dd7
Update maintainers, manpage and completions.
Autogenerated by the [update-manpage](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-manpage.yml) workflow.
2021-04-09 18:04:37 +00:00
Mike McQuaid
d73351251c
Deprecate, disable, delete code for next major/minor version.
Do the usual dance for bumping our major/minor version.
2021-04-09 09:30:36 +01:00
Romain Bossart
09f686f38d fix _brew completion default cache path 2021-04-05 07:30:11 +02:00
Mike McQuaid
0ec1f04e63
GitHub Packages CI upload fixes
- Add `--no-commit` option to `brew pr-pull` and pass to
  `brew pr-upload`
- Use `skopeo` from `PATH` if available (as it takes a while to build on
  CI)
2021-04-02 16:51:18 +01:00
BrewTestBot
1c5f446449
Update maintainers, manpage and completions.
Autogenerated by the [update-manpage](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-manpage.yml) workflow.
2021-04-01 17:14:57 +00:00
Mike McQuaid
d8a2cf9efc
Write tabs to bottle JSON, optionally not bottle
- Write a subset of the tab required for bottles as an annotation.
- Add option on new bottle creation to skip writing tab into bottle
  and instead add it (and other useful metadata) to bottle JSON.
- Read formula information and tab from bottle JSON.
- Write prettier JSON to disk.
- Don't write `HEAD` to tab; this duplicates `HOMEBREW_VERSION`.
- Allow `brew bottle` to use `--json` to generate JSON files from a
  local bottle file.
2021-03-31 09:43:37 +01:00
BrewTestBot
ba2e1733a8
Update maintainers, manpage and completions.
Autogenerated by the [update-manpage](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-manpage.yml) workflow.
2021-03-29 21:04:01 +00:00
BrewTestBot
591e9f6acb
Update maintainers, manpage and completions.
Autogenerated by the [update-manpage](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-manpage.yml) workflow.
2021-03-29 11:47:11 +00:00
Rylan Polster
2b8d19e0bd
audit: limit non-failure cask output 2021-03-22 22:16:54 -04:00
BrewTestBot
f6e5bb7ab6 Update maintainers, manpage and completions.
Autogenerated by the [update-manpage](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-manpage.yml) workflow.
2021-03-22 14:15:11 +00:00
BrewTestBot
0beb952530 Update maintainers, manpage and completions.
Autogenerated by the [update-manpage](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-manpage.yml) workflow.
2021-03-17 10:47:09 +00:00
nandahkrishna
0891a666a2
Update completions 2021-03-16 10:55:34 +05:30
nandahkrishna
fdf7c3136b
Update completions 2021-03-14 01:39:33 +05:30
Mike McQuaid
8e646f6202
pr-upload: support uploading to GitHub Packages.
Use `oras` to create a package tagged with the current version.
2021-03-12 14:09:25 +00:00
Mike McQuaid
3f00d08544
dev-cmd/pr-upload: some refactoring
- make the description more generic/correct
- use "internet archive" over "archive"
- move some logic to a new `GitHubReleases` class (for consistency)
- remove some obvious comments
- extract out and move some constants
2021-03-11 14:49:56 +00:00
BrewTestBot
713a0692ae Update maintainers, manpage and completions.
Autogenerated by the [update-manpage](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-manpage.yml) workflow.
2021-03-04 15:13:05 +00:00
Mike McQuaid
dc1fdc9f8d
Speedup brew --version.
Port `brew --version` to Bash to speed it up.

While we're here:
- remove (now) unused `Tap` Git methods
- use `--quiet` instead of `-q` to be more verbose

Benchmarks:
```
$ hyperfine --min-runs=3 --warmup=2 "git checkout origin/master; brew --version" "git checkout speedup_brew_version; brew --version"
Benchmark #1: git checkout origin/master; brew --version
  Time (mean ± σ):      2.083 s ±  0.004 s    [User: 396.8 ms, System: 597.2 ms]
  Range (min … max):    2.080 s …  2.088 s    3 runs

Benchmark #2: git checkout speedup_brew_version; brew --version
  Time (mean ± σ):     847.9 ms ±  35.2 ms    [User: 100.0 ms, System: 247.9 ms]
  Range (min … max):   824.1 ms … 888.3 ms    3 runs

Summary
  'git checkout speedup_brew_version; brew --version' ran
    2.46 ± 0.10 times faster than 'git checkout origin/master; brew --version'
```
2021-03-04 12:59:42 +00:00
Mike McQuaid
fb1cf8f389
dev-cmd/tap-new: various tweaks.
- `--no-git` and `--branch` don't conflict as `--branch` is still used
  for the GitHub Actions branch even with `--no-git`
- fix some README markdown linting errors
- fix some YAML/GitHub Actions configuration linting errors
2021-03-01 13:40:08 +00:00
BrewTestBot
19d50de8ca Update maintainers, manpage and completions.
Autogenerated by the [update-manpage](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-manpage.yml) workflow.
2021-02-26 18:08:09 +00:00
Shaun Jackman
be11a22d97
Update man pages 2021-02-23 11:31:53 -08: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
nandahkrishna
24bb6040a7
dev-cmd/bump: add cask support 2021-02-17 00:42:07 +05:30
Jonathan Chang
5792a0d1ef Update completions and manpages. 2021-02-15 13:43:40 +11:00
nandahkrishna
7bb059b523
Update manpage and completions 2021-02-08 23:33:25 +05:30
Max Nordlund
fee42c4d5f
Fix typo 2021-02-06 23:10:24 +01:00
Dawid Dziurla
a90fb27adb
untap: add missing --force switch 2021-02-04 18:36:32 +01: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
Muneeb Ahmed
ae70e43aa3 Fix fish shell completion 2021-01-29 00:10:13 -08: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
Mike McQuaid
b14bd7a521
Merge pull request #10434 from jonchang/guard-zsh-completions
zsh: add guards to speed up completions
2021-01-28 09:24:31 +00:00
Mike McQuaid
0fc2e82dd4
Merge pull request #10435 from jonchang/conflict-zsh-completions
zsh: don't complete conflicting options
2021-01-28 09:24:10 +00:00
Rylan Polster
0456516500
Update fish completions to satisfy brew man 2021-01-28 02:03:34 -05:00
Rylan Polster
5b2f8a5a73
Merge pull request #10431 from Rylan12/fish-completions
Generate fish completions automatically
2021-01-27 17:46:34 -05:00
Jonathan Chang
fdda2b3414 zsh: prevent autocompleting conflicting options 2021-01-27 14:54:39 +11:00
Jonathan Chang
f5cc26ffc6 zsh: add guards to speed up completions
If we type `brew install -<TAB>` we shouldn't try to shell out to Ruby
to get a list of formulae for completions.
2021-01-27 14:09:38 +11:00
EricFromCanada
6fc116318e fixes for grammar and wording 2021-01-26 16:19:47 -05:00
Rylan Polster
541a981d37
completions: generate fish completions 2021-01-26 10:47:56 -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
3e8b91679d
completions: generate zsh completions 2021-01-25 13:46:51 -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
Muneeb Ahmed
6a08e273d0 Fix zsh completions for upgrade and reinstall 2021-01-24 20:30:33 -08:00
Seeker
27d32aa2d3 completions/zsh: fix broken zsh tab completion for brew upgrade 2021-01-24 18:04:14 -08:00
Rylan Polster
01e894e9c6
parser: create NumberOfNamedArgumentsError
And commit `brew man` changes
2021-01-23 15:26:21 -05:00