32538 Commits

Author SHA1 Message Date
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
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
Mike McQuaid
9fa27519dd
Merge pull request #18557 from Homebrew/super-python-envvars
extend/ENV/super: use brew libs for some Python packages
2024-10-13 17:37:01 +01:00
Mike McQuaid
e0668067df
Merge pull request #18536 from boblail/lail/install-unlinked-formulae-when---overwrite-is-passed
feat: Install an unlinked formula via `brew install` if `--overwrite`  is passed
2024-10-13 17:34:57 +01:00
Mike McQuaid
a25a541d26
Merge pull request #18438 from bevanjkay/extract_plist_url_fix
cask/cask: pass args when initalising methods
2024-10-13 17:32:01 +01:00
Michael Cho
5d490499d3
Merge pull request #18545 from Homebrew/bzip2-pc
os/mac/pkgconfig: add bzip2.pc for rust formulae
2024-10-13 08:56:46 -04:00
Michael Cho
89fe201ad9
extend/ENV/super: use brew libs for some Python packages
This avoids using bundled libraries for:

* `hidapi`[^1]
* `pynacl`[^2]
* `pyzmq`[^3]

The build should now fail if dependency is missing.

Essentially reverses default so now that using bundled copy is now
opt-in via `ENV` modification, e.g. `ENV.delete "SODIUM_INSTALL"`

[^1]: https://github.com/trezor/cython-hidapi/blob/0.14.0.post2/setup.py#L229
[^2]: https://github.com/pyca/pynacl/blob/1.5.0/setup.py#L71-L73
[^3]: https://github.com/zeromq/pyzmq/blob/v26.2.0/CMakeLists.txt#L41-L43
2024-10-12 18:23:18 -04:00
Bob Lail
a5db113d91 feat: Install an unlinked formula via brew install if --overwrite is passed
If the intention is to overwrite any existing links, then `brew install` should go on to install over an unlinked formula
2024-10-12 11:50:51 -07:00
BrewTestBot
0d8172e840
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2024-10-12 00:24:30 +00:00
Michael Cho
252678692f
os/mac/pkgconfig: add bzip2.pc for rust formulae 2024-10-11 14:55:37 -04:00
dependabot[bot]
50ed9ac420
build(deps-dev): bump ruby-lsp in /Library/Homebrew
Bumps [ruby-lsp](https://github.com/Shopify/ruby-lsp) from 0.19.1 to 0.20.0.
- [Release notes](https://github.com/Shopify/ruby-lsp/releases)
- [Commits](https://github.com/Shopify/ruby-lsp/compare/v0.19.1...v0.20.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-11 18:19:05 +00:00
Michael Cho
3ba4b8d3b5
Merge pull request #18541 from Homebrew/audit-autobump
tap_auditor: check formulae names in autobump.txt
2024-10-11 13:24:46 -04:00
Bo Anderson
97866f8adf
Perform preinstall checks when a formula is installed via a cask 2024-10-11 16:57:47 +01:00
William Woodruff
0613050d59
attestation: specialize error on incompatible gh
Signed-off-by: William Woodruff <william@yossarian.net>
2024-10-10 12:06:09 +01:00
Bevan Kay
8b33aa048a
test/fixtures: add app binary with valid info.plist file 2024-10-10 10:41:09 +11:00
Bevan Kay
8852f024a6
test/fixtures: add livecheck-extract-plist cask 2024-10-10 10:41:09 +11:00
Bevan Kay
0211a23c1f
test/livecheck: add extract_plist livecheck url test 2024-10-10 10:36:45 +11:00
Bevan Kay
25e34919cb
livecheck/strategy/extract_plist: pass livecheck url as string 2024-10-10 10:36:44 +11:00
Bevan Kay
69f04bc069
cask/cask: pass args when initialising dsl 2024-10-10 10:36:44 +11:00
Michael Cho
3d9590531e
tap_auditor: check formulae names in autobump.txt 2024-10-09 14:27:21 -04:00
Carlo Cabrera
98647ff0af
attestation: show unit of time for retry message
Otherwise this just shows a message like

    Failed to verify attestation. Retrying in 27...

which is a little vague. Let's make it clear that that refers to
seconds.
2024-10-09 23:24:24 +08:00
BrewTestBot
9586d57fa9
brew vendor-gems: commit updates. 2024-10-08 15:16:48 +00:00
dependabot[bot]
a95af9e5e7
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11597 to 0.5.11600.
- [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-08 15:14:55 +00:00
Michael Cho
a3d8f4e0e4
Merge pull request #18508 from Homebrew/curl-skip-get
utils/curl: workaround curl bug for `--head --request GET`
2024-10-08 08:44:05 -04:00
Douglas Eichelberger
ed4129b580 Remove removable constants 2024-10-07 19:45:48 -07:00
Douglas Eichelberger
8033fcf4a6 Fix brew style docs 2024-10-07 18:59:27 -07:00
Douglas Eichelberger
2d16333bbc Replace removable constants with overridable methods 2024-10-07 18:33:03 -07:00
Douglas Eichelberger
1a1795fa9c
Merge pull request #18521 from Homebrew/runtime-req-ans
Use requires_ancestor consistently
2024-10-07 07:41:03 -07:00
Douglas Eichelberger
69941c0c73
Merge pull request #18520 from Homebrew/delegator-compiler
Add a Delegator DSL compiler
2024-10-07 07:38:53 -07:00
Issy Long
d1892d436a
Fix leftover errors for Dependencies vs. T::Array[Dependency] 2024-10-06 20:04:42 +01:00
Issy Long
28349370d3
Bump more files to Sorbet typed: strict 2024-10-06 20:04:42 +01:00
Douglas Eichelberger
d3d25beb35 Use requires_ancestor consistently 2024-10-06 09:25:57 -07:00
Douglas Eichelberger
6eaf122144 Add a Delegator DSL compiler 2024-10-05 19:36:54 -07:00
Douglas Eichelberger
0855d7c9e0 Revert ENV changes 2024-10-05 12:35:28 -07:00
Douglas Eichelberger
f4a6dce64a Fix ENV 2024-10-05 12:18:29 -07:00
Douglas Eichelberger
0d5b56aa6a Fix tests 2024-10-05 12:18:29 -07:00
Douglas Eichelberger
eed660e784 Move remaining OS extensions to prepend 2024-10-05 12:18:29 -07:00
Michael Cho
43ee408793
utils/curl: workaround curl bug for --head --request GET
The `curl --head --request GET` causes a full download to happen on
`curl` from 8.7.0 to 8.9.1[^1] which causes poor UX due to slow
Cask downloads that can take almost twice as long as they should.

[^1]: https://github.com/Homebrew/brew/issues/18213
2024-10-05 14:05:59 -04:00
Patrick Linnane
7c4f2c19fe
Merge pull request #18511 from Homebrew/dependabot/bundler/Library/Homebrew/ruby-lsp-0.19.1 2024-10-05 09:05:02 -07:00
BrewTestBot
0c787ae846
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-05 15:56:11 +00:00
BrewTestBot
9f41a1cde6
brew vendor-gems: commit updates. 2024-10-05 15:56:01 +00:00