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
Bo Anderson
2985b16369
Merge pull request #18331 from Homebrew/debug-symbols-prefix
...
shims/super/cc: don't strip prefixes with `--debug-symbols`
2024-09-16 05:07:46 +01:00
Bo Anderson
505d184a16
Merge pull request #18332 from Homebrew/manifest-error-fix
...
software_spec: fix invalid manifest handling
2024-09-16 01:31:39 +01:00
Bo Anderson
45c88cc508
software_spec: fix invalid manifest handling
2024-09-16 00:39:53 +01:00
Bo Anderson
0820c19417
shims/super/cc: don't strip prefixes with --debug-symbols
2024-09-15 19:07:12 +01:00
Carlo Cabrera
150e14f83d
cli/named_args: silence package_conflicts_message
with --quiet
...
Based on feedback from Homebrew/discussions#5602 .
While users can already silence this by passing `--formula` or `--cask`
as required, I am inclined to agree that `--quiet` should probably
silence messages that are relatively low priority (of which I think this
is one).
2024-09-15 18:51:06 +08:00
Carlo Cabrera
6c3c5133aa
Merge pull request #18329 from Homebrew/limit-annotations
2024-09-15 18:41:42 +08:00
Carlo Cabrera
c6e2cd9037
Limit usage of GitHub Actions Annotations
...
- only use annotations for `opoo` and `onoe` if
`HOMEBREW_GITHUB_ACTIONS` is set. This will make using `brew` less
noisy in GitHub Actions for third parties. See
Homebrew/discussions#5602 .
- if we've already called `puts_annotation_if_env_set`, then we no
longer need to print the message to `$stderr`. The message from the
annotation already show up in the GitHub Actions log, so printing to
`$stderr` just leads to duplicate messages in the log.
While we're here, let's make sure to forward the `file:` and `line:`
kwargs of `puts_annotation_if_env_set` to the `Annotation` constructor.
2024-09-15 11:31:54 +08:00
Ruoyu Zhong
1f306b4d15
Merge pull request #18325 from Homebrew/sponsors-maintainers-man-completions
...
Update sponsors.
2024-09-14 10:08:09 +08:00
BrewTestBot
6bf868d1c3
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-09-14 00:07:12 +00:00
Douglas Eichelberger
9b8d481fe3
Merge pull request #18323 from Homebrew/no-macos-12
...
Remove macos-12 from test matrix
2024-09-13 12:43:05 -07:00
Douglas Eichelberger
4e5fe6751d
Remove macos-12 from test matrix
2024-09-13 12:31:48 -07:00
Ruoyu Zhong
798bfac483
Merge pull request #18321 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-md-1.2.3
...
build(deps-dev): bump rubocop-md from 1.2.2 to 1.2.3 in /Library/Homebrew
2024-09-13 23:14:29 +08:00
Ruoyu Zhong
642834e6fa
Merge pull request #18322 from Homebrew/dependabot/bundler/Library/Homebrew/unicode-display_width-2.6.0
...
build(deps-dev): bump unicode-display_width from 2.5.0 to 2.6.0 in /Library/Homebrew
2024-09-13 23:14:11 +08:00
Ruoyu Zhong
9171d1c556
Merge pull request #18320 from Homebrew/dependabot/github_actions/github/codeql-action-3.26.7
...
build(deps): bump github/codeql-action from 3.26.6 to 3.26.7
2024-09-13 23:09:53 +08:00
BrewTestBot
4430030b0d
brew vendor-gems: commit updates.
2024-09-13 15:03:13 +00:00
BrewTestBot
24e8c5f01b
brew vendor-gems: commit updates.
2024-09-13 15:03:06 +00:00
dependabot[bot]
a98944e6cf
build(deps-dev): bump unicode-display_width in /Library/Homebrew
...
Bumps [unicode-display_width](https://github.com/janlelis/unicode-display_width ) from 2.5.0 to 2.6.0.
- [Changelog](https://github.com/janlelis/unicode-display_width/blob/main/CHANGELOG.md )
- [Commits](https://github.com/janlelis/unicode-display_width/compare/v2.5.0...v2.6.0 )
---
updated-dependencies:
- dependency-name: unicode-display_width
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-13 14:59:37 +00:00
dependabot[bot]
c4653cdb02
build(deps-dev): bump rubocop-md in /Library/Homebrew
...
Bumps [rubocop-md](https://github.com/rubocop/rubocop-md ) from 1.2.2 to 1.2.3.
- [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.2...v1.2.3 )
---
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-09-13 14:59:30 +00:00
dependabot[bot]
bd8d718889
build(deps): bump github/codeql-action from 3.26.6 to 3.26.7
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.26.6 to 3.26.7.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](4dd16135b6...8214744c54
)
---
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-09-13 14:59:18 +00:00
Mike McQuaid
51b9200f6e
Merge pull request #18314 from Homebrew/sequoia-runner-for-bottled-formulae
...
Deploy Sequoia runner, 🔪 Monterey
2024-09-13 08:36:53 +01:00
Carlo Cabrera
fd7f2bb3b1
Merge pull request #18318 from Homebrew/dependabot/github_actions/actions/create-github-app-token-1.11.0
2024-09-13 01:13:55 +08:00
dependabot[bot]
b013f2d94b
build(deps): bump actions/create-github-app-token from 1.10.4 to 1.11.0
...
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token ) from 1.10.4 to 1.11.0.
- [Release notes](https://github.com/actions/create-github-app-token/releases )
- [Commits](3378cda945...5d869da34e
)
---
updated-dependencies:
- dependency-name: actions/create-github-app-token
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-12 17:02:58 +00:00
Carlo Cabrera
51c4421409
Change default Homebrew/core CI runners
...
We will now build on Ventura (macOS 13) to Sequoia (macOS 15).
Runners for macOS 15-x86_64 will not be allocated by default due to a
lack of appropriate hardware.
2024-09-12 22:06:10 +08:00
Carlo Cabrera
9042eb9347
Merge pull request #18315 from Homebrew/fish-long-flags
2024-09-12 18:49:29 +08:00
Carlo Cabrera
623e1766dd
cmd/shellenv: use long flags for fish
...
This will make the output more readable. We tend to prefer long flags
elsewhere anyway.
2024-09-12 16:49:23 +08:00
Carlo Cabrera
c5d09b4117
Merge pull request #18304 from WinkelCode/fish-path-order-fix
4.3.21
2024-09-12 16:40:12 +08:00
Carlo Cabrera
b78f4b9d3f
Merge pull request #18313 from Homebrew/skip-build-error-issues
2024-09-12 15:43:12 +08:00
Carlo Cabrera
a4b433895c
exceptions: skip #fetch_issues
is HOMEBREW_NO_BUILD_ERROR_ISSUES
is set
...
This will allow us to set `HOMEBREW_NO_BUILD_ERROR_ISSUES` in our
workflows, which will avoid needlessly burning through our rate limit.
2024-09-12 14:05:30 +08:00
Carlo Cabrera
0fb4d515e5
Merge pull request #18312 from Homebrew/cargo-parallel
2024-09-12 02:28:15 +08:00
Carlo Cabrera
a9591c712f
formula: make cargo
respect Homebrew-managed parallelism
...
`cargo` doesn't follow setting `HOMEBREW_MAKE_JOBS` or
`ENV.deparallelize`. Let's fix that.
2024-09-12 02:16:01 +08:00
Carlo Cabrera
d2c443afce
Merge pull request #18310 from cho-m/m4-env
2024-09-12 02:10:04 +08:00
Ruoyu Zhong
0d2210b1c5
Merge pull request #18311 from Homebrew/dependabot/bundler/Library/Homebrew/vernier-1.2.1
...
build(deps-dev): bump vernier from 1.1.2 to 1.2.1 in /Library/Homebrew
2024-09-12 00:43:31 +08:00
BrewTestBot
5dd6ad3a1b
Update RBI files for vernier.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2024-09-11 16:29:58 +00:00
BrewTestBot
72860b6135
brew vendor-gems: commit updates.
2024-09-11 16:29:44 +00:00
dependabot[bot]
041b01f0dd
build(deps-dev): bump vernier from 1.1.2 to 1.2.1 in /Library/Homebrew
...
Bumps [vernier](https://github.com/jhawthorn/vernier ) from 1.1.2 to 1.2.1.
- [Commits](https://github.com/jhawthorn/vernier/compare/v1.1.2...v1.2.1 )
---
updated-dependencies:
- dependency-name: vernier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-11 16:27:12 +00:00
Mike McQuaid
491b9d4fa1
Merge pull request #18309 from Homebrew/linker-flag-parsing
...
shims/super/cc: fix linker flag parsing
2024-09-11 17:12:56 +01:00
Mike McQuaid
3dff0ac648
Merge pull request #18308 from Homebrew/formula-name-in-no-url-error
...
Include formula name in no-URL error
2024-09-11 17:12:33 +01:00
Michael Cho
99d81b4717
ENV/super: replace m4 shim with M4 variable
...
The problem is the shim can end up getting baked into formula binaries
(e.g. `flex`) or cause odd issues when mixed up with brew `m4`, e.g.
https://github.com/Homebrew/homebrew-core/issues/180040
2024-09-11 11:33:44 -04:00
Carlo Cabrera
f3d1dd165d
shims/super/cc: fix linker flag parsing
...
Our parsing of linker flags can be easily confused by, e.g.,
-Wl,-undefined -Wl,dynamic_lookup,-dead_strip_dylibs
The current code that tries to detect these flags will erroneously
conclude that they were not passed.
This change fixes that.
2024-09-11 22:53:04 +08:00
Rylan Polster
6cc232c205
Include formula name in no-URL error
2024-09-11 10:45:28 -04:00
Carlo Cabrera
9c8068793b
Merge pull request #18307 from Homebrew/cmake-log-files
2024-09-11 22:28:55 +08:00
Mike McQuaid
b29549eaed
Merge pull request #18296 from fxcoudert/sequoia_rc
...
Make Sequoia supported
2024-09-11 13:31:36 +01:00
Carlo Cabrera
c51bb196d1
tests: update determine-test-runners
tests
...
We've decoupled the macOS versions there from
`MacOSVersion#supported_release?`, so these tests need updating.
2024-09-11 20:20:08 +08:00
Francois-Xavier Coudert
4ab19e09da
Make Sequoia supported
2024-09-11 09:00:37 +01:00
Mike McQuaid
057ee664dd
Merge pull request #17823 from Homebrew/load-installed-casks
...
Set correct tap when loading installed casks
2024-09-11 08:57:37 +01:00