42653 Commits

Author SHA1 Message Date
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
Carlo Cabrera
b8821ed14d
Merge pull request #18418 from Homebrew/revert-sequoia-runner 2024-09-26 13:07:19 +08: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
Ruoyu Zhong
e2b2582151
Merge pull request #18417 from Homebrew/rm-shotcut
Cask-Cookbook: update `verified` example
2024-09-26 11:28:20 +08:00
Patrick Linnane
a7b316ea76
brew style --fix
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-09-25 19:38:57 -07:00
Patrick Linnane
f260980f57
Cask-Cookbook: update verified example
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-09-25 17:52:31 -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
Carlo Cabrera
465a7352f3
Merge pull request #18415 from Homebrew/dependabot/github_actions/actions/checkout-4.2.0 2024-09-26 02:21:33 +08:00
dependabot[bot]
2ba8f93bbe
build(deps): bump actions/checkout from 4.1.7 to 4.2.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.7 to 4.2.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](692973e3d9...d632683dd7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-25 18:11:59 +00:00
Rylan Polster
479eeaad47
Merge pull request #18404 from Homebrew/forbid-url-do-homebrew-cask 2024-09-25 13:46:17 -04:00
Patrick Linnane
d7e0c8f0c0
Merge branch 'master' into forbid-url-do-homebrew-cask 2024-09-25 10:35:21 -07:00
Carlo Cabrera
e58f717d0c
Merge pull request #18414 from Homebrew/enable-github-sequoia-runners 2024-09-26 01:10:22 +08: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
Carlo Cabrera
80ebf592f8
Merge pull request #18412 from chenrui333/replace-remote-repo 2024-09-25 22:14:35 +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
Ruoyu Zhong
2a1b85da7b
Merge pull request #18406 from Homebrew/sponsors-maintainers-man-completions
Update manpage and completions.
2024-09-25 17:08:12 +08:00
BrewTestBot
e51f035055
Update manpage and completions.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2024-09-25 08:55:39 +00: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
Mike McQuaid
57ff7b05e9
Merge pull request #18127 from cho-m/remove-support-disabled-gcc
compilers: drop support for GCC 4.9, 5 and 6
2024-09-25 08:53:37 +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
Patrick Linnane
4f7c91c01c
Merge pull request #18400 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11581 2024-09-24 11:19:54 -07:00
Patrick Linnane
1d02da3305
Merge pull request #18397 from Homebrew/dependabot/github_actions/github/codeql-action-3.26.9 2024-09-24 11:11:16 -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
dependabot[bot]
788c6ba5c7
build(deps): bump github/codeql-action from 3.26.8 to 3.26.9
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.8 to 3.26.9.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](294a9d9291...461ef6c76d)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-24 18:01:39 +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
Ruoyu Zhong
64ddb6e28c
workflows/tests: only run RSpec tests with core tap on macOS
It's expensive to tap `homebrew/core` on GitHub-hosted Ubuntu runners,
and using the container requires tricks to make Codecov work. So, we
rely on macOS to provide coverage for the needs_homebrew_core RSpec
tests.
2024-09-25 00:09:32 +08:00