41367 Commits

Author SHA1 Message Date
Patrick Linnane
2ed61d2bec
Merge pull request #17339 from Homebrew/setup-ruby-1.177.0 2024-05-20 08:04:00 -07:00
Patrick Linnane
7d51384d10
build(deps): bump ruby/setup-ruby from 1.176.0 to 1.177.0
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-05-20 07:34:21 -07:00
Patrick Linnane
2bf76ccf33
Merge pull request #17338 from Homebrew/dependabot/bundler/Library/Homebrew/racc-1.8.0 2024-05-20 07:27:19 -07:00
Patrick Linnane
18eb12ee38
Merge pull request #17337 from Homebrew/dependabot/github_actions/codecov/codecov-action-4.4.1 2024-05-20 07:24:51 -07:00
BrewTestBot
cf5db4dcde
brew vendor-gems: commit updates. 2024-05-20 14:16:18 +00:00
dependabot[bot]
2c1e18b000
build(deps-dev): bump racc from 1.7.3 to 1.8.0 in /Library/Homebrew
Bumps [racc](https://github.com/tenderlove/racc) from 1.7.3 to 1.8.0.
- [Release notes](https://github.com/tenderlove/racc/releases)
- [Changelog](https://github.com/ruby/racc/blob/master/ChangeLog)
- [Commits](https://github.com/tenderlove/racc/compare/v1.7.3...v1.8.0)

---
updated-dependencies:
- dependency-name: racc
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-20 14:15:25 +00:00
dependabot[bot]
f5790fd41e
build(deps): bump codecov/codecov-action from 4.4.0 to 4.4.1
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](6d798873df...125fc84a9a)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-20 14:15:11 +00:00
Mike McQuaid
e0bc557e7b
Merge pull request #17336 from Homebrew/sbom_fixes
SBOM: various fixes.
4.3.1
2024-05-20 09:53:41 +01:00
Mike McQuaid
b066ac414c
SBOM: various fixes.
- be a bit stricter with SBOM handling with the test default formula
  flow in CI by making it raise errors if SBOM's aren't generated and
  validated as expected
- fix handling of HEAD installations of formulae so SBOM generation is
  both correct and doesn't raise errors
- make `Formula#bottle_hash` more accepting of edge cases e.g. HEAD-only
  formulae without a stable spec

Fixes #17333
2024-05-20 09:41:29 +01:00
Mike McQuaid
ea0582871c
Merge pull request #17329 from Homebrew/rmtree
extend/pathname: import rmtree again.
2024-05-20 08:25:54 +01:00
Ruoyu Zhong
91b58f0cc4
Merge pull request #17335 from leoheitmannruiz/patch-1
Add necesarry --force to tap instructions
2024-05-19 20:21:48 +08:00
Leo Heitmann Ruiz
5c515aa679 Add --force to tap instructions 2024-05-19 14:01:29 +02:00
Carlo Cabrera
e9d989bdea
Merge pull request #17330 from Homebrew/safe-shell-chars 2024-05-19 00:15:59 +08:00
Mike McQuaid
a92e6fc1c8
extend/pathname: import rmtree again.
The separate file is no longer required now that
https://github.com/sorbet/sorbet/pull/7895 was merged.
2024-05-18 18:02:31 +02:00
Patrick Linnane
b0af3c6983
Merge pull request #17332 from Homebrew/dependabot/bundler/Library/Homebrew/multi-ce3da4bd2a 2024-05-18 08:59:40 -07:00
BrewTestBot
454d9404f1
brew vendor-gems: commit updates. 2024-05-18 15:49:06 +00:00
Patrick Linnane
06abd32b21
Merge pull request #17331 from Homebrew/ww/drop-workflow-check 2024-05-18 08:48:32 -07:00
dependabot[bot]
291dc282be
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.11383 to 0.5.11385
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-runtime` from 0.5.11383 to 0.5.11385
- [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-18 15:48:17 +00:00
William Woodruff
3319e9956d
attestation: drop workflow check on core attestation
Signed-off-by: William Woodruff <william@yossarian.net>
2024-05-18 10:04:53 -04:00
Carlo Cabrera
6b59c032a7
utils/shell: add + to safe shell characters
`+` does not require escaping in the shell. (Not for Bash and Zsh, at
least.)
2024-05-18 16:01:07 +08:00
Mike McQuaid
a5139bb8e2
Merge pull request #17310 from alebcay/trap-fetchcontent-provider
formula: trap CMake FetchContent usage instead of using FETCHCONTENT_FULLY_DISCONNECTED
2024-05-18 07:28:13 +01:00
Caleb Xu
920364ca87
formula: trap CMake FetchContent usage instead of using FETCHCONTENT_FULLY_DISCONNECTED 2024-05-17 14:41:08 -04:00
Mike McQuaid
b8d844ced8
Merge pull request #17327 from Homebrew/bundle_user_cache_again
env_config: add `HOMEBREW_BUNDLE_USER_CACHE`.
2024-05-18 00:29:09 +09:00
Mike McQuaid
0c1766510a
env_config: add HOMEBREW_BUNDLE_USER_CACHE.
Used to configure `BUNDLE_USER_CACHE`.
2024-05-18 00:08:42 +09:00
Mike McQuaid
fd7df63b9d
dev-cmd/prof: add vernier support.
It's the newest great profiler for Ruby.
2024-05-17 23:57:46 +09:00
Mike McQuaid
e97864a0a8
Merge pull request #17325 from Homebrew/dependabot/bundler/Library/Homebrew/multi-10f89f4edc
build(deps): bump sorbet-runtime and sorbet-static-and-runtime in /Library/Homebrew
2024-05-17 23:29:30 +09:00
Mike McQuaid
a8f603d767
Merge pull request #17324 from Homebrew/bundle_user_cache
utils/gems: use BUNDLE_USER_CACHE instead of BUNDLE_CACHE_PATH.
2024-05-17 23:18:41 +09:00
BrewTestBot
de6207fd68
brew vendor-gems: commit updates. 2024-05-17 14:17:48 +00:00
dependabot[bot]
bb059b6786
build(deps): bump sorbet-runtime and sorbet-static-and-runtime
Bumps [sorbet-runtime](https://github.com/sorbet/sorbet) and [sorbet-static-and-runtime](https://github.com/sorbet/sorbet). These dependencies needed to be updated together.

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

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

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-17 14:16:59 +00:00
Mike McQuaid
1eb99cdb0e
utils/gems: use BUNDLE_USER_CACHE instead of BUNDLE_CACHE_PATH.
Take two at https://github.com/Homebrew/brew/pull/17304 with the correct
variable name this time.

Fixes #17276.
2024-05-17 23:00:12 +09:00
Patrick Linnane
79cb329f59
Merge pull request #16702 from Bo98/no-zlib-dev 2024-05-17 04:43:37 -07:00
Bo Anderson
9872572688
Dockerfile: drop libz-dev 2024-05-17 12:33:31 +01:00
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