33639 Commits

Author SHA1 Message Date
Mike McQuaid
e030625eb4
Merge pull request #18172 from cho-m/brew-info-size
cmd/info: show size information
2024-09-25 14:02:38 +01:00
Mike McQuaid
90597f7a5e
Merge pull request #18402 from Homebrew/brew-tap-speedup
Speed up `brew tap` for no arguments
2024-09-25 10:41:37 +01:00
Ruoyu Zhong
c17154d2ac
brew.sh: improve brew tap handling 2024-09-25 17:16:18 +08:00
Mike McQuaid
d3cc0c3f22
Merge pull request #18388 from Homebrew/odeprecated_odisabled_remove
Add new odeprecated, odisabled, remove disabled code.
2024-09-25 09:54:46 +01:00
Ruoyu Zhong
ea011ae528
brew.sh: remove outdated comment 2024-09-25 16:50:39 +08:00
Ruoyu Zhong
6328277f57
tap.sh: tweak naming
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-09-25 16:49:46 +08:00
Michael Cho
ea0776c425
cmd/info: show size information
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
Co-authored-by: Markus Reiter <me@reitermark.us>
2024-09-25 08:56:33 +01:00
Ruoyu Zhong
e9b158cd5c
Further simplify homebrew-tap calling
Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2024-09-25 12:00:30 +08:00
Ruoyu Zhong
a8d57385cf
tap.sh: simplify
Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2024-09-25 11:46:06 +08:00
Rylan Polster
18147a6a1e
style: forbid url do blocks in homebrew/cask 2024-09-24 22:45:00 -04:00
Michael Cho
7dac30a105
compilers: drop support for GCC 4.9, 5 and 6 2024-09-24 18:56:12 -04:00
Patrick Linnane
4deb9dff97
Merge pull request #18399 from Homebrew/dependabot/bundler/Library/Homebrew/ruby-lsp-0.18.3 2024-09-24 11:20:38 -07:00
BrewTestBot
5b92eeed8e
Update RBI files for ruby-lsp.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-09-24 18:09:03 +00:00
BrewTestBot
ba6366d5bc
brew vendor-gems: commit updates. 2024-09-24 18:08:46 +00:00
BrewTestBot
9496f0d1a4
brew vendor-gems: commit updates. 2024-09-24 18:08:30 +00:00
dependabot[bot]
7550172efd
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11577 to 0.5.11581.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-24 18:06:54 +00:00
dependabot[bot]
892afa113a
build(deps-dev): bump ruby-lsp in /Library/Homebrew
Bumps [ruby-lsp](https://github.com/Shopify/ruby-lsp) from 0.18.1 to 0.18.3.
- [Release notes](https://github.com/Shopify/ruby-lsp/releases)
- [Commits](https://github.com/Shopify/ruby-lsp/compare/v0.18.1...v0.18.3)

---
updated-dependencies:
- dependency-name: ruby-lsp
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-24 18:06:38 +00:00
Ruoyu Zhong
369fd3dcaf
Speed up brew tap for no arguments
This provides a >3x speedup for `brew tap` with no arguments (i.e., when
listing taps). It also makes the completion significantly faster.

    $ hyperfine --warmup=3 --setup 'git checkout {branch}' --parameter-list branch master,brew-tap-speedup 'brew tap'
    Benchmark 1: brew tap (branch = master)
      Time (mean ± σ):      1.405 s ±  0.080 s    [User: 0.561 s, System: 0.238 s]
      Range (min … max):    1.332 s …  1.549 s    10 runs

    Benchmark 2: brew tap (branch = brew-tap-speedup)
      Time (mean ± σ):     404.1 ms ± 124.8 ms    [User: 107.9 ms, System: 200.7 ms]
      Range (min … max):   308.8 ms … 693.7 ms    10 runs

    Summary
      brew tap (branch = brew-tap-speedup) ran
        3.48 ± 1.09 times faster than brew tap (branch = master)
2024-09-25 01:50:43 +08:00
Mike McQuaid
27fb07c0fc
Shorten brew tests temporary paths.
If you have `HOMEBREW_TEMP` set to a longer path (e.g. the user's
private temporary directory rather than `/private/tmp`), Sequoia will
error out on some tests when forking because the path is too long
(> 104 bytes).

To improve this situation let's:
- use a shorter path for `HOMEBREW_TEMP` by appending `/brew-tests` to
  the existing `HOMEBREW_TEMP` used outside of tests rather than
  creating nested temporary directories
- use the minimal amount of randomness to avoid collisions while
  allowing parallel tests
- use `squeeze` to remove any double slashes in the temporary path
2024-09-24 10:28:18 +01:00
Mike McQuaid
94416e82f0
Add new odeprecated, odisabled, remove disabled code.
Prepare the usual deprecation cycle for Homebrew 4.4.0.
2024-09-24 10:15:34 +01:00
Mike McQuaid
bd3c7f8053
Merge pull request #18372 from ywwry66/brew-link-install-info-gz
keg: Install `gzip`ed info files during linking
2024-09-23 09:02:41 +01:00
Mike McQuaid
06f60ffaf3
Merge pull request #18367 from Homebrew/skip-sorbet-assignments
Exclude sorbet assignments from Style/MutableConstant cop
2024-09-23 09:02:03 +01:00
BrewTestBot
c5e4617eca
brew vendor-gems: commit updates. 2024-09-22 14:33:02 +00:00
dependabot[bot]
d10295c9b1
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11572 to 0.5.11577.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-22 14:31:20 +00:00
Ruiyang Wu
401b45fb01 keg: Install gziped info files during linking
Currently, `brew link` installs `*.info` files to
`#{HOMEBREW_PREFIX}/share/info/dir` using the `install_info` method.
However, some formulae (e.g., `Emacs`) also ship `*.info.gz` files,
which are only `symlink`ed but not installed.

This commit allows `*.info.gz` files to be installed during linking in
addition to the `*.info` files.
2024-09-21 22:28:24 -04:00
BrewTestBot
83b2447f2c
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2024-09-20 19:09:26 +00:00
dependabot[bot]
7adeb517ed
build(deps-dev): bump ruby-lsp in /Library/Homebrew
Bumps [ruby-lsp](https://github.com/Shopify/ruby-lsp) from 0.18.0 to 0.18.1.
- [Release notes](https://github.com/Shopify/ruby-lsp/releases)
- [Commits](https://github.com/Shopify/ruby-lsp/compare/v0.18.0...v0.18.1)

---
updated-dependencies:
- dependency-name: ruby-lsp
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-20 18:45:13 +00:00
Douglas Eichelberger
eeb31d3050 Fix violations 2024-09-20 11:07:00 -07:00
Douglas Eichelberger
c354377f3e Exclude sorbet assignments from Style/MutableConstant cop 2024-09-20 10:45:26 -07:00
Mike McQuaid
eab322946a
formula: fix alias/generic/prepend std_cmake_args issue.
Seen in:
https://github.com/Homebrew/homebrew-core/pull/191090#issuecomment-2363215204

There's a missing signature issue here due to the `generic_*` aliasing
we're doing. With prepend, though: this is no longer needed and we can
use `super` instead which is more idiomatic and nicer overall.

This pattern should probably be applied in other places but: let's try
this targetting fix for here first.
2024-09-20 13:01:42 +01:00
Mike McQuaid
d8fd19dde5
Merge pull request #18298 from Homebrew/curl-14.5
os/mac/pkgconfig/14: update libcurl for 14.5 SDK
2024-09-20 12:55:02 +01:00
Douglas Eichelberger
125ced9cf8 Fix formatting 2024-09-19 10:58:53 -07:00
Douglas Eichelberger
61985bc7f3 Use top-level OS instead 2024-09-19 10:58:53 -07:00
Douglas Eichelberger
bb80f063dc Fix namespacing 2024-09-19 10:58:53 -07:00
Douglas Eichelberger
7cd329c116 Makes args readable 2024-09-19 10:58:53 -07:00
Douglas Eichelberger
27e951c408 Replace undef with prepended modules 2024-09-19 10:58:53 -07:00
Douglas Eichelberger
07da4aa7a6 Stop suppressing undef errors 2024-09-19 10:58:53 -07:00
Carlo Cabrera
b76debe4c7
Merge pull request #18362 from Homebrew/github_runner_matrix-all_supported 2024-09-20 00:56:54 +08:00
Carlo Cabrera
c5563dbb0f
github_runner_matrix: include 15-x86_64 with --all-supported
Part of #18356.
2024-09-20 00:27:43 +08:00
Patrick Linnane
d093a63dbb
Merge pull request #18360 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11572 2024-09-19 09:04:00 -07:00
BrewTestBot
82d907ec3d
Update RBI files for ruby-lsp.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-09-19 15:47:24 +00:00
BrewTestBot
611e990f89
brew vendor-gems: commit updates. 2024-09-19 15:47:00 +00:00
BrewTestBot
6d7644ed61
brew vendor-gems: commit updates. 2024-09-19 15:46:52 +00:00
dependabot[bot]
9b001f337f
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11566 to 0.5.11572.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-19 15:45:29 +00:00
dependabot[bot]
824b539696
build(deps-dev): bump ruby-lsp in /Library/Homebrew
Bumps [ruby-lsp](https://github.com/Shopify/ruby-lsp) from 0.17.17 to 0.18.0.
- [Release notes](https://github.com/Shopify/ruby-lsp/releases)
- [Commits](https://github.com/Shopify/ruby-lsp/compare/v0.17.17...v0.18.0)

---
updated-dependencies:
- dependency-name: ruby-lsp
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-19 15:44:46 +00:00
Bo Anderson
ca26080ef4
formula_installer: fix manifest error handling 2024-09-19 15:26:14 +01:00
BrewTestBot
7c57190931
brew vendor-gems: commit updates. 2024-09-18 19:09:40 +00:00
dependabot[bot]
13a20a39a1
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11558 to 0.5.11566.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-18 18:40:05 +00:00
Carlo Cabrera
f26530dd9d
dev-cmd/bottle: improve :all bottle handling
Currently, we silently ignore cases where a formula previously had an
`:all` bottle but now no longer does.

These are most often due to (in order of likelihood):
- bottle reproducibility breakage in `brew`
- new hard-coded `/usr/local` references in text files in a bottle

The former is a bug that should be fixed, while the latter can be fixed
trivally with an `inreplace`.

Let's try to make sure we always do this by making `brew bottle` error
out so that we can catch these instances as they happen rather than
after the fact.

I haven't encountered any cases where a formula previously had an `:all`
bottle but no longer does for reasons other than the two outlined above.

If we do encouter those in the future, we can either:
- update `brew bottle` to skip this check, perhaps with a new flag
- delete the formula's old `:all` bottle before doing `brew bottle` so
  it doesn't error
2024-09-18 19:21:54 +08:00
Mike McQuaid
e220725814
Merge pull request #18346 from cho-m/xcodebuild-dep
rubocops: `xcodebuild` needs an Xcode dependency
2024-09-18 09:11:41 +01:00