33562 Commits

Author SHA1 Message Date
Mike McQuaid
5ef30ad415
Merge pull request #18419 from abitrolly/newline-audit
create: show audit command on the next line
2024-09-26 13:23:08 +01:00
Mike McQuaid
e1f5edbcde
Merge pull request #18339 from Homebrew/sequoia-sdk
os/mac: bump latest SDK version
2024-09-26 13:13:52 +01:00
Mike McQuaid
1d6683df21
brew.sh: add latest_sdk_version to new macOS version TODO. 2024-09-26 13:03:39 +01:00
Bo Anderson
9e00ebe320
os/mac: bump latest SDK version 2024-09-26 13:02:47 +01:00
Case Taintor
20444638f3 modifies logic to only compare versions if auto_updates is false 2024-09-26 13:41:22 +02:00
Mike McQuaid
6e55426407
dev-cmd/create: tweak wording. 2024-09-26 12:25:06 +01:00
Case Taintor
31c560e578 Improve cask --adopt to only care about the installed version if auto_update is false 2024-09-26 11:59:40 +02:00
Carlo Cabrera
d1509cbef0
Merge pull request #18416 from Homebrew/sorbet-files-update 2024-09-26 14:44:04 +08:00
Anatoli Babenia
82f9ebd613 create: show audit command on the next line
This makes it easy to copy/paste the command, which needs to be
run anyway.
2024-09-26 09:06:50 +03:00
Michael Cho
eea7fc7a7b
Revert "github_runner_matrix: enable usage of macos-15 runners"
This reverts commit 6acce77817f442da67415dd6e73a6eb19a24ae4f.
2024-09-25 23:31:04 -04:00
Patrick Linnane
a7b316ea76
brew style --fix
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-09-25 19:38:57 -07:00
BrewTestBot
6208436910
sorbet: Autobump sigils via Spoom
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2024-09-26 00:24:19 +00:00
BrewTestBot
a28336c145
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2024-09-26 00:24:18 +00:00
Patrick Linnane
d7e0c8f0c0
Merge branch 'master' into forbid-url-do-homebrew-cask 2024-09-25 10:35:21 -07:00
Carlo Cabrera
6acce77817
github_runner_matrix: enable usage of macos-15 runners
https://github.blog/changelog/2024-09-25-actions-new-images-and-ubuntu-latest-changes/
ae99c16b0c/README.md (available-images)
2024-09-26 00:56:42 +08:00
Mike McQuaid
2f2ca82035
Merge pull request #18413 from Homebrew/more-random-temp-dir
tests: add an extra byte of randomness
2024-09-25 16:01:49 +01:00
Carlo Cabrera
e03a9fd0be
tests: add an extra byte of randomness
Two bytes should hopefully be plenty.
2024-09-25 22:32:51 +08:00
Rui Chen
09b71befb4
revert tap_remote_repository change
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-09-25 10:03:17 -04:00
Rui Chen
874fdaaa42
ignore remote_repo refs in tests
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-09-25 10:00:53 -04:00
Rui Chen
b178a80220
update tap_remote_repo ref
Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2024-09-25 10:00:00 -04:00
Rui Chen
7655a6f91a
chore: remote_repo -> remote_repository
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-09-25 09:52:41 -04:00
Carlo Cabrera
7d23111608
Merge pull request #18408 from Homebrew/falsy-env_config 2024-09-25 21:28:11 +08:00
Carlo Cabrera
78065c5781
env_config: deprecate setting boolean vars to falsy values
The way we handle boolean environment variables is a bit unfortunate.
For example, setting `HOMEBREW_EVAL_ALL=false` actually enables
`HOMEBREW_EVAL_ALL`.

Let's fix this by deprecating setting boolean environment variables to
common false-y values (`false`, `0`, `nil`, `no`, and `off`) so that we
can later ignore these false-y values when reading boolean environment
variables.
2024-09-25 21:15:53 +08:00
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