20322 Commits

Author SHA1 Message Date
Seeker
924d42e4cb cask: add DSL methods to RBI file 2021-01-05 09:11:31 -08:00
Caleb Xu
199c64d8c2 formula_auditor: prohibit patches in new core formulae only 2021-01-05 09:47:06 -05:00
Mike McQuaid
d278e87d57
Merge pull request #10211 from SeekingMeaning/ast-stanza-text
utils/ast: add `stanza_text` helper function
2021-01-05 11:01:09 +00:00
Mike McQuaid
a805a5ea16
Merge pull request #10197 from carlocab/bottle-error
formula_installer: tweak bottle error message
2021-01-05 09:42:31 +00:00
Mike McQuaid
3e59c0becd
Merge pull request #10198 from mistydemeo/superenv_filter_out_usr_local_if_necessary
superenv: filter out /usr/local on ARM if necessary
2021-01-05 08:51:05 +00:00
Mike McQuaid
d526772d04
Merge pull request #10192 from Rylan12/ubuntu-latest-fixes
style shellcheck fixes (in preparation for ubuntu-20.04)
2021-01-05 08:40:21 +00:00
Michka Popoff
3ae28cee9f
Merge pull request #10207 from iMichka/gperf
gperf: add to uses_from_macos allowlist
2021-01-05 07:59:29 +01:00
Misty De Meo
2a33de7a10
superenv: filter out /usr/local on ARM if necessary 2021-01-04 20:57:16 -08:00
Michka Popoff
d820c9a919
Merge pull request #10203 from SeekingMeaning/bottle-old-checksums
bottle: add `old_checksums` helper function
2021-01-05 01:42:44 +01: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
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
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
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
hyuraku
64d4eb2425 cmd/update-report: fix to show new tag 2021-01-01 17:54:59 +09:00
Rylan Polster
bcac46bccb style: use Homebrew shellcheck if installed 2021-01-01 03:26:08 -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
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
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
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
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
BrewTestBot
3a17c7b5a0
brew vendor-gems: commit updates. 2020-12-31 13:00:44 +00:00
dependabot[bot]
7b977138d5
build(deps): bump rubocop from 1.5.1 to 1.7.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 1.5.1 to 1.7.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v1.5.1...v1.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-31 13:00:43 +00:00
BrewTestBot
ff2de4ca56 Update RBI files for plist. 2020-12-31 07:01:43 +00:00
BrewTestBot
e75f591dee brew vendor-gems: commit updates. 2020-12-31 07:00:47 +00:00