25326 Commits

Author SHA1 Message Date
souleater7
d57c7153e2 Delete outdated references to HEAD 2021-01-04 15:48:23 -08:00
Rylan Polster
7eca0d77cf
Merge pull request #10206 from psobolewskiPhD/patch-1
Correct Formula Cookbook (missing ?)
2021-01-04 11:53:40 -05:00
carlocab
beeb7faaba
formula_installer: tweak no-bottle error message
Follow up to #10183.

This improves the error message displayed when `formula.pour_bottle?` is
false.

Before:

    ❯ brew install python@3.8
    Error: python@3.8: no bottle available!
    The bottle needs the Apple Command Line Tools to be installed.
      You can install them, if desired, with:
        xcode-select --install
    You can try to install from source with e.g.
      brew install --build-from-source python@3.8
    Please note building from source is unsupported. You will encounter build
    failures with some formulae. If you experience any issues please create pull
    requests instead of asking for help on Homebrew's GitHub, Twitter or any other
    official channels.

After:

    ❯ brew install python@3.8
    Error: python@3.8: the bottle needs the Apple Command Line Tools to be installed.
      You can install them, if desired, with:
        xcode-select --install
    You can try to install from source with e.g.
      brew install --build-from-source python@3.8
    Please note building from source is unsupported. You will encounter build
    failures with some formulae. If you experience any issues please create pull
    requests instead of asking for help on Homebrew's GitHub, Twitter or any other
    official channels.
2021-01-04 15:53:50 +00:00
Jonathan Chang
fe01a9f410
Merge pull request #10218 from andreastt/fix-tap-migration-advice
missing_formula: fix cask installation advice on tap migration
2021-01-05 01:15:10 +11:00
Andreas Tolfsen
317c14daa6 missing_formula: fix cask installation advice on tap migration
When an installed formula is missing and its source has migrated
to a new tap, Homebrew warns the user about this, saying:

	You can access it again by running:
	  brew tap new-name
	And then you can install it by running:
	  brew cask install new-name

Unfortunately, the "brew cask install" incantation is deprecated
and the advice won't work:

	Error: Calling brew cask install is disabled! Use brew install [--cask] instead.

This alters the advice to use the new "brew install --cask" notation,
fixing the advice presented to the user.
2021-01-04 13:09:45 +01:00
Seeker
8828b4bd68 utils/ast: add stanza_text helper function 2021-01-03 22:26:19 -08:00
psobolewskiPhD
5159c8f6a6 Correct missing ? in build.with?("qt5")
Correct Messaging section:
missing ? in: build.with?("qt5")
2021-01-04 01:26:08 -05:00
Markus Reiter
4a90a5a5d6
Merge pull request #10199 from reitermarkus/check-https-content
Avoid unnecessary downloads in `audit`.
2021-01-03 00:33:27 +01:00
Michka Popoff
e0b6f4d816 gperf: add to uses_from_macos allowlist 2021-01-02 23:21:14 +01:00
Issy Long
94ced0e315
Merge pull request #10204 from zmoon/patch-1
Add a missing backtick on docs Shell Completion page
2021-01-02 21:14:37 +00:00
Zachary Moon
8dcd2d2ba8
Add a missing backtick 2021-01-02 13:38:31 -05:00
Mike McQuaid
0648082d6e
Merge pull request #10193 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-performance-1.9.2
build(deps): bump rubocop-performance from 1.9.1 to 1.9.2 in /Library/Homebrew
2021-01-02 14:20:59 +00:00
Markus Reiter
e5d656bcce Avoid unnecessary downloads in audit. 2021-01-02 11:09:01 +01:00
Seeker
ec841e7b62 bottle: add old_checksums helper function 2021-01-01 15:23:09 -08:00
Seeker
e5eb6a2646
Merge pull request #10190 from SeekingMeaning/bottle-keep-old
bottle: check actual bottle block contents when `--keep-old`
2021-01-01 10:47:58 -08:00
souleater7
e50e3e4b22 Delete references to devel 2021-01-01 10:16:31 -08:00
Rylan Polster
1af8203e63
Merge pull request #10194 from hyuraku/cmd/update-report_fix-show-new-tag
cmd/update-report: fix to show new tag
2021-01-01 12:30:13 -05:00
hyuraku
64d4eb2425 cmd/update-report: fix to show new tag 2021-01-01 17:54:59 +09:00
Rylan Polster
45255d3b3c manpage: update date 2021-01-01 03:26:18 -05:00
Rylan Polster
bcac46bccb style: use Homebrew shellcheck if installed 2021-01-01 03:26:08 -05:00
Rylan Polster
65df4efd1a workflows/tests: install shellcheck before checking style 2021-01-01 03:25:47 -05:00
BrewTestBot
7d9f051534 Update RBI files for rubocop-performance. 2021-01-01 07:29:27 +00:00
BrewTestBot
670496e29e brew vendor-gems: commit updates. 2021-01-01 07:28:36 +00:00
dependabot[bot]
83449ab26b
build(deps): bump rubocop-performance in /Library/Homebrew
Bumps [rubocop-performance](https://github.com/rubocop-hq/rubocop-performance) from 1.9.1 to 1.9.2.
- [Release notes](https://github.com/rubocop-hq/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-performance/compare/v1.9.1...v1.9.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-01 06:36:14 +00:00
Rylan Polster
635ecbc589
Merge pull request #10178 from Rylan12/documentation-updates
Documentation updates
2020-12-31 14:41:41 -05:00
Seeker
4cbd4f296b bottle: add tests for merge_bottle_spec 2020-12-31 11:29:10 -08:00
Rylan Polster
7e5237ca65
Merge pull request #10184 from Rylan12/disable-python-doctor-message
doctor: disable python symlink message
2020-12-31 13:40:59 -05:00
Seeker
6f606b4e58 bottle: check actual bottle block contents when --keep-old 2020-12-31 09:52:24 -08:00
Sam Ford
425a2a675b
Merge pull request #9519 from vladimyr/livecheck-url-patterns
livecheck: update URL patterns
2020-12-31 12:03:29 -05:00
Mike McQuaid
a2594dfc06
Merge pull request #10189 from MikeMcQuaid/cleanup_faster_prune
cleanup: don't do stale check when passing --prune.
2020-12-31 16:16:46 +00:00
Seeker
acf0ecc7b7
Merge pull request #10175 from SeekingMeaning/ast-helper-cleanup
utils/ast: cleanup
2020-12-31 08:08:36 -08:00
Mike McQuaid
3aea262569
Merge pull request #10163 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.7.0
build(deps): bump rubocop from 1.5.1 to 1.7.0 in /Library/Homebrew
2020-12-31 16:06:45 +00:00
Rylan Polster
e9a44cb96c
Merge pull request #10117 from Rylan12/add-blog-reference-to-release-notes
Add more links to the changelog and blog
2020-12-31 10:46:46 -05:00
Rylan Polster
6133c6602a
docs: use and instead of &
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
2020-12-31 10:44:00 -05:00
Rylan Polster
e04f450684 doctor: disable python symlink message 2020-12-31 10:41:38 -05:00
Mike McQuaid
881cd6a5c4
Merge pull request #10183 from carlocab/clt-bottles
formula_installer: improve no-bottle error message
2020-12-31 15:34:21 +00:00
Sam Ford
2060f13de1
Refactor livecheck strategies around match regex 2020-12-31 09:18:36 -05:00
Dario Vladovic
86fee106a3
livecheck: strengthen URL patterns 2020-12-31 09:14:53 -05:00
Mike McQuaid
0d76400a80
cleanup: don't do stale check when passing --prune.
This speeds up `--prune` fairly considerably.

Before:
```
$ hyperfine --warmup 3 'brew cleanup --prune=365'
Benchmark #1: brew cleanup --prune=365
  Time (mean ± σ):     33.352 s ±  0.654 s    [User: 21.684 s, System: 6.458 s]
  Range (min … max):   31.901 s … 34.096 s    10 runs
```

After:
```
$ hyperfine --warmup 3 'brew cleanup --prune=365'
Benchmark #1: brew cleanup --prune=365
  Time (mean ± σ):      6.821 s ±  0.186 s    [User: 2.225 s, System: 3.926 s]
  Range (min … max):    6.578 s …  7.178 s    10 runs
```

Closes https://github.com/Homebrew/brew/pull/10177/
Fixes https://github.com/Homebrew/brew/issues/10172
2020-12-31 14:00:12 +00:00
Mike McQuaid
7ab50ef6f6
rubocops/homepage: fix frozen string error. 2020-12-31 13:30:24 +00:00
Mike McQuaid
3dcb35d96f
os/mac/pkgconfig_spec: fix brew style. 2020-12-31 13:30:24 +00:00
Mike McQuaid
7cc48a03d5
rubocop: exclude new cop.
This doesn't look good for DSLs.
2020-12-31 13:30:24 +00:00
Mike McQuaid
d4461a2728
style: fix autocorrect.
For some reason this doesn't seem to work without `-A`.
2020-12-31 13:30:24 +00:00
Mike McQuaid
ec23ba0b36
rubocop.yml: require relevant gems.
This avoids RuboCop erroring out.
2020-12-31 13:30:24 +00:00
Mike McQuaid
b889a6bda1
style: output warnings on debug/verbose.
Otherwise this will hide actual errors.
2020-12-31 13:30:23 +00:00
Mike McQuaid
a7b61c645a
Merge pull request #10174 from hyuraku/cmd/reinstall_refactor
cmd/reinstall: refactor about `formula?` and `cask?`.
2020-12-31 13:16:59 +00:00
Mike McQuaid
d03a831e76
Merge pull request #10176 from hyuraku/cmd/deps_refactor
cmd/deps: refactor about `formula?` and `cask?`.
2020-12-31 13:16:36 +00:00
Mike McQuaid
3241e6304d
Merge pull request #10188 from Homebrew/dependabot/bundler/Library/Homebrew/plist-3.6.0
build(deps): bump plist from 3.5.0 to 3.6.0 in /Library/Homebrew
2020-12-31 13:10:42 +00:00
Mike McQuaid
cc50307aca
formula_installer: use existing no bottle text. 2020-12-31 13:09:35 +00:00
BrewTestBot
59360930d3
Update RBI files for rubocop. 2020-12-31 13:00:44 +00:00