36430 Commits

Author SHA1 Message Date
Douglas Eichelberger
4609bb60a3
Fix cask/info_spec 2025-09-14 11:32:01 -07:00
Douglas Eichelberger
2b33830d50
Fix info_spec 2025-09-14 11:32:00 -07:00
Douglas Eichelberger
5fa4114562
Fix cli_spec 2025-09-14 11:32:00 -07:00
Douglas Eichelberger
51d2c50721
Fix bottle cmd 2025-09-14 11:31:59 -07:00
Douglas Eichelberger
7153c25047
Fix tab spec 2025-09-14 11:31:59 -07:00
Douglas Eichelberger
d0bc109882
Fix update-report specs 2025-09-14 11:31:59 -07:00
Douglas Eichelberger
7afdcc39bd
Fix cask/upgrade_spec failure 2025-09-14 11:31:58 -07:00
Douglas Eichelberger
3116f3de2a
Fix cask/ast/stanza 2025-09-14 11:31:58 -07:00
Douglas Eichelberger
94f099e303
Fix a couple more 2025-09-14 11:31:58 -07:00
Douglas Eichelberger
f79415fc75
Fix analytics spec 2025-09-14 11:31:57 -07:00
Douglas Eichelberger
b77a7375af
Fix cleanup_spec 2025-09-14 11:31:57 -07:00
Douglas Eichelberger
f59fe2eb44
Fix zap_spec 2025-09-14 11:31:57 -07:00
Douglas Eichelberger
348385e291
Fix some specs 2025-09-14 11:31:56 -07:00
Douglas Eichelberger
801b661b4f
Resolve type errors 2025-09-14 11:31:56 -07:00
Douglas Eichelberger
e1aae25fd2
Deep typecheck arrays in specs 2025-09-14 11:31:55 -07:00
Ruoyu Zhong
5f1241b953
Merge pull request #20685 from Homebrew/tahoe-runner
github_runner_matrix: deploy Tahoe runner in CI
2025-09-14 08:29:06 +00:00
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
a9cc3c49f5
github_runner_matrix: deploy Tahoe runner in CI 2025-09-13 23:28:41 +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
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
Michael Cho
c35fe04c91
formula_installer: optlink even with cask installed 2025-09-12 12:24:14 -04: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
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
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
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
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
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
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
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
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