46495 Commits

Author SHA1 Message Date
Branch Vincent
263ca54e7a
utils/github: fix type error for pull_request 2025-09-13 10:59:28 -07:00
Ruoyu Zhong
41198d866f
Merge pull request #20684 from Homebrew/update-report-desc
cmd/update-report: fix formula description display
2025-09-13 16:06:18 +00:00
Mike McQuaid
8304edbf2c
Merge pull request #20675 from Homebrew/shellenv_echo_path_helper
cmd/shellenv: echo path helper command rather than run it.
2025-09-13 15:56:32 +00:00
Ruoyu Zhong
96048f0a5a
cmd/update-report: fix cask desc display too 2025-09-13 23:48:15 +08:00
Ruoyu Zhong
c834a862ab
cmd/update-report: fix formula description display
When on a non-default branch (for e.g., testing), `Formula[formula]` can
return an error. In that case let's silently ignore it.
2025-09-13 23:27:25 +08:00
Carlo Cabrera
57578cf91a
Fix path_helper usage
The output of `path_helper` needs to be `eval`ed for it to work.
2025-09-13 13:32:16 +08:00
Mike McQuaid
47b7bf378e
Merge pull request #20682 from Homebrew/libstdcxx
Check host libstdc++ for brew `gcc` dependency
2025-09-12 19:14:54 +00:00
Mike McQuaid
d7c0052e78
Merge pull request #20680 from Homebrew/optlink-when-cask-installed
formula_installer: optlink even with cask installed
2025-09-12 19:14:22 +00:00
Michael Cho
f5c11fa342
Check host libstdc++ for brew gcc dependency
For most formulae, the bottles need a minimum libstdc++ rather than a
minimum GCC version. This is particularly important when building on
Ubuntu where the default compiler version is older than libstdc++.

So, checking the host libstdc++ version is a more accurate way to
determine whether brew GCC is needed at runtime. This can be improved in
the future to check symbol versions (e.g. GLIBCXX, CXXABI, GLIBC) which
can allow some bottles to be installed even with older glibc/libstdc++.
2025-09-12 14:15:56 -04:00
Patrick Linnane
d3e7e6bde5
Merge pull request #20679 from Homebrew/docs-archive-formats
docs: clarify listed archive formats aren't exclusive
2025-09-12 16:45:19 +00:00
Michael Cho
c35fe04c91
formula_installer: optlink even with cask installed 2025-09-12 12:24:14 -04:00
Patrick Linnane
8567e8bcd3
docs: clarify listed archive formats aren't exclusive
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2025-09-12 09:15:47 -07:00
Michael Cho
eda9e78529
Merge pull request #20633 from Homebrew/ld-system
os/linux/ld: add support for using system ld.so
2025-09-12 13:19:40 +00:00
Mike McQuaid
5f4e42a2c8
Merge pull request #20656 from Homebrew/copilot/fix-cask-rename-issue-linux
Fix Cask artifact rename operation on Linux by making xattr metadata no-op
2025-09-12 08:49:14 +00:00
Ruoyu Zhong
852574dedf
Merge pull request #20676 from Homebrew/dependabot/all-3d8734bf05
Bump the "all" group with 2 updates across multiple ecosystems
2025-09-12 08:42:40 +00:00
copilot-swe-agent[bot]
3e413b4521
Fix Cask artifact rename operation on Linux by making xattr metadata no-op
Co-authored-by: MikeMcQuaid <125011+MikeMcQuaid@users.noreply.github.com>
2025-09-12 09:30:17 +01:00
Mike McQuaid
2d9e9ce5d1
Merge pull request #20655 from Homebrew/copilot/fix-brew-fetch-tap-repo-issue
Fix brew fetch failure with symlinked taps and refactor path validation logic
2025-09-12 08:26:15 +00:00
BrewTestBot
2fe1076281
brew vendor-gems: commit updates. 2025-09-12 08:21:55 +00:00
dependabot[bot]
05985fabc3
build(deps): bump the all group across 1 directory with 8 updates
Bumps the all group with 3 updates in the /Library/Homebrew directory: [rubocop-performance](https://github.com/rubocop/rubocop-performance), [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) and [rexml](https://github.com/ruby/rexml).


Updates `rubocop-performance` from 1.25.0 to 1.26.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.25.0...v1.26.0)

Updates `sorbet-static-and-runtime` from 0.6.12479 to 0.6.12521
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `rexml` from 3.4.2 to 3.4.4
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.4.2...v3.4.4)

Updates `sorbet-runtime` from 0.6.12479 to 0.6.12521
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet` from 0.6.12479 to 0.6.12521
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-static` from 0.6.12479 to 0.6.12521
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `unicode-display_width` from 3.1.5 to 3.2.0
- [Changelog](https://github.com/janlelis/unicode-display_width/blob/main/CHANGELOG.md)
- [Commits](https://github.com/janlelis/unicode-display_width/compare/v3.1.5...v3.2.0)

Updates `unicode-emoji` from 4.0.4 to 4.1.0
- [Changelog](https://github.com/janlelis/unicode-emoji/blob/main/CHANGELOG.md)
- [Commits](https://github.com/janlelis/unicode-emoji/compare/v4.0.4...v4.1.0)
build(deps): bump github/codeql-action in the all group

Bumps the all group with 1 update: [github/codeql-action](https://github.com/github/codeql-action).


Updates `github/codeql-action` from 3.30.0 to 3.30.3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](2d92b76c45...192325c861)

---
updated-dependencies:
- dependency-name: rubocop-performance
  dependency-version: 1.26.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: sorbet-static-and-runtime
  dependency-version: 0.6.12521
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: rexml
  dependency-version: 3.4.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: sorbet-runtime
  dependency-version: 0.6.12521
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: sorbet
  dependency-version: 0.6.12521
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: sorbet-static
  dependency-version: 0.6.12521
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: unicode-display_width
  dependency-version: 3.2.0
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: unicode-emoji
  dependency-version: 4.1.0
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: github/codeql-action
  dependency-version: 3.30.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-12 08:08:51 +00:00
copilot-swe-agent[bot]
6297f98d06
Fix symlinked tap loading issue in cask loader
Co-authored-by: MikeMcQuaid <125011+MikeMcQuaid@users.noreply.github.com>
2025-09-12 09:02:43 +01:00
Mike McQuaid
07091cfbea
Simplify pluralisation of common words
Formulae, dependencies, tries are all used in multiple places so let's
simplify them
2025-09-12 09:02:43 +01:00
Mike McQuaid
00a49bf8e1
cmd/shellenv: echo path helper command rather than run it.
This is faster at both execution and `eval`ing than the existing version
and aids caching.
2025-09-12 08:30:12 +01:00
Mike McQuaid
1019f9ef21
Merge pull request #20673 from Homebrew/add-unreachable-cask-reason
deprecate_disable: add `unreachable` reason
2025-09-12 07:09:34 +00:00
Patrick Linnane
e88ceb8178
deprecate_disable: add unreachable reason
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2025-09-11 21:12:24 -07:00
Patrick Linnane
2d8ba1e209
Merge pull request #20672 from Homebrew/drop-ventura-ci
Drop macOS Ventura CI in Homebrew/core
2025-09-12 03:35:57 +00:00
Patrick Linnane
675a588f6c
Drop macOS Ventura CI in Homebrew/core
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2025-09-11 17:55:38 -07:00
Mike McQuaid
0a7a60f506
Merge pull request #20670 from bayandin/former-bayandin
Add @bayandin to former maintainers
2025-09-11 18:04:14 +00:00
Alexander Bayandin
9b364ad25b Add @bayandin to former maintainers 2025-09-11 17:32:40 +01:00
Mike McQuaid
613d6466a9
Merge pull request #20669 from Homebrew/sponsors-maintainers-man-completions
Update maintainers.
2025-09-11 11:36:46 +00:00
BrewTestBot
99456ee150
Update maintainers.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2025-09-11 11:17:02 +00:00
Mike McQuaid
29270a8858
Merge pull request #20666 from Homebrew/contributions_team
dev-cmd/contributions: add `--team` flag.
2025-09-11 10:53:21 +00:00
Mike McQuaid
3fb55a1577
Merge pull request #20668 from gibfahn/private_repo_fix
github: handle user opting out of github API in private_repo check
2025-09-11 10:39:23 +00:00
Mike McQuaid
3d80dfadd1
dev-cmd/contributions: add --team flag.
This allows specifying an organisation team instead of an organisation
or individual users.
2025-09-11 11:36:48 +01:00
Gibson Fahnestock
f233244ab7
Update Library/Homebrew/utils/github.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2025-09-11 11:23:23 +01:00
Gibson Fahnestock
e4ac3bfeed
github: handle user opting out of github API in private_repo check
Today we get a sorbet error when the user opts out, because `json` is
`{}`, so `json["private"]` is `nil`.

Given this function is used to check whether to send analytics, I assume
we should default to treating the repo as a private repo.

Refs: 8ef7a9dbd4/Library/Homebrew/utils/github/api.rb (L276)
2025-09-11 10:31:46 +01:00
Mike McQuaid
610c67b715
Merge pull request #20650 from botantony/build-typecheck
build build_environment build_options: enable `typed: strict`
2025-09-11 07:25:51 +00:00
botantony
6d548f784b
build: suggestions from @MikeMcQuaid
Signed-off-by: botantony <antonsm21@gmail.com>
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2025-09-11 06:26:01 +02:00
botantony
b2539d37fe
build_options: typed: strict
Signed-off-by: botantony <antonsm21@gmail.com>
2025-09-11 06:26:01 +02:00
botantony
1cc4d0bc25
build_environment: typed: strict
Signed-off-by: botantony <antonsm21@gmail.com>
2025-09-11 06:26:01 +02:00
botantony
89d36e0dd5
build: typed: strict
Signed-off-by: botantony <antonsm21@gmail.com>
2025-09-11 06:26:00 +02:00
Bo Anderson
deb6666f32
Merge pull request #20665 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2025-09-11 01:07:49 +00:00
BrewTestBot
66f8afa734
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sorbet.yml) workflow.
2025-09-11 00:27:48 +00:00
Ruoyu Zhong
34be1486e2
Merge pull request #20664 from Homebrew/sponsors-maintainers-man-completions
Update manpage and completions.
2025-09-10 17:40:18 +00:00
BrewTestBot
ccda7a5de1
Update manpage and completions.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2025-09-10 17:22:49 +00:00
Mike McQuaid
0d8da983d8
Merge pull request #20663 from Homebrew/contributions_tweaks
Add additional `brew contributions` functionality.
2025-09-10 17:06:48 +00:00
Mike McQuaid
3023e6dcad
Merge pull request #20660 from botantony/os/mac-typed
os/mac/*: `typed: strict`
2025-09-10 15:36:23 +00:00
botantony
843fc7c97a
os/mac/*: more style corrections
Signed-off-by: botantony <antonsm21@gmail.com>
Co-authored-by: Bo Anderson <mail@boanderson.me>
2025-09-10 16:59:51 +02:00
Mike McQuaid
a31fb2a6c2
Add additional brew contributions functionality.
- Add an `--organisation` flag to search a specific organisation.
- Wait for the GitHub API rate limit to reset before automatically
  retrying.
- Use (much) fewer API calls by using organisation-wide API PR searches
  rather than per-repository. This makes the rate limit easier to avoid
  and also makes things much faster (with the trade-off of showing a max
  PR count per-user rather than per-repository).
- Improve output to clarify when the max PR/commit count is reached.
- Move more logic and add more Sorbet signatures to the `GitHub` and
  `Utils::Git` modules.
- Rename a few GitHub API methods.
- Remove a lot of (now unused) `GitHub` module methods.
- Add, use a `Tap#full_repository` method.
- Add `formula-analytics` as a deprecated tap.
2025-09-10 15:32:06 +01:00
Mike McQuaid
8ef7a9dbd4
Merge pull request #20662 from Homebrew/tap-syntax-cache-fix
workflows/tests: fix tap-syntax caching
2025-09-10 07:36:34 +00:00
Bo Anderson
67f4be419b
workflows/tests: fix tap-syntax caching 2025-09-10 04:41:24 +01:00