34239 Commits

Author SHA1 Message Date
BrewTestBot
b489c9b0e2
Update RBI files for rubocop-ast.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-10-29 18:36:22 +00:00
BrewTestBot
cef9db1ccf
brew vendor-gems: commit updates. 2024-10-29 18:36:14 +00:00
BrewTestBot
01d9e4758f
brew vendor-gems: commit updates. 2024-10-29 18:36:04 +00:00
dependabot[bot]
c26f79bebb
build(deps-dev): bump rubocop-ast in /Library/Homebrew
Bumps [rubocop-ast](https://github.com/rubocop/rubocop-ast) from 1.32.3 to 1.33.0.
- [Release notes](https://github.com/rubocop/rubocop-ast/releases)
- [Changelog](https://github.com/rubocop/rubocop-ast/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-ast/compare/v1.32.3...v1.33.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-29 18:26:05 +00:00
dependabot[bot]
e38f5e3de1
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11618 to 0.5.11620.
- [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-10-29 18:25:06 +00:00
Sutou Kouhei
0c3e207b24 dev-cmd/bump-formula-pr: fix type error
The error message:

    Error: Parameter 'formula': Expected type String, got type Formulary::FormulaNamespace87ec47e7f9dec2f39e30adcc9fdea28fb57606eab88d4f83e8ebec591964143c::ApacheArrow with value #<Formula apache-arrow (sta...ore/Formula/a/apache-arrow.rb>
    Caller: /opt/homebrew/Library/Homebrew/dev-cmd/bump-formula-pr.rb:152
    Definition: /opt/homebrew/Library/Homebrew/dev-cmd/bump-formula-pr.rb:417 (Homebrew::DevCmd::BumpFormulaPr#check_for_mirrors)
    /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11618/lib/types/configuration.rb:296:in `call_validation_error_handler_default'
    /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11618/lib/types/configuration.rb:303:in `call_validation_error_handler'
    /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11618/lib/types/private/methods/call_validation.rb:310:in `report_error'
    /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11618/lib/types/private/methods/call_validation.rb:218:in `block in validate_call'
    /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11618/lib/types/private/methods/signature.rb:213:in `each_args_value_type'
    /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11618/lib/types/private/methods/call_validation.rb:215:in `validate_call'
    /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11618/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
    /opt/homebrew/Library/Homebrew/dev-cmd/bump-formula-pr.rb:152:in `run'
    /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11618/lib/types/private/methods/call_validation.rb:270:in `bind_call'
    /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11618/lib/types/private/methods/call_validation.rb:270:in `validate_call'
    /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11618/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
    /opt/homebrew/Library/Homebrew/brew.rb:94:in `<main>'
    Please report this issue:
      https://docs.brew.sh/Troubleshooting

This happened when I use the following command line:

    brew bump-formula-pr \
         --commit \
         --no-audit \
         --sha256="abcf1934cd0cdddd33664e9f2d9a251d6c55239d1122ad0ed223b13a583c82a9" \
         --url="https://www.apache.org/dyn/closer.lua?path=arrow/arrow-18.0.0/apache-arrow-18.0.0.tar.gz" \
         --verbose \
         --write-only \
         apache-arrow
2024-10-29 06:42:29 +09:00
Ruoyu Zhong
841117aa75
Merge pull request #18649 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11618
build(deps-dev): bump sorbet from 0.5.11615 to 0.5.11618 in /Library/Homebrew
2024-10-29 04:09:16 +08:00
BrewTestBot
075fc0f6ad
Update RBI files for rubocop-rspec.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-10-28 19:56:35 +00:00
BrewTestBot
1f0f127f49
brew vendor-gems: commit updates. 2024-10-28 19:56:26 +00:00
BrewTestBot
6f9ad46720
brew vendor-gems: commit updates. 2024-10-28 19:56:26 +00:00
dependabot[bot]
e961c8c4eb
build(deps-dev): bump rubocop-rspec in /Library/Homebrew
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 3.1.0 to 3.2.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/v3.1.0...v3.2.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-10-28 18:21:41 +00:00
dependabot[bot]
4ae5981182
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11615 to 0.5.11618.
- [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-10-28 18:21:33 +00:00
Bo Anderson
91f3671b16
Merge pull request #18639 from Homebrew/improve_parallel_tests
spec_helper: improve parallel test handling.
2024-10-27 16:34:49 +00:00
Bo Anderson
46cb9ec947
spec_helper: clarify comment and scope to all OS 2024-10-27 15:45:46 +00:00
Mike McQuaid
e4fb33928f
Merge pull request #18613 from pkryger/allow_homebrew_prefix_in_external_patches
Allow HOMEBREW_PREFIX replacement in external patches
2024-10-27 07:11:17 -07:00
Mike McQuaid
92fee908ba
spec_helper: improve parallel test handling.
- Clarify the comment of why we have SimpleCov special logic for
  parallel tests
- use a nicer ParallelTests API for checking which process to output
  the coverage format on
2024-10-26 11:20:37 +01:00
Ruoyu Zhong
59d56f84ac
Merge pull request #18629 from Homebrew/env-config-test-timeout
Add `HOMEBREW_TEST_TIMEOUT_SECS` env var
2024-10-26 17:42:26 +08:00
Ruoyu Zhong
d2cdd99591
Add HOMEBREW_TEST_TIMEOUT_SECS env var
Intended mainly for third-party formulae, this allows formula tests to
be run with a customised timeout.

This is a private, undocumented API and subject to change.

Co-authored-by: Carlo Cabrera <github@carlo.cab>
2024-10-26 17:32:41 +08:00
Mike McQuaid
368d0868dc
Merge pull request #18622 from Homebrew/livecheck/error-on-invalid-url-symbol
livecheck: error on invalid url symbol
2024-10-26 10:30:09 +01:00
Bo Anderson
b34e6ee20e
Merge pull request #18638 from Homebrew/keg_relocate-type-fix
keg_relocate: fix error when dylib_id doesn't need changing
2024-10-26 06:45:57 +01:00
Bo Anderson
28f19878e3
keg_relocate: fix error when dylib_id doesn't need changing 2024-10-26 06:31:05 +01:00
Eric Knibbe
a4afbafe16
Merge pull request #18635 from Homebrew/dependabot/bundler/Library/Homebrew/json-2.7.4
build(deps-dev): bump json from 2.7.3 to 2.7.4 in /Library/Homebrew
2024-10-26 00:25:32 -04:00
Bo Anderson
529eadd6cc
os/mac/keg_relocate: don't change Swift stdlib dylib IDs 2024-10-25 20:55:21 +01:00
dependabot[bot]
66617cc7a4
build(deps-dev): bump json from 2.7.3 to 2.7.4 in /Library/Homebrew
Bumps [json](https://github.com/ruby/json) from 2.7.3 to 2.7.4.
- [Release notes](https://github.com/ruby/json/releases)
- [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md)
- [Commits](https://github.com/ruby/json/compare/v2.7.3...v2.7.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-25 18:59:15 +00:00
Przemysław Kryger
2225af5bef Revert "Disable audit_result in inreplace"
This reverts commit f31e93a73aab025e60a4a798031c73327cef45cb.
2024-10-25 15:26:03 +01:00
Sam Ford
bfdb84f676
Expand #checkable_urls test coverage
This expands tests for `#checkable_urls` to cover everything except
branches that shouldn't ever be reached.
2024-10-25 09:55:22 -04:00
Sam Ford
d7b515bf73
livecheck: error on invalid url symbol
Up to now, we haven't been accounting for `#url` symbol arguments in
`livecheck` blocks that don't reference a checkable URL. This can
either be an invalid symbol (e.g., using the `:stable` formula symbol
in a cask) or a valid symbol where the referenced URL doesn't exist
(e.g., using `:head` when there's no `head` URL). [Almost all of the
valid symbols are required URLs but `head` is optional.]

Over the years, we've had a handful of slips where we've used `:url`
in formulae (when it's only valid in casks) and `:stable` in casks
(when it's only valid in formulae). In this scenario,
`livecheck_url_string` is `nil`, so livecheck falls back to
`#checkable_urls`. In this scenario, `stable` and `url` are the first
checkable URLs for formulae and casks (respectively), so the checks
ended up working as expected merely by chance. This isn't obvious in
the output and even the debug output looks normal. It only becomes
apparent that livecheck isn't working as expected if it iterates
through more than one checkable URL before reaching one that works
(not the case in those instances).

With that in mind, this adds an error when a `#url` symbol is used
but it doesn't correspond to a checkable URL. This will account for
both of the mentioned scenarios (invalid symbols and valid ones
referencing a non-existent URL) and prevent livecheck from quietly
proceeding in an unexpected manner.
2024-10-25 09:54:28 -04:00
Mike McQuaid
bbe5a858d5
Merge pull request #18615 from Neved4/go-gcflags
Go: Add `-gcflags` to `std_go_args`
2024-10-25 13:45:58 +01:00
Przemysław Kryger
f31e93a73a Disable audit_result in inreplace
This is to allow migration of existing users of @@HOMEBREW_PREFIX@@ tag in external patches. Once the automatic
replacement of the tag is in stable branch and existing users are fixed (inreplace calls removed), this commit can be
reverted.
2024-10-25 13:37:15 +01:00
Bo Anderson
ddfe04a601
Merge pull request #18516 from Homebrew/lockf-macos-15
utils/lock: use new lockf where available
2024-10-25 03:09:12 +01:00
Bo Anderson
5538282b48
Merge pull request #18631 from Homebrew/sf-fixes
rubocops/shared/url_helper: tweak SourceForge handling
2024-10-24 20:54:59 +01:00
Bo Anderson
3292dc3543
rubocops/shared/url_helper: tweak SourceForge handling 2024-10-24 20:40:32 +01:00
Carlo Cabrera
3b52a46059
Merge pull request #18626 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-runtime-0.5.11615 2024-10-25 03:26:59 +08:00
Ruoyu Zhong
146212c5eb
brew tc --fix 2024-10-25 03:06:16 +08:00
Ruoyu Zhong
0e5cf324d0
Merge pull request #18625 from Homebrew/dependabot/bundler/Library/Homebrew/rexml-3.3.9
build(deps-dev): bump rexml from 3.3.8 to 3.3.9 in /Library/Homebrew
2024-10-25 02:56:42 +08:00
BrewTestBot
b35423acdf
brew vendor-gems: commit updates. 2024-10-25 02:44:52 +08:00
dependabot[bot]
224e5118fd
build(deps-dev): bump rexml from 3.3.8 to 3.3.9 in /Library/Homebrew
Bumps [rexml](https://github.com/ruby/rexml) from 3.3.8 to 3.3.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.3.8...v3.3.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-10-25 02:44:52 +08:00
BrewTestBot
32a4a06ca8
brew vendor-gems: commit updates. 2024-10-25 02:44:22 +08:00
dependabot[bot]
523a571baa
build(deps): bump sorbet-runtime in /Library/Homebrew
Bumps [sorbet-runtime](https://github.com/sorbet/sorbet) from 0.5.11611 to 0.5.11615.
- [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-10-25 02:44:22 +08:00
BrewTestBot
b2ff52ef61
brew vendor-gems: commit updates. 2024-10-24 18:43:57 +00:00
dependabot[bot]
4c92e70cd4
build(deps-dev): bump json from 2.7.2 to 2.7.3 in /Library/Homebrew
Bumps [json](https://github.com/ruby/json) from 2.7.2 to 2.7.3.
- [Release notes](https://github.com/ruby/json/releases)
- [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md)
- [Commits](https://github.com/ruby/json/compare/v2.7.2...v2.7.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-25 02:43:41 +08:00
BrewTestBot
463afa9958
brew vendor-gems: commit updates. 2024-10-23 18:41:10 +00:00
dependabot[bot]
49f6c95515
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11610 to 0.5.11611.
- [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-10-23 18:16:06 +00:00
Neved4
219a937fc2 Add -gcflags to std_go_args 2024-10-23 19:19:45 +02:00
Przemysław Kryger
ff03947ba0 Use @@HOMEBREW_PREFIX@@ for replacements in external patches 2024-10-23 16:51:01 +01:00
Przemysław Kryger
13a26d5517
Use patch arguments directly
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-10-23 16:26:14 +01:00
Przemysław Kryger
a03d65b5c9 Allow HOMEBREW_PREFIX replacement in external patches
This fixes #15925
2024-10-23 15:15:17 +01:00
BrewTestBot
f7e6eab0fb
brew vendor-gems: commit updates. 2024-10-22 17:11:16 +00:00
dependabot[bot]
d381e39f3f
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11609 to 0.5.11610.
- [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-10-22 17:08:31 +00:00
Mike McQuaid
a74bdb271c
Merge pull request #18598 from khipp/fix-bundle-version-comparison
Fix `BundleVersion` comparison when `short_version` is not comparable
2024-10-21 16:47:10 +01:00