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
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
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
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
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
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