Mike McQuaid
7857993e07
Merge pull request #10374 from MikeMcQuaid/bootsnap
...
Add HOMEBREW_BOOTSNAP to optionally use Bootsnap
2021-01-21 15:31:39 +00:00
Rylan Polster
ecfad29347
tap: write untapped setting only on manual untap
2021-01-21 08:42:22 -05:00
Mike McQuaid
e2f998d3e6
Move HOMEBREW_AUTO_UPDATE_SECS default definition
...
This ensure it'll always be set to a value.
Fixes https://github.com/Homebrew/brew/issues/10386
2021-01-21 13:19:06 +00:00
Mike McQuaid
e11a008862
Merge pull request #10383 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.6223
...
build(deps): bump sorbet from 0.5.6216 to 0.5.6223 in /Library/Homebrew
2021-01-21 13:09:50 +00:00
Mike McQuaid
3df76251d8
Merge pull request #10382 from Homebrew/dependabot/bundler/Library/Homebrew/concurrent-ruby-1.1.8
...
build(deps): bump concurrent-ruby from 1.1.7 to 1.1.8 in /Library/Homebrew
2021-01-21 13:09:35 +00:00
Mike McQuaid
3f9b213e9c
Merge pull request #10349 from zgracem/fix-shellenv-fish
...
fix `brew shellenv` on fish
2021-01-21 13:07:00 +00:00
Mike McQuaid
15761a283d
cleanup: raise failures and handle later.
...
These are already handled and outputted as a group in `cmd/cleanup.rb`.
Fixes https://github.com/Homebrew/brew/issues/10379
2021-01-21 13:03:52 +00:00
Mike McQuaid
683ae7ff53
Add HOMEBREW_BOOTSNAP to optionally use Bootsnap
...
> Bootsnap is a library that plugs into Ruby, with optional support
> for ActiveSupport and YAML, to optimize and cache expensive
> computations.
https://github.com/Shopify/bootsnap
For our case that translates to "repeated calls to `brew` have
reductions in the time spend `require`ing speeding up the process
boot time".
For example:
```
$ hyperfine --warmup=2 "unset HOMEBREW_BOOTSNAP; brew info wget" "export HOMEBREW_BOOTSNAP=1; brew info wget"
Benchmark #1 : unset HOMEBREW_BOOTSNAP; brew info wget
Time (mean ± σ): 2.417 s ± 0.032 s [User: 659.0 ms, System: 855.5 ms]
Range (min … max): 2.382 s … 2.464 s 10 runs
Benchmark #2 : export HOMEBREW_BOOTSNAP=1; brew info wget
Time (mean ± σ): 1.862 s ± 0.064 s [User: 425.3 ms, System: 566.8 ms]
Range (min … max): 1.736 s … 1.952 s 10 runs
Summary
'export HOMEBREW_BOOTSNAP=1; brew info wget' ran
1.30 ± 0.05 times faster than 'unset HOMEBREW_BOOTSNAP; brew info wget'
```
2021-01-21 12:34:04 +00:00
Mike McQuaid
c7e9fdc839
Merge pull request #10384 from MikeMcQuaid/exceptions-termsig
...
exceptions: more handling of nil status.
2021-01-21 12:08:36 +00: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
51b149b8ee
exceptions: more handling of nil status.
...
This was occurring on ARM CI.
2021-01-21 08:30:36 +00:00
BrewTestBot
7ba8809722
Update RBI files for sorbet.
2021-01-21 05:53:17 +00:00
BrewTestBot
6c85970435
brew vendor-gems: commit updates.
2021-01-21 05:52:29 +00:00
BrewTestBot
47db90603f
Update RBI files for concurrent-ruby.
2021-01-21 05:50:01 +00:00
BrewTestBot
3312767cd5
brew vendor-gems: commit updates.
2021-01-21 05:49:11 +00:00
dependabot[bot]
a395e8b5cd
build(deps): bump sorbet from 0.5.6216 to 0.5.6223 in /Library/Homebrew
...
Bumps [sorbet](https://github.com/sorbet/sorbet ) from 0.5.6216 to 0.5.6223.
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-21 05:47:19 +00:00
dependabot[bot]
bc54f1a7c9
build(deps): bump concurrent-ruby in /Library/Homebrew
...
Bumps [concurrent-ruby](https://github.com/ruby-concurrency/concurrent-ruby ) from 1.1.7 to 1.1.8.
- [Release notes](https://github.com/ruby-concurrency/concurrent-ruby/releases )
- [Changelog](https://github.com/ruby-concurrency/concurrent-ruby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ruby-concurrency/concurrent-ruby/compare/v1.1.7...v1.1.8 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-21 05:47:05 +00:00
Jonathan Chang
1e04cce19b
version: fix type signature
...
Fixes type error:
Parameter 'val': Expected type T.any(String, Version), got type PkgVersion
2021-01-21 16:11:37 +11:00
Seeker
bd25e7da2a
utils/git_repository: add ::git_branch and ::git_commit_message
2021-01-20 17:34:54 -08:00
Seeker
4b5b1f61a3
Merge pull request #10365 from SeekingMeaning/git-repo-shared-examples
...
git_repository_spec: group together shared examples
2021-01-20 16:32:25 -08:00
Rylan Polster
64816651d0
Only tap homebrew/cask on CaskUnavailableError in brew install
2021-01-20 12:22:31 -05:00
Rylan Polster
ebba369887
Tap: add untapped_official_taps method
2021-01-20 12:02:24 -05:00
Seeker
e42e98108b
Merge pull request #10348 from SeekingMeaning/livecheck-actual-version
...
livecheck: compare actual version for casks
2021-01-20 07:44:33 -08:00
Rylan Polster
e172f0704e
Merge pull request #10360 from Rylan12/bash-completions-files
...
completions: complete files where appropriate in bash
2021-01-20 09:19:25 -05: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
BrewTestBot
d69deb0b71
Update RBI files for codecov.
2021-01-20 05:59:16 +00:00
BrewTestBot
3d5e19b890
brew vendor-gems: commit updates.
2021-01-20 05:58:28 +00:00
dependabot[bot]
393c337a49
build(deps): bump codecov from 0.2.15 to 0.3.0 in /Library/Homebrew
...
Bumps [codecov](https://github.com/codecov/codecov-ruby ) from 0.2.15 to 0.3.0.
- [Release notes](https://github.com/codecov/codecov-ruby/releases )
- [Changelog](https://github.com/codecov/codecov-ruby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-ruby/compare/v0.2.15...v0.3.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-20 05:50:41 +00:00
Dustin Rodrigues
7242cd6474
Merge pull request #10357 from dtrodrigues/andor
...
rubocop: disallow and/or in favor of &&/||
2021-01-19 21:15:00 -05:00
Rylan Polster
3ca68c076e
Don't tap user-untapped official taps
2021-01-19 17:55:03 -05:00
Seeker
64c2b21c2f
git_repository_spec: group together shared examples
2021-01-19 12:32:20 -08:00
Seeker
152eac333b
Merge pull request #10358 from SeekingMeaning/mac-version-named-captures
...
os/mac/version: use named captures in regex
2021-01-19 10:51:52 -08:00
Seeker
32ebc02f2f
version: enable Sorbet type checking
2021-01-19 09:28:37 -08:00
Michka Popoff
1c027f940f
Merge pull request #10186 from iMichka/bottle-cellar
...
bottle: tag specific cellars
2021-01-19 17:05:36 +01:00
Dustin Rodrigues
3e074419d7
Merge pull request #10356 from dtrodrigues/pypi-extra
...
pypi: allow packages in global exclude list if explicitly requested
2021-01-19 10:30:35 -05:00
Seeker
50cd836427
Merge pull request #10351 from SeekingMeaning/sig-braces
...
rubocop: require braces for Sorbet `sig`
2021-01-19 03:50:20 -08:00
Michka Popoff
3eea1434cc
bottle: tag specific cellars
2021-01-19 10:14:25 +01:00
Mike McQuaid
33dafa4498
Merge pull request #10344 from vitorgalvao/no-github-appcast-audit
...
Cask: audit: Do not require appcast on GitHub releases
2021-01-19 08:41:29 +00:00
Rylan Polster
4ef8c8279f
completions: complete files where appropriate in bash
2021-01-19 01:03:05 -05:00
Rylan Polster
1e4fef8123
usage string generator: fix handling of dashed-commands
2021-01-18 21:20:12 -05:00
Rylan Polster
1e5a43d5f3
parser: fix tests
2021-01-18 21:20:11 -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
Rylan Polster
b7977244ea
parser: automatically generate usage banners
2021-01-18 21:16:24 -05:00
Dawid Dziurla
1525350709
Merge pull request #10350 from issyl0/brew-man-remove-link-flag
...
dev-cmd/man: Completely remove `--link`
2021-01-19 01:54:01 +01:00
Seeker
fbafaff4fe
rubocop: require braces for Sorbet sig
2021-01-18 16:52:45 -08:00
Seeker
20eaf43836
Merge pull request #10346 from SeekingMeaning/git-repository-safe
...
git_repository: raise error instead of returning nil if `safe`
2021-01-18 16:48:14 -08:00
Dustin Rodrigues
59b8e27998
rubocop: disallow and/or in favor of &&/||
2021-01-18 14:16:56 -05:00