36390 Commits

Author SHA1 Message Date
Mike McQuaid
ab980dc3b7
Merge pull request #20624 from Homebrew/later_pathname_prepend
Make `Pathname.prepend WriteMkpathExtension` as late as possible.
2025-09-02 16:19:44 +00:00
Mike McQuaid
e28fe444a5
Make Pathname.prepend WriteMkpathExtension as late as possible.
Let's avoid weirdness in other parts of Homebrew by moving this prepend
to be as late as possible.
2025-09-02 17:00:34 +01:00
Sam Ford
45a642c363
SkipConditions: check disabled before deprecated
We have some formulae and casks that contain both `deprecate!` and
`disable!` calls, presumably as a way of controlling the deprecation
behavior before the disable date is reached. However, once the disable
date has been reached, `Livecheck::SkipConditions` continues to skip
the package as deprecated instead of disabled. This isn't a functional
issue as the package is still skipped but it isn't accurate because
it's not being skipped as disabled.

This reorders `FORMULA_CHECKS` and `CASK_CHECKS` to run the disabled
check before the deprecated check, so the disable date will take
precedence when it's been reached.
2025-09-02 11:32:22 -04:00
Sam Ford
75350b48a3
Merge pull request #20615 from Homebrew/remove-lsr-special-case
Remove temporary audit exception for lsr
2025-09-02 14:23:48 +00:00
Mike McQuaid
bfb0a55347
Merge pull request #20621 from Homebrew/audit-container-deps
cask/audit: fix install of container deps
2025-09-02 13:09:17 +00:00
Bevan Kay
dc28719c8e
cask/audit: fix install of container deps 2025-09-02 16:33:04 +08:00
Bevan Kay
25ed81f14b
test/dev-cmd/unpack_spec: fix test 2025-09-02 15:55:09 +08:00
Bevan Kay
12ea343c9f
fix brew typecheck 2025-09-02 15:55:09 +08:00
Patrick Linnane
a8b4d115f2
brew style --fix
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2025-09-02 15:55:08 +08:00
copilot-swe-agent[bot]
f973bea35c
Remove obvious comments as requested in review
Co-authored-by: MikeMcQuaid <125011+MikeMcQuaid@users.noreply.github.com>
2025-09-02 15:55:08 +08:00
copilot-swe-agent[bot]
ac6f770cdc
Address review feedback: fix description, use if/else, enable quarantine, improve fetch efficiency, and use local test cask
Co-authored-by: MikeMcQuaid <125011+MikeMcQuaid@users.noreply.github.com>
2025-09-02 15:55:08 +08:00
Patrick Linnane
45a2ef9159
unpack_spec: final newlines are hard for AI 2025-09-02 15:55:08 +08:00
copilot-swe-agent[bot]
6be546a5bc
Skip git logic for casks as they don't need it for patch creation
Co-authored-by: MikeMcQuaid <125011+MikeMcQuaid@users.noreply.github.com>
2025-09-02 15:55:08 +08:00
copilot-swe-agent[bot]
88b7d2900a
Address fetching consistency concern and fix cask path handling
Co-authored-by: MikeMcQuaid <125011+MikeMcQuaid@users.noreply.github.com>
2025-09-02 15:55:07 +08:00
copilot-swe-agent[bot]
a9cd0c4b5d
Add cask support to brew unpack command
Co-authored-by: p-linnane <105994585+p-linnane@users.noreply.github.com>
2025-09-02 15:55:07 +08:00
Rylan Polster
244c3e0e71
Don't remove files unless they exist 2025-09-01 16:32:48 -04:00
Rylan Polster
58e1f13842
Unlink old *_names.txt and *_aliases.txt files before overwriting 2025-09-01 14:49:21 -04:00
Mike McQuaid
47e07fb269
Merge pull request #20607 from Homebrew/fortran-replace-ohai
Fix undefined method 'ohai'
2025-09-01 14:51:29 +00:00
Michael Cho
12920cf96c
Fix undefined method 'ohai' 2025-09-01 15:36:04 +01:00
Sam Ford
3eb57bc41d
Remove temporary audit exception for lsr
This removes the temporary `audit_download_strategy` exception for
the `lsr` formula. This was necessary to be able to merge support for
tangled.sh Git URLs, as it made the `using: :git` argument in the
`lsr` formula redundant and caused the "formula audit" check to fail
in brew CI.
2025-09-01 09:50:10 -04:00
Mike McQuaid
9903f0c1f2
Merge pull request #20608 from botantony/typed-strict
lock_file simulate_system: `typed: strict`
2025-09-01 13:18:24 +00:00
Mike McQuaid
d9718cec92
Merge pull request #20612 from Homebrew/dug/simplify-affix-checks
Avoid repeated calls to affix checks
2025-09-01 13:13:37 +00:00
botantony
5b854fa25a
lock_file/simulate_system: typed: strict
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2025-09-01 13:59:07 +01:00
Sam Ford
46d4af6031
Temporarily skip audit_download_strategy for lsr
This is a temporary workaround to allow us to merge support for
tangled.sh Git URLs in `DownloadStrategyDetector`, as it makes the
`using: :git` argument in the `lsr` formula redundant and causes brew
CI to fail. We can't remove that argument from the formula until the
brew change is merged, so this allows us to do so. This should be
removed after the brew change is available in a release.

Co-authored-by: Carlo Cabrera <github@carlo.cab>
2025-09-01 08:22:40 -04:00
Sam Ford
d4b7cc14f1
DownloadStrategyDetector: handle tangled.sh Git URLs
We have one formula (`lsr`) that uses a tangled.sh URL but they don't
support a .git extension, so it isn't detected as a Git URL by
`DownloadStrategyDetector`. We can use `using: :git` with the `stable`
URL but livecheck can't use the `Git` strategy for tangled.sh URLs
because its `match` method depends on `DownloadStrategyDetector`
detecting the URL as a `GitDownloadStrategy`.

This adds support for tangled.sh URLs to `DownloadStrategyDetector`
to address this issue. This will also allow us to remove/omit the
`using: :git` argument from related URLs.
2025-09-01 08:12:37 -04:00
Douglas Eichelberger
240fd71e6f
Avoid repeated calls to affix checks 2025-08-31 11:11:41 -07:00
Ruoyu Zhong
78227dc924
tap: actively check repo visibility
We shouldn't assume that the visibility of a tap keeps unchanged by
storing it into `TapConfig`. Instead, let's actively check that to avoid
e.g. collecting unwanted analytics.

Also, speed up the check for known official public taps so that we don't
waste our GitHub API token limit in CI.
2025-08-31 22:59:21 +08:00
Ruoyu Zhong
e10038bcdb
Merge pull request #20602 from Homebrew/dependabot/all-b88d22238a
Bump the "all" group with 3 updates across multiple ecosystems
2025-08-29 08:51:40 +00:00
BrewTestBot
5256b2467c
Update RBI files for all.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2025-08-29 08:33:40 +00:00
BrewTestBot
143623a8f9
brew vendor-gems: commit updates. 2025-08-29 08:32:56 +00:00
dependabot[bot]
cf4e534d51
build(deps): bump actions/attest-build-provenance in the all group
Bumps the all group with 1 update: [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance).


Updates `actions/attest-build-provenance` from 2.4.0 to 3.0.0
- [Release notes](https://github.com/actions/attest-build-provenance/releases)
- [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md)
- [Commits](e8998f9491...977bb373ed)
build(deps): bump the all group across 1 directory with 7 updates

Bumps the all group with 4 updates in the /Library/Homebrew directory: [rubocop](https://github.com/rubocop/rubocop), [simplecov-cobertura](https://github.com/jessebs/simplecov-cobertura), [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) and [rexml](https://github.com/ruby/rexml).


Updates `rubocop` from 1.80.0 to 1.80.1
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.80.0...v1.80.1)

Updates `simplecov-cobertura` from 3.0.0 to 3.1.0
- [Release notes](https://github.com/jessebs/simplecov-cobertura/releases)
- [Commits](https://github.com/jessebs/simplecov-cobertura/compare/v3.0.0...v3.1.0)

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

Updates `rexml` from 3.4.1 to 3.4.2
- [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.1...v3.4.2)

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

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

Updates `sorbet-static` from 0.5.12434 to 0.6.12466
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)
build(deps): bump typing-extensions

Bumps the all group with 1 update in the /Library/Homebrew/formula-analytics directory: [typing-extensions](https://github.com/python/typing_extensions).


Updates `typing-extensions` from 4.14.1 to 4.15.0
- [Release notes](https://github.com/python/typing_extensions/releases)
- [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md)
- [Commits](https://github.com/python/typing_extensions/compare/4.14.1...4.15.0)

---
updated-dependencies:
- dependency-name: actions/attest-build-provenance
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: all
- dependency-name: rubocop
  dependency-version: 1.80.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: simplecov-cobertura
  dependency-version: 3.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: sorbet-static-and-runtime
  dependency-version: 0.6.12466
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: rexml
  dependency-version: 3.4.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: sorbet-runtime
  dependency-version: 0.6.12466
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: sorbet
  dependency-version: 0.6.12466
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: sorbet-static
  dependency-version: 0.6.12466
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: typing-extensions
  dependency-version: 4.15.0
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-29 08:18:14 +00:00
Mike McQuaid
5d1e474a57
Merge pull request #20598 from Homebrew/load-replacement-formula-cask
Load replacement formula/cask from formula API
2025-08-29 08:14:31 +00:00
Mike McQuaid
53952ecb1e
Merge pull request #20592 from botantony/typed-strict
keg_only_reason locale: `typed: strict`
2025-08-29 08:08:15 +00:00
Rylan Polster
dc39c12b39
Load replacement formula/cask from formula API 2025-08-28 16:48:32 -04:00
Mike McQuaid
b95c3613bc
Merge pull request #20597 from Homebrew/allow-all-value-for-gnome_devel_allowlist
Allow "all" value for gnome_devel_allowlist
2025-08-28 17:59:54 +00:00
Mike McQuaid
affc65e55a
Merge pull request #20595 from Homebrew/cask/system_command-coerce-pathname-to-string
AbstractUninstall: coerce which argument to String
2025-08-28 17:37:34 +00:00
Sam Ford
d50c1faeed
Allow "all" value for gnome_devel_allowlist
The `gnome_devel_allowlist` for formulae requires a specific version
as a value (e.g., `"1.57"` to allow 1.57.x versions) and this requires
us to update the value when a new odd-numbered minor version appears.
For example, the newest `pango` version is 1.57.0 but autobump was
unable to update the formula because the `gnome_devel_allowlist`
value was `"1.55"`. `pango` doesn't use the "odd-numbered minor
versions are development releases" GNOME version scheme but we have
to manually update the allowlist because we don't have a
version-independent way of opting out of the GNOME version scheme.

This adds support for an alternative `"all"` value in
`gnome_devel_allowlist` (similar to `github_prerelease_allowlist`),
which essentially opts the formula out of the GNOME version scheme
restrictions regardless of the version.
2025-08-28 13:23:39 -04:00
Mike McQuaid
b32296a7e0
bundle/tap_installer: add force flag for official taps for developers.
This avoids a `homebrew/core` in a `Brewfile` failing for Homebrew
developers who probably want it.
2025-08-28 16:41:50 +01:00
Sam Ford
ba0bc88b3d
AbstractUninstall: coerce which argument to String
`Cask::Artifact::AbstractUninstall.uninstall_script` contains a
`which` call that uses a `Pathname` argument instead of a `String` and
this leads to a type error (`Parameter 'cmd': Expected type String,
got type Pathname with value...`). This resolves the error by calling
`#to_s` on the `executable_path` argument.
2025-08-28 11:21:57 -04:00
botantony
6458a5ba43
locale: typed: strict
Signed-off-by: botantony <antonsm21@gmail.com>
2025-08-28 15:20:54 +02:00
botantony
d76fcd0edd
keg_only_reason: typed: strict
Signed-off-by: botantony <antonsm21@gmail.com>
2025-08-28 15:19:08 +02:00
Daeho Ro
b940c63578
feat: update regex replace for pod2man 2025-08-28 21:01:19 +09:00
Mike McQuaid
e235466dee
Merge pull request #20589 from Homebrew/pod2man-improve
feat: update pod2man normalize
2025-08-28 08:25:02 +00:00
Daeho Ro
e0f1fb54a3
feat: update pod2man normalize 2025-08-28 14:01:22 +09:00
Rylan Polster
9c68b548e9
Include aliases and renames in FormulaStub 2025-08-26 17:02:57 -04:00
Patrick Linnane
81b79b93f3
Merge pull request #20584 from Homebrew/livecheck-rename
unversioned_cask_checker: process rename operations
2025-08-26 15:07:02 +00:00
Bevan Kay
9416ca1551
unversioned_cask_checker: process rename operations 2025-08-26 21:23:07 +08:00
Issy Long
fee0e1543f
Merge pull request #20583 from Homebrew/encourage-adding-to-head-branch-allowlist
Encourage using a default branch for HEAD core formulae
2025-08-26 13:02:02 +00:00
Issy Long
577aec3f60
Encourage using a default branch for HEAD core formulae
- We don't mind if third-party taps have non-default HEAD branches - they have their reasons.
- But we want -core to be consistent, hence why there's the allowlist file.
- https://github.com/Homebrew/brew/pull/20402#discussion_r2292366323
2025-08-26 14:26:11 +02:00
Mike McQuaid
12a31a1f6a
Merge pull request #20578 from Homebrew/dug/t-must-cleanup
Remove unnecessary use of `T.must`
2025-08-26 07:33:04 +00:00