31953 Commits

Author SHA1 Message Date
dependabot[bot]
eb9470a3f9
---
updated-dependencies:
- dependency-name: simpleidn
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-22 10:12:32 -07:00
Patrick Linnane
7d5a8328dc
Merge pull request #17349 from Homebrew/dependabot/bundler/Library/Homebrew/minitest-5.23.1 2024-05-22 10:01:46 -07:00
BrewTestBot
c1d0858bfa
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-22 16:50:41 +00:00
BrewTestBot
b352b36def
brew vendor-gems: commit updates. 2024-05-22 16:50:27 +00:00
BrewTestBot
33dc0cccfb
brew vendor-gems: commit updates. 2024-05-22 16:49:55 +00:00
dependabot[bot]
c931a0972c
---
updated-dependencies:
- dependency-name: minitest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-22 16:49:33 +00:00
dependabot[bot]
a3001e091e
---
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-22 16:48:47 +00:00
Mike McQuaid
82591d12dc
Merge pull request #17031 from krehel/update-artifact-audit
cask/audit: update signing checks for app, binary, and pkg
2024-05-22 17:39:27 +01:00
Justin Krehel
344a5021d8
cask/audit.rb: update signing checks for app, binary, and pkg 2024-05-22 10:29:47 -04:00
Bo Anderson
b2e837f94d
rubocops/shared/desc_helper: fix autocorrect infinite loop 2024-05-21 23:55:26 +01:00
Mike McQuaid
5a24eb61a7
Merge pull request #17316 from Homebrew/vernier
Add support for Vernier profiler
2024-05-20 16:35:58 +01: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
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
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
Caleb Xu
920364ca87
formula: trap CMake FetchContent usage instead of using FETCHCONTENT_FULLY_DISCONNECTED 2024-05-17 14:41:08 -04: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
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
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
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
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
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
2ded26d50a
Merge pull request #17321 from Homebrew/dependabot/bundler/Library/Homebrew/minitest-5.23.0 2024-05-16 10:16:17 -07: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
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
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