Bo Anderson
aff41779c4
extend/kernel: fix error on early deprecations
2024-10-16 03:58:05 +01: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
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