33509 Commits

Author SHA1 Message Date
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
Patrick Linnane
4ca57e247a
Merge pull request #18602 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11609 2024-10-21 08:32:51 -07:00
Patrick Linnane
08febffd38
Merge pull request #18600 from Homebrew/dependabot/bundler/Library/Homebrew/rspec-core-3.13.2 2024-10-21 08:32:18 -07:00
Klaus Hipp
773242b936
Fix BundleVersion comparison when short_version is not comparable 2024-10-21 17:31:25 +02:00
BrewTestBot
ea77d4cf15
Update RBI files for rspec-core.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-10-21 15:21:32 +00:00
BrewTestBot
1f7667b6dc
brew vendor-gems: commit updates. 2024-10-21 15:21:23 +00:00
BrewTestBot
389d08abc4
brew vendor-gems: commit updates. 2024-10-21 15:21:22 +00:00
BrewTestBot
10a1024fb6
brew vendor-gems: commit updates. 2024-10-21 15:21:04 +00:00
dependabot[bot]
5c3f1221b7
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11608 to 0.5.11609.
- [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-21 15:19:48 +00:00
dependabot[bot]
7b0217c795
build(deps-dev): bump rspec-core in /Library/Homebrew
Bumps [rspec-core](https://github.com/rspec/rspec-core) from 3.13.1 to 3.13.2.
- [Release notes](https://github.com/rspec/rspec-core/releases)
- [Changelog](https://github.com/rspec/rspec-core/blob/main/Changelog.md)
- [Commits](https://github.com/rspec/rspec-core/compare/v3.13.1...v3.13.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-21 15:19:17 +00:00
dependabot[bot]
afad33dfb2
build(deps-dev): bump ruby-prof from 1.7.0 to 1.7.1 in /Library/Homebrew
Bumps [ruby-prof](https://github.com/ruby-prof/ruby-prof) from 1.7.0 to 1.7.1.
- [Changelog](https://github.com/ruby-prof/ruby-prof/blob/master/CHANGES)
- [Commits](https://github.com/ruby-prof/ruby-prof/compare/1.7.0...1.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-21 15:19:08 +00:00
Muneeb Ahmed
d33c5b31bf filter pinned test dependencies 2024-10-21 02:41:07 -07:00
Michael Cho
35ebf4a047
Merge pull request #18518 from Homebrew/unpack-with-mv
unpack_strategy/directory: use mv for nested unpack
2024-10-20 19:56:28 -04:00
Michael Cho
13be3c3073
unpack_strategy/directory: use mv for nested unpack
`mv` should preserve hardlinks and allow faster unpack on the same
filesystem. A secondary pass is done with `cp` to copy over attributes
onto any existing directories.

We only run this for nested unpacks as most direct Directory strategy
usage is for repositories where moving files breaks existing code.

This uses `cp -pR` for non-move as some potential user reported issues
could be due to Apple's `cp -l` on specific macOS versions. Can
consider re-adding `cp -l` with better handling for older macOS.
2024-10-20 11:29:30 -04:00
Sam Ford
4ed2eb6811
curl: handle multiple Content-Type headers
`#curl_http_content_headers_and_checksum` contains code that works
with a `Content-Type` header in a response but it expects there to
always be only one header in the response. This is normally a
reasonable assumption but we've come across a server that is giving
a response with multiple `Content-Type` headers in the response, so
this produces an error and causes `brew audit` to fail when checking
the URL.

This works around the issue by naively using the last `Content-Type`
header in the response when there's more than one. It's not something
that should normally occur but this will handle the situation when it
does.
2024-10-19 18:02:06 -04:00
BrewTestBot
ca2fce09f4
brew vendor-gems: commit updates. 2024-10-18 17:20:30 +00:00
dependabot[bot]
f87504a047
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11604 to 0.5.11608.
- [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-18 17:17:39 +00:00
apainintheneck
7aee21ca8b Fix RuboCop::Cop::FormulaAudit::ShellVariables autocorrect
It used to leave out the parenthesis which could result in invalid
Ruby syntax. Now it always parenthesis here.
2024-10-17 23:46:40 -07:00
apainintheneck
ab5f0c0fa5 brew style --fix 2024-10-17 23:45:25 -07:00
BrewTestBot
80e8978f4d
Update RBI files for rubocop.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-10-18 06:40:11 +00:00
BrewTestBot
0ac8a94c53
brew vendor-gems: commit updates. 2024-10-18 06:39:49 +00:00
dependabot[bot]
d8bccabbc5
build(deps-dev): bump rubocop from 1.66.1 to 1.67.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.66.1 to 1.67.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.66.1...v1.67.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-18 06:25:09 +00:00
Michael Cho
215064e9cd
Merge pull request #18589 from Homebrew/language-java-api
language/java: document public API
2024-10-17 17:29:44 -04:00
Michael Cho
372e8fb4b7
language/java: document public API 2024-10-17 12:07:41 -04:00
BrewTestBot
9c5f6731a9
brew vendor-gems: commit updates. 2024-10-17 16:03:43 +00:00
dependabot[bot]
d71d7c1ad5
build(deps-dev): bump rubocop-md in /Library/Homebrew
Bumps [rubocop-md](https://github.com/rubocop/rubocop-md) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/rubocop/rubocop-md/releases)
- [Changelog](https://github.com/rubocop/rubocop-md/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-md/compare/v1.2.3...v1.2.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-17 16:02:05 +00:00
Michael Cho
b89d282d5c
formula: change some private API to public API
The following methods used in Homebrew/core are now public API:

* `system`
* `std_*_args`
* `any_version_installed?`
* `shared_library`
* `rpath`
* `loader_path`
* `deuniversalize_machos`
* `generate_completions_from_executable`

Also remove duplicate typing in `generate_completions_from_executable`
2024-10-17 11:40:20 -04:00
Michael Cho
1fdbc6fe5a
Merge pull request #18560 from Homebrew/mktemp-type
mktemp: strict type and allow `#run` without chdir
2024-10-17 11:34:53 -04:00
Mike McQuaid
1ba1304952
Merge pull request #18587 from Homebrew/improve_forbidden_licenses
Improve/fix HOMEBREW_FORBIDDEN_LICENSES handling
2024-10-17 10:36:23 +01:00
Mike McQuaid
dd7d91bc6f
Improve/fix HOMEBREW_FORBIDDEN_LICENSES handling
`HOMEBREW_FORBIDDEN_LICENSES` now actually checks for valid SPDX license
identifiers rather than requiring the user to guess.

When an identifier is invalid, it will be ignore and warned about
instead.
2024-10-17 08:34:03 +01:00