42653 Commits

Author SHA1 Message Date
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
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
Carlo Cabrera
574ae67b85
Merge pull request #18584 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11604 2024-10-17 03:07:30 +08: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
43e47abc72
Merge pull request #18580 from Homebrew/opoo-error-fix
extend/kernel: fix error on early deprecations
2024-10-16 04:23:11 +01:00
Bo Anderson
bce46628b0
.rubocop.yml: disable Sorbet/Refinement 2024-10-16 04:12:23 +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
Mike McQuaid
b72efbd296
Merge pull request #18538 from dawidd6/patch-1
dev-cmd/bump-formula-pr: always use full git repo as tap remote
2024-10-15 09:56:04 +01: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
58b03edb94
Merge pull request #18573 from Homebrew/sponsors-maintainers-man-completions
Update sponsors.
2024-10-15 08:27:02 +01:00
BrewTestBot
ad2be4b317
Update sponsors.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2024-10-15 07:11:12 +00: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
Mike McQuaid
e5da2d92e7
Merge pull request #18571 from Homebrew/compilers
Migrate Parlour extensions to Tapioca compilers
2024-10-15 08:10:26 +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
Ruoyu Zhong
91d6ededbf
Merge pull request #18524 from HeroCC/shellenv-fpath
shellenv: Add zsh site-functions to `fpath`
2024-10-15 03:32:31 +08:00
Ruoyu Zhong
d6591d4fd6
Merge pull request #18563 from Homebrew/dependabot/github_actions/github/codeql-action-3.26.13
build(deps): bump github/codeql-action from 3.26.12 to 3.26.13
2024-10-15 03:30:31 +08:00
Ruoyu Zhong
3d6c8f0476
Merge pull request #18564 from Homebrew/dependabot/github_actions/actions/attest-build-provenance-1.4.3
build(deps): bump actions/attest-build-provenance from 1.3.3 to 1.4.3
2024-10-15 03:27:53 +08:00
BrewTestBot
61ca40fc0b
brew vendor-gems: commit updates. 2024-10-14 19:21:28 +00:00
Ruoyu Zhong
94426ba18b
docs/Shell-Completion: update Zsh completions docs for Linux 2024-10-15 03:20:50 +08:00
Ruoyu Zhong
aea87757ff
docs/Shell-Completion: update docs for Zsh completions 2024-10-15 03:20:50 +08: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
dependabot[bot]
832356bafa
build(deps): bump github/codeql-action from 3.26.12 to 3.26.13
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.12 to 3.26.13.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](c36620d31a...f779452ac5)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-14 19:19:37 +00:00
dependabot[bot]
0361188c1a
build(deps): bump actions/attest-build-provenance from 1.3.3 to 1.4.3
Bumps [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance) from 1.3.3 to 1.4.3.
- [Release notes](https://github.com/actions/attest-build-provenance/releases)
- [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md)
- [Commits](5e9cb68e95...1c608d11d6)

---
updated-dependencies:
- dependency-name: actions/attest-build-provenance
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-14 19:19:34 +00:00
Ruoyu Zhong
aba44a4b7a
Merge pull request #18569 from Homebrew/artifact-test-fix
test/utils/github_spec: fix artifact URL test
2024-10-15 03:17:10 +08: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
4.4.1
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
Mike McQuaid
d1e539cb84
Merge pull request #18547 from Homebrew/cask-formula-dep-preinstall
Perform preinstall checks when a formula is installed via a cask
2024-10-13 17:40:59 +01:00