32528 Commits

Author SHA1 Message Date
BrewTestBot
10a1024fb6
brew vendor-gems: commit updates. 2024-10-21 15:21:04 +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
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
Patrick Linnane
ad9ea1cb04
Merge pull request #18583 from Homebrew/dependabot/bundler/Library/Homebrew/ruby-lsp-0.20.1 2024-10-16 12:09:23 -07:00
BrewTestBot
17b520e97b
brew vendor-gems: commit updates. 2024-10-16 18:56:51 +00:00
BrewTestBot
050c94579a
Update RBI files for ruby-lsp.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-10-16 18:56:06 +00:00
BrewTestBot
2aa5795bd8
brew vendor-gems: commit updates. 2024-10-16 18:55:51 +00:00
dependabot[bot]
b7ff005b70
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11602 to 0.5.11604.
- [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-16 18:45:30 +00:00
dependabot[bot]
1e2e96e3e6
build(deps-dev): bump ruby-lsp in /Library/Homebrew
Bumps [ruby-lsp](https://github.com/Shopify/ruby-lsp) from 0.20.0 to 0.20.1.
- [Release notes](https://github.com/Shopify/ruby-lsp/releases)
- [Commits](https://github.com/Shopify/ruby-lsp/compare/v0.20.0...v0.20.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-16 18:45:12 +00:00
Michael Cho
835466ecd8
unpack_strategy: use Mktemp instead of Dir.mktmpdir 2024-10-16 12:53:08 -04:00
Michael Cho
ff1f6ecc63
mktemp: strict type and allow #run without chdir 2024-10-16 12:47:14 -04:00
Bo Anderson
af958b2540
Merge pull request #18576 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-sorbet-0.8.6
build(deps-dev): bump rubocop-sorbet from 0.8.5 to 0.8.6 in /Library/Homebrew
2024-10-16 04:23:42 +01:00
Bo Anderson
aff41779c4
extend/kernel: fix error on early deprecations 2024-10-16 03:58:05 +01:00
BrewTestBot
be0d93d009
brew vendor-gems: commit updates. 2024-10-15 22:32:12 +00:00
dependabot[bot]
4a2ddf7dd7
build(deps-dev): bump rubocop-sorbet in /Library/Homebrew
Bumps [rubocop-sorbet](https://github.com/shopify/rubocop-sorbet) from 0.8.5 to 0.8.6.
- [Release notes](https://github.com/shopify/rubocop-sorbet/releases)
- [Commits](https://github.com/shopify/rubocop-sorbet/compare/v0.8.5...v0.8.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-15 18:37:12 +00:00
Carlo Cabrera
4d4f3a2344
Merge pull request #18574 from dawidd6/podman-root 2024-10-15 17:30:05 +08:00
Dawid Dziurla
c16d2d291a
brew: allow root in podman containers 2024-10-15 10:39:10 +02:00
Dawid Dziurla
02cef968a2
dev-cmd/bump-formula-pr: always use full git repo as tap remote 2024-10-15 10:20:58 +02:00
Mike McQuaid
aaf6165a60
Merge pull request #18572 from Homebrew/require-named-args-when-upgrading-from-source
cmd/upgrade: require named args when upgrading from source
2024-10-15 08:11:07 +01:00
Douglas Eichelberger
70641dcb58 Remove casts 2024-10-14 21:45:50 -07:00
apainintheneck
200452e23d cmd/upgrade: required named args when upgrading from source
The --build-from-source flag can currently be used without specifying
a formula by name but it doesn't behave the way you'd expect it to.

It will upgrade everything using bottles if they are available and skip
building things from source. This is intentional because we want to
discourage non-developers from building packages from source since the
result is less predictable.

The change here is to error out in that case. It might be smarter to
go through the entire deprecation cycle here just in case someone
is using this in scripts.
2024-10-14 20:49:04 -07:00
Douglas Eichelberger
ced4a3a91f Migrate Parlour extensions to Tapioca compilers 2024-10-14 19:50:09 -07:00
Ruoyu Zhong
f957e0e9fa
Merge pull request #18565 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11602
build(deps-dev): bump sorbet from 0.5.11600 to 0.5.11602 in /Library/Homebrew
2024-10-15 03:33:56 +08:00
BrewTestBot
61ca40fc0b
brew vendor-gems: commit updates. 2024-10-14 19:21:28 +00:00
Conlan Cesar
f7b8681bc9
Add zsh site-functions to fpath
I considered doing a fallthough in the case-statement, but that doesn't work on bash leq 4 (notably, those versions shipped with MacOS by default).

I chose to prepend the value to the array to mirror the homebrew completion [instructions page](https://docs.brew.sh/Shell-Completion).

I also chose to leave off the `-d`irectory check -- zsh seems to tolerate invalid paths, so there isn't much harm in adding it anyway.

I'm flexible on any of these choices should someone feel strongly. However, I imagine this is the best combination given the trade-offs we have.
2024-10-15 03:20:50 +08:00
dependabot[bot]
03eeb9d8be
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11600 to 0.5.11602.
- [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-14 19:20:01 +00:00
Ruoyu Zhong
5a6203a285
test/utils/github_spec: fix artifact URL test
This does the same as dcba7f356d (#15619) and unblocks CI.
2024-10-15 03:01:45 +08:00
Mike McQuaid
fd270c78d1
Merge pull request #18561 from Homebrew/duplicate-messages-github-actions
extend/kernel: fix duplicate messages in GitHub Actions
2024-10-14 08:40:00 +01:00
Carlo Cabrera
d49c35d527
Merge pull request #18562 from Homebrew/verify-attestation-at-fetch 2024-10-14 15:36:02 +08:00
Bo Anderson
70672606c6
Merge pull request #18548 from Homebrew/unpack_strategy-group-fix
unpack_strategy: fix unpack Dir.mktmpdir group
2024-10-14 07:48:21 +01:00
Carlo Cabrera
aedbf7ac43
formula_installer: verify attestations at bottle fetch time
See discussion at #18544.
2024-10-14 14:08:54 +08:00
Carlo Cabrera
7a8f9fa489
extend/kernel: fix duplicate messages in GitHub Actions
Calls to `opoo` and `onoe` produce duplicate `Warning:` and `Error:`
messages in CI logs because we print something to stdout and print an
annotation. Annotations also produce `Error:` and `Warning:` lines in
the log.

Let's fix this by skipping printing the message if we've already printed
an annotation.
2024-10-14 12:15:24 +08:00
Michael Cho
f223fef218
unpack_strategy: fix unpack Dir.mktmpdir group
Otherwise the files will be unpacked with group wheel on macOS which
gets copied over when running `cp -al`.
2024-10-13 13:56:23 -04:00