Douglas Eichelberger
eeb31d3050
Fix violations
2024-09-20 11:07:00 -07:00
Douglas Eichelberger
c354377f3e
Exclude sorbet assignments from Style/MutableConstant cop
2024-09-20 10:45:26 -07:00
Mike McQuaid
eab322946a
formula: fix alias/generic/prepend std_cmake_args issue.
...
Seen in:
https://github.com/Homebrew/homebrew-core/pull/191090#issuecomment-2363215204
There's a missing signature issue here due to the `generic_*` aliasing
we're doing. With prepend, though: this is no longer needed and we can
use `super` instead which is more idiomatic and nicer overall.
This pattern should probably be applied in other places but: let's try
this targetting fix for here first.
2024-09-20 13:01:42 +01:00
Mike McQuaid
d8fd19dde5
Merge pull request #18298 from Homebrew/curl-14.5
...
os/mac/pkgconfig/14: update libcurl for 14.5 SDK
2024-09-20 12:55:02 +01:00
Douglas Eichelberger
125ced9cf8
Fix formatting
2024-09-19 10:58:53 -07:00
Douglas Eichelberger
61985bc7f3
Use top-level OS instead
2024-09-19 10:58:53 -07:00
Douglas Eichelberger
bb80f063dc
Fix namespacing
2024-09-19 10:58:53 -07:00
Douglas Eichelberger
7cd329c116
Makes args readable
2024-09-19 10:58:53 -07:00
Douglas Eichelberger
27e951c408
Replace undef with prepended modules
2024-09-19 10:58:53 -07:00
Douglas Eichelberger
07da4aa7a6
Stop suppressing undef errors
2024-09-19 10:58:53 -07:00
Carlo Cabrera
b76debe4c7
Merge pull request #18362 from Homebrew/github_runner_matrix-all_supported
2024-09-20 00:56:54 +08:00
Carlo Cabrera
c5563dbb0f
github_runner_matrix: include 15-x86_64 with --all-supported
...
Part of #18356 .
2024-09-20 00:27:43 +08:00
Patrick Linnane
d093a63dbb
Merge pull request #18360 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11572
2024-09-19 09:04:00 -07:00
BrewTestBot
82d907ec3d
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-09-19 15:47:24 +00:00
BrewTestBot
611e990f89
brew vendor-gems: commit updates.
2024-09-19 15:47:00 +00:00
BrewTestBot
6d7644ed61
brew vendor-gems: commit updates.
2024-09-19 15:46:52 +00:00
dependabot[bot]
9b001f337f
build(deps-dev): bump sorbet in /Library/Homebrew
...
Bumps [sorbet](https://github.com/sorbet/sorbet ) from 0.5.11566 to 0.5.11572.
- [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-09-19 15:45:29 +00:00
dependabot[bot]
824b539696
build(deps-dev): bump ruby-lsp in /Library/Homebrew
...
Bumps [ruby-lsp](https://github.com/Shopify/ruby-lsp ) from 0.17.17 to 0.18.0.
- [Release notes](https://github.com/Shopify/ruby-lsp/releases )
- [Commits](https://github.com/Shopify/ruby-lsp/compare/v0.17.17...v0.18.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-09-19 15:44:46 +00:00
Bo Anderson
ca26080ef4
formula_installer: fix manifest error handling
2024-09-19 15:26:14 +01:00
BrewTestBot
7c57190931
brew vendor-gems: commit updates.
2024-09-18 19:09:40 +00:00
dependabot[bot]
13a20a39a1
build(deps-dev): bump sorbet in /Library/Homebrew
...
Bumps [sorbet](https://github.com/sorbet/sorbet ) from 0.5.11558 to 0.5.11566.
- [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-09-18 18:40:05 +00:00
Carlo Cabrera
f26530dd9d
dev-cmd/bottle: improve :all
bottle handling
...
Currently, we silently ignore cases where a formula previously had an
`:all` bottle but now no longer does.
These are most often due to (in order of likelihood):
- bottle reproducibility breakage in `brew`
- new hard-coded `/usr/local` references in text files in a bottle
The former is a bug that should be fixed, while the latter can be fixed
trivally with an `inreplace`.
Let's try to make sure we always do this by making `brew bottle` error
out so that we can catch these instances as they happen rather than
after the fact.
I haven't encountered any cases where a formula previously had an `:all`
bottle but no longer does for reasons other than the two outlined above.
If we do encouter those in the future, we can either:
- update `brew bottle` to skip this check, perhaps with a new flag
- delete the formula's old `:all` bottle before doing `brew bottle` so
it doesn't error
2024-09-18 19:21:54 +08:00
Mike McQuaid
e220725814
Merge pull request #18346 from cho-m/xcodebuild-dep
...
rubocops: `xcodebuild` needs an Xcode dependency
2024-09-18 09:11:41 +01:00
Michael Cho
834c2b1094
rubocops: xcodebuild
needs an Xcode dependency
2024-09-17 20:41:31 -04:00
BrewTestBot
a64aea60d9
brew vendor-gems: commit updates.
2024-09-17 18:49:39 +00:00
dependabot[bot]
32f771ee86
build(deps-dev): bump rubocop-performance in /Library/Homebrew
...
Bumps [rubocop-performance](https://github.com/rubocop/rubocop-performance ) from 1.22.0 to 1.22.1.
- [Release notes](https://github.com/rubocop/rubocop-performance/releases )
- [Changelog](https://github.com/rubocop/rubocop-performance/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop-performance/compare/v1.22.0...v1.22.1 )
---
updated-dependencies:
- dependency-name: rubocop-performance
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-17 18:44:07 +00:00
Michael Cho
133e46e484
dev-cmd/unbottled: fix total unbottled count
2024-09-17 12:47:39 -04:00
Mike McQuaid
335d370ec0
Merge pull request #18326 from notfirefox/update-shellenv
...
cmd/shellenv: set `XDG_DATA_DIRS` on Linux
2024-09-17 13:51:21 +01:00
notfirefox
12982a2d97
cmd/shellenv: set XDG_DATA_DIRS
on Linux
...
Some programs like `vapigen` might not work correctly, when `XDG_DATA_DIRS`
does not include `$HOMEBREW_PREFIX/share`. Instead of requiring the user
to manually adjust the shell environment, we can set `XDG_DATA_DIRS` as
part of `cmd/shellenv`, so that it is sufficient to run `brew shellenv`
on any particular system.
Fixes #18317
2024-09-17 13:54:53 +02:00
Mike McQuaid
6c39a5883f
Merge pull request #18345 from daeho-ro/add-search-characters
...
search: allow @ and + characters
2024-09-17 08:48:28 +01:00
Ruoyu Zhong
28a1dbd2ab
Merge pull request #18342 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-performance-1.22.0
...
build(deps-dev): bump rubocop-performance from 1.21.1 to 1.22.0 in /Library/Homebrew
2024-09-17 12:14:11 +08:00
Carlo Cabrera
04a2c994e5
Merge pull request #18333 from Homebrew/ld-so-diagnostics-typeerror
2024-09-17 12:09:09 +08:00
Carlo Cabrera
1656d08629
os/linux/ld: drop retry
logic
...
This is a hack, so let's see if we can get away with skipping it for
now.
2024-09-17 11:51:27 +08:00
Daeho Ro
47e70ab3ea
allow @ and + characters for search
2024-09-17 12:43:28 +09:00
Bo Anderson
70b8b41b37
resource: further fix manifest retry handling
2024-09-16 21:05:39 +01:00
BrewTestBot
05c0f473f0
brew vendor-gems: commit updates.
2024-09-16 19:43:34 +00:00
dependabot[bot]
7ec083ebd6
build(deps-dev): bump rubocop-performance in /Library/Homebrew
...
Bumps [rubocop-performance](https://github.com/rubocop/rubocop-performance ) from 1.21.1 to 1.22.0.
- [Release notes](https://github.com/rubocop/rubocop-performance/releases )
- [Changelog](https://github.com/rubocop/rubocop-performance/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop-performance/compare/v1.21.1...v1.22.0 )
---
updated-dependencies:
- dependency-name: rubocop-performance
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-16 18:30:51 +00:00
Carlo Cabrera
70ab4932d3
Add link to issue with context
2024-09-17 01:03:34 +08:00
Mike McQuaid
08e5122036
Merge pull request #18340 from Homebrew/revert-18329-limit-annotations
...
Revert "Limit usage of GitHub Actions Annotations"
2024-09-16 17:49:45 +01:00
Mike McQuaid
547677c810
Merge pull request #18341 from Homebrew/add-warning-silence-suggestions
...
cli/named_args: update `package_conflicts_message`
2024-09-16 17:40:07 +01:00
Mike McQuaid
8f5c74592e
Merge pull request #18328 from notfirefox/fix-rubocop-cache
...
style: resolve symblic links in `HOMEBREW_CACHE`
2024-09-16 17:23:51 +01:00
Carlo Cabrera
2101411c0a
cli/named_args: update package_conflicts_message
...
Let's also show users the right way to silence this message.
Follow-up to #18330 .
2024-09-17 00:23:15 +08:00
Mike McQuaid
8fd78bffce
Merge pull request #18330 from Homebrew/package-conflicts-message-quiet
...
cli/named_args: silence `package_conflicts_message` with `--quiet`
2024-09-16 17:00:04 +01:00
Mike McQuaid
1c390093f8
Revert "Limit usage of GitHub Actions Annotations"
2024-09-16 16:52:03 +01:00
Bo Anderson
337ac07980
dev-cmd/generate-cask-api: fix handling of +
characters
2024-09-16 16:25:19 +01:00
Bo Anderson
a434e516cd
formula_installer: fix fetch call
2024-09-16 15:03:58 +01:00
Carlo Cabrera
bb20b3c720
os/linux/ld: harden brewed_ld_so_diagnostics
against TypeError
...
I think this is a bug in Ruby, but I've no idea how to track it down. I
can reproduce it intermittently in a codespace when `brew install`ing a
large number of formulae.
To work around this:
- cache the return value of `brewed_ld_so_diagnostics` so that we can
limit the number of calls to `IO.popen`
- retry once when we see a `TypeError`
Closes #17828 .
2024-09-16 20:26:35 +08:00
notfirefox
bb4208ebf1
style: resolve symblic links in HOMEBREW_CACHE
...
On Linux HOMEBREW_CACHE may be set to `$HOME/.cache/Homebrew`. Some
systems, like Fedora Silverblue, have `/home` set up to be a symbolic
link to `/var/home`. While Homebrew generally seems to work fine on
Fedora Silverblue, rubocop causes the `brew style` command to emit
a lot of warnings because of the symbolic link[1]. This can be resolved
by looking up the real path of HOMEBREW_CACHE before passing it to rubocop.
[1] https://github.com/rubocop/rubocop/issues/6228
Co-authored-by: Bo Anderson <mail@boanderson.me>
2024-09-16 09:50:48 +02:00
Carlo Cabrera
076c4e01f2
Merge pull request #18334 from Homebrew/NoSuchKegFromTapError
2024-09-16 12:59:35 +08:00
Bo Anderson
eb93d844d8
Fix NoSuchKegFromTapError handling
2024-09-16 05:46:14 +01:00