25644 Commits

Author SHA1 Message Date
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
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
Mike McQuaid
d8c6624bb7
Merge pull request #10182 from Homebrew/fxcoudert-patch-1
Installation.md: update for ARM
2020-12-31 12:55:57 +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
dependabot[bot]
27cd1c4369
build(deps): bump plist from 3.5.0 to 3.6.0 in /Library/Homebrew
Bumps [plist](https://github.com/patsplat/plist) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/patsplat/plist/releases)
- [Changelog](https://github.com/patsplat/plist/blob/master/CHANGELOG.rdoc)
- [Commits](https://github.com/patsplat/plist/compare/v3.5.0...v3.6.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-31 05:46:09 +00:00
Rylan Polster
b605b3ebe5 docs: further clarify merging workflows
Co-Authored-By: Sam Ford <1584702+samford@users.noreply.github.com>
2020-12-30 21:12:45 -05:00
carlocab
2dedca337e
formula_installer: improve no-bottle error message
Closes #10180.
2020-12-31 01:11:44 +00:00
Rylan Polster
bca13a4926 docs: clarify GitHub merge workflow usage
Co-Authored-By: Sam Ford <1584702+samford@users.noreply.github.com>
2020-12-30 16:22:46 -05:00
Rylan Polster
4186cd94a3
Merge pull request #10168 from Rylan12/shallow-clone-message
update: add notice that unshallowing takes time
2020-12-30 15:10:25 -05:00
Rylan Polster
ac3ce218e3 man: fix style issue 2020-12-30 15:09:00 -05:00
FX Coudert
15fc1962fc
Installation.md: update for ARM 2020-12-30 10:53:40 +01:00
Kid
98c968ea2f Add brew casks command 2020-12-30 10:55:26 +08:00
Dawid Dziurla
ff931c2f2c
Merge pull request #10169 from SeekingMeaning/formula-create-update
formula_creator: update hash syntax
2020-12-30 01:40:17 +01:00
Rylan Polster
07ffa7dda7 docs: clarify squash/merge vs rebase/merge 2020-12-29 13:02:14 -05:00
Rylan Polster
5f7c369bc8 docs: fix wording on manpage for cask options 2020-12-29 13:01:58 -05:00
Rylan Polster
8945803432
Merge pull request #10156 from Rylan12/triage-fix
workflows/triage: fix handling outdated PRs
2020-12-29 09:31:18 -05:00
Mike McQuaid
b3902eb036
Merge pull request #10150 from carlocab/sdk-version-refactor
os/{mac,mac/sdk}: refactor out sdk_version
2020-12-29 14:08:29 +00:00
hyuraku
4238ee8300 cmd/deps: refactor 2020-12-29 21:06:32 +09:00
Seeker
24636d8bea utils/ast: cleanup
- move `add_bottle_stanza!` from `Utils::Bottles` to `Utils::AST`
- add `replace_bottle_stanza!`
- simplify parameters
2020-12-29 03:40:39 -08:00
hyuraku
4f74134169 cmd/reinstall: refactor 2020-12-29 20:40:26 +09:00
carlocab
23a6069e99
os/mac: remove sdk_version 2020-12-29 10:50:10 +00:00
carlocab
a51b105b1d
os/mac/sdk: refactor out sdk_version 2020-12-29 10:50:09 +00:00
Rylan Polster
bc4f5556c7
Merge pull request #10144 from Rylan12/deprecate-disable-documentation
docs: add deprecate/disable/removal documentation
2020-12-29 05:47:21 -05:00
Rylan Polster
c54acefab3
Merge pull request #10147 from Rylan12/rename-cask-args
cli/parser: use - instead of _ in cask args
2020-12-28 22:07:39 -05:00
Markus Reiter
3fdd1b28be
Merge pull request #10151 from reitermarkus/uninstall-quit
Handle running apps in `application.<bundle_id>.<number>.<number>` format.
2020-12-29 03:30:02 +01:00
Mike McQuaid
99ff9b9674
Merge pull request #10164 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.6189
build(deps): bump sorbet from 0.5.6164 to 0.5.6189 in /Library/Homebrew
2020-12-28 23:23:56 +00:00
Seeker
c424201401 formula_creator: update hash syntax 2020-12-28 14:24:01 -08:00
Rylan Polster
34a88a3bb0 update: add notice that unshallowing takes time 2020-12-28 17:18:27 -05:00
Mike McQuaid
b8e43132eb
Merge pull request #10165 from hyuraku/cmd/--cache_refactor
cmd/--cache: refactor
2020-12-28 21:15:53 +00:00
Mike McQuaid
8594fccb69
Merge pull request #10111 from MikeMcQuaid/install-deprecate-env
cmd/install: add comment to deprecate --env.
2020-12-28 20:49:10 +00:00
Sam Ford
8ab6922f8c
Merge pull request #10128 from samford/livecheck-extend-strategy-block-support
Livecheck: Extend strategy block support
2020-12-28 12:25:32 -05:00
Rylan Polster
6d0899f298 release-notes: clarify help text and minor refactor 2020-12-28 11:34:29 -05:00
Rylan Polster
5f887ca934 docs: clarify formula deprecation conditions
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2020-12-28 11:28:17 -05:00
BrewTestBot
28c4dccb0b Update RBI files for sorbet. 2020-12-28 16:06:24 +00:00