31307 Commits

Author SHA1 Message Date
dependabot[bot]
52c3d0863c
build(deps-dev): bump rubocop-capybara in /Library/Homebrew
Bumps [rubocop-capybara](https://github.com/rubocop/rubocop-capybara) from 2.20.0 to 2.21.0.
- [Release notes](https://github.com/rubocop/rubocop-capybara/releases)
- [Changelog](https://github.com/rubocop/rubocop-capybara/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-capybara/compare/v2.20.0...v2.21.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-10 18:03:43 +00:00
dependabot[bot]
9e5b838904
build(deps-dev): bump rexml from 3.2.8 to 3.2.9 in /Library/Homebrew
Bumps [rexml](https://github.com/ruby/rexml) from 3.2.8 to 3.2.9.
- [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.8...v3.2.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-10 18:03:26 +00:00
Mike McQuaid
c13700af00
Use repository consistently instead of repo
The documentation linting job doesn't like `repo` so let's fix this
globally rather than naming it differently in documentation and code.
2024-06-10 09:31:53 +01:00
Daiki Mizukami
eab1e87726
Utils::Cp: Deduplicate SystemCommand invocations 2024-06-09 22:59:24 +09:00
Kevin
f8b1d1f56c
Merge pull request #17385 from pe/migrations-broken
Fix migrations of formulae and casks to non homebrew taps
2024-06-08 19:34:14 -07:00
Daiki Mizukami
67f280eb53
Utils::Cp: Add force_system keyword argument
This fixes the test for `UnpackStrategy::Directory`, which needs the
`cp` command.
2024-06-09 07:57:56 +09:00
Ruoyu Zhong
8aef364d1e
Merge pull request #17455 from Homebrew/dependabot/bundler/Library/Homebrew/prism-0.30.0
build(deps-dev): bump prism from 0.29.0 to 0.30.0 in /Library/Homebrew
2024-06-09 00:00:48 +08:00
Ruoyu Zhong
af472a4a10
Merge pull request #17453 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-factory_bot-2.26.0
build(deps-dev): bump rubocop-factory_bot from 2.25.1 to 2.26.0 in /Library/Homebrew
2024-06-08 23:32:33 +08:00
BrewTestBot
1a9330cf76
Update RBI files for prism.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-06-08 15:23:10 +00:00
BrewTestBot
f78813c3c8
brew vendor-gems: commit updates. 2024-06-08 15:22:12 +00:00
BrewTestBot
3361d82b06
brew vendor-gems: commit updates. 2024-06-08 15:20:58 +00:00
BrewTestBot
ef8a2a0b78
brew vendor-gems: commit updates. 2024-06-08 15:20:54 +00:00
dependabot[bot]
777859faf9
build(deps-dev): bump prism from 0.29.0 to 0.30.0 in /Library/Homebrew
Bumps [prism](https://github.com/ruby/prism) from 0.29.0 to 0.30.0.
- [Release notes](https://github.com/ruby/prism/releases)
- [Changelog](https://github.com/ruby/prism/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ruby/prism/compare/v0.29.0...v0.30.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-08 15:20:26 +00:00
dependabot[bot]
471e77cdc7
build(deps-dev): bump rubocop-factory_bot in /Library/Homebrew
Bumps [rubocop-factory_bot](https://github.com/rubocop/rubocop-factory_bot) from 2.25.1 to 2.26.0.
- [Release notes](https://github.com/rubocop/rubocop-factory_bot/releases)
- [Changelog](https://github.com/rubocop/rubocop-factory_bot/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-factory_bot/compare/v2.25.1...v2.26.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-08 15:20:04 +00:00
dependabot[bot]
cbf21559c0
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11418 to 0.5.11422.
- [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-06-08 15:19:54 +00:00
Philippe Eberli
20fb068085 Fix migrations of formulae and casks to non homebrew taps 2024-06-08 16:29:23 +02:00
Daiki Mizukami
9156891c99
Utils::Cp: Use FileUtils.cp on Linux
`FileUtils.cp` is implemented with the lightweight `copy_file_range(2)`
syscall on Linux, so it's more performant than the plain `cp` command on
that platform.

cf. https://github.com/Homebrew/brew/pull/17373#pullrequestreview-2105629022
2024-06-08 20:25:19 +09:00
Daiki Mizukami
a4271fdad1
Apply suggestions from code review
https://github.com/Homebrew/brew/pull/17373#pullrequestreview-2104523770

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-06-08 07:58:57 +09:00
Daiki Mizukami
b2ddeecdd9
Utils::Cp: Remove copy prefix from method name
As per review feedback:

https://github.com/Homebrew/brew/pull/17373#pullrequestreview-2104523770

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-06-08 07:58:20 +09:00
Caleb Xu
eb222a6fe5
cmake: don't set cmake_minimum_required 2024-06-07 12:47:05 -04:00
Patrick Linnane
0ba0e448b9
Merge pull request #17447 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rspec-2.31.0 2024-06-07 08:13:24 -07:00
BrewTestBot
16449f2e9f
brew vendor-gems: commit updates. 2024-06-07 14:29:52 +00:00
BrewTestBot
7b5d542cfd
brew vendor-gems: commit updates. 2024-06-07 14:29:05 +00:00
dependabot[bot]
6c29e35a75
build(deps-dev): bump rubocop-rspec in /Library/Homebrew
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.30.0 to 2.31.0.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.30.0...v2.31.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-07 14:28:09 +00:00
dependabot[bot]
bdaeea0943
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11415 to 0.5.11418.
- [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-06-07 14:27:46 +00:00
Daiki Mizukami
d9239faad3
Utils::Cp: Revert the use of Utils::Cp in dev-cmd
As per review feedback:

https://github.com/Homebrew/brew/pull/17373#pullrequestreview-2103870774
2024-06-07 19:03:51 +09:00
Daiki Mizukami
7cfcc596b9
Utils::Cp: Move macOS-specific code to extend/os/mac 2024-06-07 19:03:48 +09:00
Daiki Mizukami
58852106c1
Utils::Cp: Rename copy* methods to copy*_with_attributes
As per review feedback:

https://github.com/Homebrew/brew/pull/17373#pullrequestreview-2103870774
2024-06-07 19:03:33 +09:00
Mike McQuaid
f6b16a11bd
Merge pull request #17442 from Homebrew/list_exit_codes
cmd/list: fix exit codes.
2024-06-06 20:52:30 +01:00
Mike McQuaid
cec4e3fcb7
cmd/list: fix exit codes.
Fix exit codes when providing formulae and casks.

Fixes #17434
2024-06-06 19:34:17 +01:00
Mike McQuaid
0c3590dc27
ruby-version: move to Library/Homebrew.
This will avoid issues with `#!/usr/bin/env ruby` shebangs in Homebrew's
prefix.

Fixes #17390
2024-06-06 19:13:35 +01:00
William Woodruff
e2827f1d8c
Merge pull request #17438 from Homebrew/ww/fix-all-tag
attestation: handle `:all` bottles
2024-06-06 11:55:40 -04:00
William Woodruff
e0179350fe
attestation: rename loop var to please sorbet
Signed-off-by: William Woodruff <william@yossarian.net>
2024-06-06 11:41:21 -04:00
William Woodruff
b92de887ee
attestation_spec: add :all tag test
Signed-off-by: William Woodruff <william@yossarian.net>
2024-06-06 11:35:43 -04:00
William Woodruff
83caa42876
attestation_spec: style fix
Signed-off-by: William Woodruff <william@yossarian.net>
2024-06-06 11:30:11 -04:00
BrewTestBot
ed34541e83
brew vendor-gems: commit updates. 2024-06-06 15:28:15 +00:00
dependabot[bot]
632876c99d
build(deps): bump sorbet-runtime in /Library/Homebrew
Bumps [sorbet-runtime](https://github.com/sorbet/sorbet) from 0.5.11414 to 0.5.11415.
- [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
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-06 15:26:56 +00:00
William Woodruff
8d0e6eafc3
attestation: handle :all bottles
Signed-off-by: William Woodruff <william@yossarian.net>
2024-06-06 11:23:03 -04:00
Daiki Mizukami
a5500aa7f2
Utils::Cp: Fix Linux tests 2024-06-06 21:45:28 +09:00
BrewTestBot
f74888d1d3
brew vendor-gems: commit updates. 2024-06-05 16:52:53 +00:00
dependabot[bot]
f967cb2d14
build(deps-dev): bump sorbet-static-and-runtime in /Library/Homebrew
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) from 0.5.11409 to 0.5.11414.
- [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
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-05 16:51:58 +00:00
BrewTestBot
288102a11f
Update RBI files for commander.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-06-05 16:27:25 +00:00
BrewTestBot
619c7aeb9a
brew vendor-gems: commit updates. 2024-06-05 16:27:10 +00:00
dependabot[bot]
926bc1d177
build(deps-dev): bump commander from 4.6.0 to 5.0.0 in /Library/Homebrew
Bumps [commander](https://github.com/commander-rb/commander) from 4.6.0 to 5.0.0.
- [Changelog](https://github.com/commander-rb/commander/blob/master/History.rdoc)
- [Commits](https://github.com/commander-rb/commander/compare/v4.6.0...v5.0.0)

---
updated-dependencies:
- dependency-name: commander
  dependency-type: indirect
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-05 16:26:15 +00:00
Sam Ford
8236a70771
Curl: Add constants for used curl errors
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-06-04 11:58:02 -04:00
Sam Ford
d3eac3848e
Curl#curl_headers: Work with 8 exit_status
I recently noticed that ~23 `livecheck` blocks using the `HeaderMatch`
strategy were failing. Looking into it, these fail when using a `HEAD`
request and retry with `GET` but the resulting response with the
headers we want is simply discarded because the `exit_status` from
curl is 8 ("weird server reply").

This resolves the issue by adding a special case for this exit status,
so `#curl_headers` will return the headers in this scenario.
2024-06-04 11:48:41 -04:00
BrewTestBot
ceb96d6aa6
brew vendor-gems: commit updates. 2024-06-04 14:52:38 +00:00
dependabot[bot]
59805555ea
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.11406 to 0.5.11409
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-runtime` from 0.5.11406 to 0.5.11409
- [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-06-04 14:51:35 +00:00
Mike McQuaid
2c1bf79c67
cmd/vendor-install: handle broken shasum.
If `shasum` is broken and doesn't produce a valid checksum: we were
just doing the checksum comparison with an empty checksum.

Instead, let's treat an empty checksum as a failure condition, rather
than just the executable bit being present for the relevant binary, and
iterate through the available tools to try and get a non-empty checksum.

If they all produce an empty checksum: provide a different error to make
it a bit more obvious what's happening here.
2024-06-04 13:49:32 +01:00
Mike McQuaid
93e58fb41c
Merge pull request #17386 from Homebrew/cask-null-variations
cask: skip variations for inapplicable versions
2024-06-04 10:04:29 +01:00