45519 Commits

Author SHA1 Message Date
Mike McQuaid
28753ef002
cmd/update-report: display descriptions for new formulae and casks.
This parses Homebrew's API JSON data to display descriptions for new
formulae and casks if available.

While we're here also add tests for ReporterHub.
2025-06-24 16:59:24 +01:00
Mike McQuaid
e42084dc6f
Merge pull request #20163 from Homebrew/brew-doctor-xattr-linux-check
Remove redundant `xattr` doctor check on systems without quarantine support
2025-06-24 09:22:19 +00:00
Rylan Polster
426da94cc9
Remove redundant xattr doctor check on systems without quarantine support 2025-06-24 03:07:04 +00:00
Mike McQuaid
27b9bf2377
Merge pull request #20161 from Homebrew/sponsors-maintainers-man-completions
Update manpage and completions.
2025-06-23 16:06:13 +00:00
Mike McQuaid
2c16fe9184
Merge pull request #20160 from Homebrew/mcp_server_eof
mcp_server: fix EOF handling.
2025-06-23 16:04:29 +00:00
Mike McQuaid
818662352c
mcp_server: fix EOF handling.
We need to handle when `stdin` is closed but there's no interrupt
signal.

Without this, the server will be stuck an in infinite busy loop.
2025-06-23 16:50:39 +01:00
BrewTestBot
af14bcb69b
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-06-23 15:45:42 +00:00
Mike McQuaid
4759ca9430
Merge pull request #20134 from Homebrew/homebrew_core_cask_name_audit
audit: ensure that official formula and cask names don't conflict.
2025-06-23 15:33:00 +00:00
Mike McQuaid
55f65ec375
audit: ensure that official formula and cask names don't conflict.
Co-authored-by: Eric Knibbe <enk3@outlook.com>
2025-06-23 16:08:13 +01:00
Mike McQuaid
c19f08b3e8
Merge pull request #20158 from Homebrew/revert-20145-some-bundle-files-werent-typed-at-all-but-now-some-are
Revert "Make some of the `bundle` commands Sorbet `typed: true`"
4.5.8
2025-06-23 13:04:48 +00:00
Carlo Cabrera
d590e398fc
Merge pull request #20157 from Homebrew/shebang-regex
language/*: fix `*_SHEBANG_REGEX` anchors
2025-06-23 13:02:21 +00:00
Mike McQuaid
68dbf12220
Revert "Make some of the bundle commands Sorbet typed: true" 2025-06-23 13:52:35 +01:00
Carlo Cabrera
6a7416c296
language/*: fix *_SHEBANG_REGEX anchors
We should use `\A` to pick up shebangs at the start of files instead of
just anywhere in a given script.

See Homebrew/homebrew-core#227654 for an example where this can cause
problems.
2025-06-23 20:32:55 +08:00
Mike McQuaid
cfede01ea9
Merge pull request #20155 from Homebrew/core-caveats
rubocops/caveats: only apply dynamic logic check to core.
2025-06-23 08:17:08 +00:00
Mike McQuaid
984273be76
Merge pull request #20153 from Homebrew/brew-doctor-linux-cask-errors
Improve `brew doctor` warnings about `xattr` and cask quarantine
2025-06-23 08:07:30 +00:00
Mike McQuaid
afa5d50b36
rubocops/caveats: only apply dynamic logic check to core.
This doesn't really matter for non-API taps.
2025-06-23 08:58:34 +01:00
Mike McQuaid
a6b1d42488
Merge pull request #20154 from abitrolly/brew-audit-v-version
create: strip 'v' prefix from version
2025-06-23 07:30:03 +00:00
Eric Knibbe
2703f12875
Merge pull request #20150 from Homebrew/download_strategy-fossil
download_strategy: fossil now outputs `hash:`
2025-06-23 03:03:57 +00:00
Rylan Polster
2acd4e4293
Improve messaging with missing xattr 2025-06-22 18:59:52 +00:00
Eric Knibbe
8a4cac0238
download_strategy: fix cvs checkouts 2025-06-22 14:38:19 -04:00
Eric Knibbe
7e79232512
download_strategy: fossil now outputs hash: 2025-06-22 14:38:19 -04:00
Rylan Polster
12e5e24ce3
Improve brew doctor warnings about xattr and cask quarantine 2025-06-22 14:24:22 -04:00
Anatoli Babenia
84505c714d Fix brew style "Prefer double-quoted strings" 2025-06-22 18:05:47 +03:00
Anatoli Babenia
eca98d036c create: strip 'v' prefix from version
To fix subsequent `brew audit` error:

  * line 8, col 3: Version v0.38.1 should not have a leading 'v'
2025-06-22 17:41:00 +03:00
Rylan Polster
f238d3b494
Merge pull request #20151 from Homebrew/fix-doctor-linux
Fix `brew doctor` cask handling on Linux
2025-06-22 10:10:28 +00:00
Rylan Polster
44dcb58f9e
Merge pull request #20152 from Homebrew/extend-os-class-methods
Fix handling of class methods in `extend/os`
2025-06-22 02:20:18 +00:00
Rylan Polster
431d8f1ff7
Consistently use ClassMethods sub-module for prepending class methods 2025-06-21 21:40:57 -04:00
Rylan Polster
267afac198
Remove more monkey-patching in extend/os 2025-06-21 21:34:20 -04:00
Rylan Polster
508c8b606c
Fix DevelopmentTools::ld64_version on macOS 2025-06-21 21:13:38 -04:00
Rylan Polster
2a7fbd00a9
Fix Cask::Quarantine class methods on Linux 2025-06-21 21:07:08 -04:00
Rylan Polster
ff79015373
Fix Hardware::CPU::features on macOS 2025-06-21 21:01:44 -04:00
Rylan Polster
e1873d30d4
Run deprecated cask tap check on all systems 2025-06-21 13:59:58 -04:00
Rylan Polster
031160936f
Split out os-specific cask software version checks 2025-06-21 13:59:57 -04:00
Mike McQuaid
dd04fb5ab6
Merge pull request #20146 from Homebrew/dependabot/github_actions/github-actions-348b342bd6
build(deps): bump docker/setup-buildx-action from 3.10.0 to 3.11.1 in the github-actions group
2025-06-20 12:33:42 +00:00
Mike McQuaid
d0a144520d
Merge pull request #20145 from Homebrew/some-bundle-files-werent-typed-at-all-but-now-some-are
Make some of the `bundle` commands Sorbet `typed: true`
2025-06-20 10:58:07 +00:00
dependabot[bot]
d961c4772a
build(deps): bump docker/setup-buildx-action in the github-actions group
Bumps the github-actions group with 1 update: [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action).


Updates `docker/setup-buildx-action` from 3.10.0 to 3.11.1
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](b5ca514318...e468171a9d)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-version: 3.11.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-20 08:44:06 +00:00
Issy Long
68596ec720
Make some of the bundle commands Sorbet typed: true
- The last remaining one is `exec` but that's a bit more involved
  (https://github.com/Homebrew/brew/pull/20128#discussion_r2156781591).
2025-06-20 10:11:35 +02:00
Mike McQuaid
9d357b57d1
Merge pull request #20135 from Homebrew/forbid_dynamic_caveats
rubocops/caveats: check for dynamic caveats.
2025-06-20 07:57:06 +00:00
Mike McQuaid
e6d4db8d6f
Merge pull request #20025 from abitrolly/new-detect-latest-release
formula_creator: detect GitHub version from latest release
2025-06-20 07:40:44 +00:00
Anatoli Babenia
dce285458e Add test for name override with GitHub URLs 2025-06-19 16:28:48 +03:00
Anatoli Babenia
cf2e20d586 Fix version reporting in odebug messages 2025-06-19 16:18:41 +03:00
Mike McQuaid
f77c9861de
rubocops/caveats: check for dynamic caveats.
This will avoid issues with the JSON API.
2025-06-19 10:13:32 +01:00
Mike McQuaid
2cd7a32660
formula_creator: improve code/test style. 2025-06-19 09:02:46 +01:00
Anatoli Babenia
3964186bec
formula_creator: fetch missing version from latest GitHub release 2025-06-19 09:02:36 +01:00
Mike McQuaid
9f5286f3d7
Merge pull request #20143 from Homebrew/dependabot/pip/Library/Homebrew/formula-analytics/urllib3-2.5.0
build(deps): bump urllib3 from 2.4.0 to 2.5.0 in /Library/Homebrew/formula-analytics
2025-06-19 07:40:29 +00:00
dependabot[bot]
6bfcd62c7c
build(deps): bump urllib3 in /Library/Homebrew/formula-analytics
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.4.0...2.5.0)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-version: 2.5.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-19 05:26:06 +00:00
Rylan Polster
4ce9faf294
Merge pull request #20142 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2025-06-19 02:10:16 +00:00
BrewTestBot
4c18ff443c
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sorbet.yml) workflow.
2025-06-19 00:30:14 +00:00
Mike McQuaid
99a8e3a288
Merge pull request #20141 from botantony/enable_no_autobump
tap: rely on new autobump list
2025-06-18 14:34:08 +00:00
Mike McQuaid
ccb3543c6c
Merge pull request #20126 from botantony/no_autobump_rubocops
rubocops: add `no_autobump!` rubocop
2025-06-18 14:33:37 +00:00