40084 Commits

Author SHA1 Message Date
Mike McQuaid
3a796203d8
Merge pull request #17323 from Homebrew/rubocop-3.3
rubocop: target Ruby 3.3.
2024-05-17 18:45:29 +09:00
Mike McQuaid
c269524e5f
Merge pull request #17315 from Homebrew/3.4-gems
Add gems to Gemfile for Ruby 3.4.
2024-05-17 14:53:20 +09:00
Mike McQuaid
a408da65fc
Hide default gems warnings for Ruby 3.4.
These omit warnings with Ruby 3.3 and are required for Ruby 3.4. We'll
fix them when we're upgrading to 3.4 instead.
2024-05-17 14:42:44 +09:00
Mike McQuaid
ae914f6255
Merge pull request #17322 from Homebrew/rmtree_comment
extend/pathname/rmtree: improve comment.
2024-05-17 14:32:57 +09:00
Mike McQuaid
9586473f77
brew style --fix 2024-05-17 14:25:54 +09:00
Mike McQuaid
cc11da6bdd
extend/pathname/rmtree: improve comment.
Clarify that this can't easily be `odeprecated` but keep the wording
around so that we remember to do this on the next minor release.

Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2024-05-17 14:22:42 +09:00
Mike McQuaid
ddf9426faf
rubocop: target Ruby 3.3.
Portable Ruby is at 3.3.1 now so may as well bump RuboCop too.
2024-05-17 13:21:30 +09:00
Mike McQuaid
a8bf5112eb
Merge pull request #17317 from Homebrew/list_speedup
Speed up `brew list`
2024-05-17 12:49:39 +09:00
Mike McQuaid
23939d62d8
Merge pull request #17312 from Homebrew/portable-ruby-3.3.1
Portable Ruby 3.3.1
2024-05-17 12:42:34 +09:00
Mike McQuaid
7073258a6a
Speed up brew list
Similarly to have we have with other commands, use Bash to speed it up.

Before:
```
$ hyperfine "brew list"
Benchmark 1: brew list
  Time (mean ± σ):     559.9 ms ± 122.8 ms    [User: 176.2 ms, System: 126.2 ms]
  Range (min … max):   503.2 ms … 907.3 ms    10 runs
```

After:
```
$ hyperfine "brew list"
Benchmark 1: brew list
  Time (mean ± σ):     223.7 ms ±  31.9 ms    [User: 35.0 ms, System: 53.4 ms]
  Range (min … max):   198.1 ms … 302.4 ms    10
```

Petty after comparison because someone on Homebrew/discussions compared
them:
```
$ hyperfine "brew list" "pip3 list"
Benchmark 1: brew list
  Time (mean ± σ):     213.1 ms ±  22.8 ms    [User: 34.2 ms, System: 49.2 ms]
  Range (min … max):   191.2 ms … 272.3 ms    13 runs

Benchmark 2: pip3 list
  Time (mean ± σ):     271.7 ms ±   4.6 ms    [User: 191.9 ms, System: 40.0 ms]
  Range (min … max):   264.7 ms … 281.4 ms    10 runs

Summary
  brew list ran
    1.28 ± 0.14 times faster than pip3 list
```

---

While we're here, also add the `HOMEBREW_CASKROOM` environment variable
to make things a bit cleaner and use `--caskroom` in documentation.

Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2024-05-17 12:38:16 +09:00
Bo Anderson
727cf5e917
extend/pathname: restore old rmtree behaviour 2024-05-17 12:32:29 +09:00
Bo Anderson
7452350919
test/cask/artifact/shared_examples/uninstall_zap: fix for Ruby 3.2+ 2024-05-17 01:31:47 +01:00
Mike McQuaid
bde9afa70e
Portable Ruby 3.3.1
Use the latest version of Portable Ruby.
2024-05-17 00:23:36 +01:00
Patrick Linnane
97030b7992
Merge pull request #17318 from Homebrew/feat/docs/linux_sandbox 2024-05-16 11:00:59 -07:00
Sean Molenaar
09dcca0f9b
Update Homebrew-on-Linux.md
Co-authored-by: Adrian Ho <the.gromgit@gmail.com>
2024-05-16 20:50:13 +03:00
Patrick Linnane
2ded26d50a
Merge pull request #17321 from Homebrew/dependabot/bundler/Library/Homebrew/minitest-5.23.0 2024-05-16 10:16:17 -07:00
Sean Molenaar
4072122be1
Update Homebrew-on-Linux.md
Co-authored-by: Patrick Linnane <patrick@linnane.io>
2024-05-16 20:15:19 +03:00
Patrick Linnane
90b97819f0
Merge pull request #17320 from Homebrew/dependabot/bundler/Library/Homebrew/rexml-3.2.8 2024-05-16 10:14:55 -07:00
Patrick Linnane
e441490ba1
Merge pull request #17319 from Homebrew/dependabot/bundler/Library/Homebrew/multi-b6bbda187f 2024-05-16 10:14:24 -07:00
BrewTestBot
365a8baf31
Update RBI files for minitest.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-05-16 17:03:10 +00:00
BrewTestBot
279a59b8b4
brew vendor-gems: commit updates. 2024-05-16 17:02:58 +00:00
BrewTestBot
32a1d9eb55
brew vendor-gems: commit updates. 2024-05-16 17:02:43 +00:00
BrewTestBot
9f15c7834f
brew vendor-gems: commit updates. 2024-05-16 17:02:09 +00:00
dependabot[bot]
660f3bc61f
build(deps-dev): bump minitest in /Library/Homebrew
Bumps [minitest](https://github.com/minitest/minitest) from 5.22.3 to 5.23.0.
- [Changelog](https://github.com/minitest/minitest/blob/master/History.rdoc)
- [Commits](https://github.com/minitest/minitest/compare/v5.22.3...v5.23.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-16 17:01:56 +00:00
dependabot[bot]
c056311da4
build(deps-dev): bump rexml from 3.2.6 to 3.2.8 in /Library/Homebrew
Bumps [rexml](https://github.com/ruby/rexml) from 3.2.6 to 3.2.8.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.2.6...v3.2.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-16 17:01:48 +00:00
dependabot[bot]
67f6e816ae
build(deps): bump sorbet-static-and-runtime and sorbet-runtime
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) and [sorbet-runtime](https://github.com/sorbet/sorbet). These dependencies needed to be updated together.

Updates `sorbet-static-and-runtime` from 0.5.11376 to 0.5.11380
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-runtime` from 0.5.11376 to 0.5.11380
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet-static-and-runtime
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: sorbet-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-16 17:01:05 +00:00
Sean Molenaar
e1ea47a41a
feat: note that Homebrew does not have a sandbox on Linux 2024-05-16 18:32:48 +02:00
Mike McQuaid
7d931dd605
Merge pull request #17314 from Homebrew/hcf-doc-updates
docs: update for Homebrew/cask-fonts deprecation
2024-05-17 01:31:12 +09:00
Patrick Linnane
773dbfa92a
docs: update for Homebrew/cask-fonts deprecation
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-05-16 09:21:14 -07:00
Mike McQuaid
1fac68348a
Merge pull request #17311 from bevanjkay/cask-sharding-fix
cask/audit: fix sharding for font-* casks
2024-05-16 11:58:50 +09:00
Mike McQuaid
36baa15a7c
Merge pull request #17313 from Homebrew/utils_gems_homebrew_cache
utils/gems: handle undefined `HOMEBREW_CACHE`.
2024-05-16 11:21:20 +09:00
Mike McQuaid
03bf6db08c
utils/gems: handle undefined HOMEBREW_CACHE.
Some call paths can result in this not being defined so let's handle
that better.
2024-05-16 11:08:51 +09:00
Bevan Kay
1b286befed
tap: fix sharding for font-* casks 2024-05-16 11:29:59 +10:00
Bevan Kay
db4099d977
cask/audit: fix sharding for font-* casks 2024-05-16 11:29:58 +10:00
Patrick Linnane
0a358b8518
Merge pull request #17309 from Homebrew/dependabot/bundler/Library/Homebrew/regexp_parser-2.9.2 2024-05-15 11:29:23 -07:00
BrewTestBot
72bac0261c
Update RBI files for regexp_parser.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-05-15 18:02:25 +00:00
BrewTestBot
0a943fb7c3
brew vendor-gems: commit updates. 2024-05-15 18:02:11 +00:00
dependabot[bot]
de4bf2c70e
build(deps-dev): bump regexp_parser in /Library/Homebrew
Bumps [regexp_parser](https://github.com/ammar/regexp_parser) from 2.9.1 to 2.9.2.
- [Changelog](https://github.com/ammar/regexp_parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ammar/regexp_parser/compare/v2.9.1...v2.9.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-15 18:01:19 +00:00
Patrick Linnane
fa5d8d3811
Merge pull request #17308 from Homebrew/dependabot/bundler/Library/Homebrew/multi-ad331a4c7b 2024-05-15 10:34:33 -07:00
Patrick Linnane
fa52f27886
Merge pull request #17307 from Homebrew/dependabot/bundler/Library/Homebrew/tapioca-0.14.2 2024-05-15 10:26:08 -07:00
Carlo Cabrera
82d1ee53dd
Merge pull request #17306 from Homebrew/indirect-gcc-linkage-linux
linkage_checker: remove `gcc` from `@indirect_deps` on Linux
2024-05-16 01:19:16 +08:00
BrewTestBot
a2450aea75
Update RBI files for tapioca.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-05-15 17:14:56 +00:00
BrewTestBot
14be0a1f67
brew vendor-gems: commit updates. 2024-05-15 17:14:53 +00:00
BrewTestBot
48c2e57a69
brew vendor-gems: commit updates. 2024-05-15 17:14:36 +00:00
dependabot[bot]
71ecd651ba
build(deps): bump sorbet-static-and-runtime and sorbet-runtime
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) and [sorbet-runtime](https://github.com/sorbet/sorbet). These dependencies needed to be updated together.

Updates `sorbet-static-and-runtime` from 0.5.11375 to 0.5.11376
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-runtime` from 0.5.11375 to 0.5.11376
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet-static-and-runtime
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: sorbet-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-15 17:13:55 +00:00
dependabot[bot]
2c5b6186fc
build(deps-dev): bump tapioca from 0.14.1 to 0.14.2 in /Library/Homebrew
Bumps [tapioca](https://github.com/Shopify/tapioca) from 0.14.1 to 0.14.2.
- [Release notes](https://github.com/Shopify/tapioca/releases)
- [Commits](https://github.com/Shopify/tapioca/compare/v0.14.1...v0.14.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-15 17:13:32 +00:00
Carlo Cabrera
cc65e5419d
linkage_checker: remove gcc from @indirect_deps on Linux
Closes #17303.
2024-05-16 00:47:21 +08:00
Carlo Cabrera
56db99ee9f
Merge pull request #17304 from Homebrew/bundler_cache
utils/gems: use HOMEBREW_CACHE for bundler cache.
2024-05-15 22:41:04 +08:00
Mike McQuaid
cb86847d95
utils/gems: use HOMEBREW_CACHE for bundler cache.
Fixes #17276
2024-05-15 22:17:02 +09:00
Patrick Linnane
1f603d381b
Merge pull request #17302 from Homebrew/ww/redact-env 2024-05-14 14:01:26 -07:00