Rylan Polster
3f11702fb1
Merge pull request #20642 from Homebrew/third-party-head-only-allowlist
...
Allow head-only formulae in third party taps
2025-09-06 06:13:12 +00:00
Rylan Polster
e2f02bcfbf
Allow head-only formulae in third party taps
2025-09-06 00:13:07 -04:00
Sam Ford
b22d2328b7
bump: output lower upstream version
...
Currently `brew bump` will output `unable to get versions` for the
livecheck (or Repology) version if it's lower than the current
package version. This makes it impossible to distinguish between a
failing livecheck and one where the livecheck version is lower. We can
detect when the package version is newer than the upstream version but
`bump` doesn't do anything to handle the situation.
This addresses the issue by updating `bump` to display the lower
upstream version and flag the current version with a trailing "(newer
than upstream)" parenthetical to make the situation apparent (and so
we can easily search for this text in the output).
2025-09-05 16:24:59 -04:00
Mike McQuaid
1da17b8fde
Merge pull request #20639 from Homebrew/improve_new_tap_docs
...
How-to-Create-and-Maintain-a-Tap: improve docs.
2025-09-05 18:05:24 +00:00
Mike McQuaid
83c1ed68f3
Apply suggestion from @samford
...
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
2025-09-05 18:47:03 +01:00
Mike McQuaid
62a3b5e43e
How-to-Create-and-Maintain-a-Tap: improve docs.
...
We don't really tell people actually how to create a tap here so let's
provide more commands and output to help them.
While we're here, also fix some bad references to `repo` that weren't
updated when they should have been and let VSCode autoformat the
Markdown.
2025-09-05 17:42:34 +01:00
Mike McQuaid
5b003154e5
Merge pull request #20638 from cprecioso/cprecioso/fix-docs
...
Remove docs saying that installing from a file is allowed
2025-09-05 11:18:00 +00:00
Ruoyu Zhong
74095ab480
Merge pull request #20637 from Homebrew/dependabot/all-c2f971b171
...
Bump the "all" group with 2 updates across multiple ecosystems
2025-09-05 11:10:14 +00:00
Carlos Precioso
0e81158e3a
Remove docs saying that installing from a file is allowed
2025-09-05 10:58:33 +02:00
BrewTestBot
ffc3c4bd6a
Update RBI files for all.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2025-09-05 08:31:07 +00:00
BrewTestBot
f26e296cbb
brew vendor-gems: commit updates.
2025-09-05 08:30:35 +00:00
Mike McQuaid
0264a1e2ee
Merge pull request #20634 from Homebrew/cmd-dev-options
...
command options: various `--eval-all` fixes
2025-09-05 08:28:20 +00:00
dependabot[bot]
faf936a589
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 ), [rubocop-rspec](https://github.com/rubocop/rubocop-rspec ), [sorbet-static-and-runtime](https://github.com/sorbet/sorbet ) and [bigdecimal](https://github.com/ruby/bigdecimal ).
Updates `rubocop` from 1.80.1 to 1.80.2
- [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.1...v1.80.2 )
Updates `rubocop-rspec` from 3.6.0 to 3.7.0
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases )
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v3.6.0...v3.7.0 )
Updates `sorbet-static-and-runtime` from 0.6.12466 to 0.6.12479
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-runtime` from 0.6.12466 to 0.6.12479
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `bigdecimal` from 3.2.2 to 3.2.3
- [Release notes](https://github.com/ruby/bigdecimal/releases )
- [Changelog](https://github.com/ruby/bigdecimal/blob/master/CHANGES.md )
- [Commits](https://github.com/ruby/bigdecimal/compare/v3.2.2...v3.2.3 )
Updates `sorbet` from 0.6.12466 to 0.6.12479
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-static` from 0.6.12466 to 0.6.12479
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
build(deps): bump the all group with 5 updates
Bumps the all group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [github/codeql-action](https://github.com/github/codeql-action ) | `3.29.11` | `3.30.0` |
| [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) | `1.256.0` | `1.257.0` |
| [actions/stale](https://github.com/actions/stale ) | `9.1.0` | `10.0.0` |
| [codecov/codecov-action](https://github.com/codecov/codecov-action ) | `5.5.0` | `5.5.1` |
| [actions/setup-python](https://github.com/actions/setup-python ) | `5.6.0` | `6.0.0` |
Updates `github/codeql-action` from 3.29.11 to 3.30.0
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](3c3833e0f8...2d92b76c45
)
Updates `ruby/setup-ruby` from 1.256.0 to 1.257.0
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb )
- [Commits](efbf473cab...4451173596
)
Updates `actions/stale` from 9.1.0 to 10.0.0
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](5bef64f19d...3a9db7e6a4
)
Updates `codecov/codecov-action` from 5.5.0 to 5.5.1
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](fdcc847654...5a1091511a
)
Updates `actions/setup-python` from 5.6.0 to 6.0.0
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](a26af69be9...e797f83bcb
)
---
updated-dependencies:
- dependency-name: rubocop
dependency-version: 1.80.2
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: rubocop-rspec
dependency-version: 3.7.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: all
- dependency-name: sorbet-static-and-runtime
dependency-version: 0.6.12479
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: sorbet-runtime
dependency-version: 0.6.12479
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: bigdecimal
dependency-version: 3.2.3
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: sorbet
dependency-version: 0.6.12479
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: sorbet-static
dependency-version: 0.6.12479
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: github/codeql-action
dependency-version: 3.30.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: all
- dependency-name: ruby/setup-ruby
dependency-version: 1.257.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: all
- dependency-name: actions/stale
dependency-version: 10.0.0
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: all
- dependency-name: codecov/codecov-action
dependency-version: 5.5.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: actions/setup-python
dependency-version: 6.0.0
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: all
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-05 08:06:01 +00:00
Eric Knibbe
1c4cb6936e
command options: various --eval-all
fixes
2025-09-05 08:53:44 +01:00
Mike McQuaid
09452ed3c7
Merge pull request #20636 from Homebrew/add-more-relocations
...
keg_relocate: add more relocation paths
2025-09-05 07:27:45 +00:00
Daeho Ro
cba6e40e77
keg_relocate: add more relocation paths
2025-09-05 14:48:12 +09:00
Rylan Polster
24e7d8f0e0
Merge pull request #20635 from Homebrew/sponsors-maintainers-man-completions
...
Update manpage and completions.
2025-09-05 00:24:50 +00:00
BrewTestBot
32a5e9f779
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-05 00:08:21 +00:00
Mike McQuaid
6e9da0ba4c
Merge pull request #20632 from Homebrew/gcc_version
...
development_tools: make gcc_version public api
2025-09-04 07:47:18 +00:00
Mike McQuaid
c73538ac03
Merge pull request #20619 from Homebrew/single-api-fetch-per-run
...
Download new API files once per Homebrew instance
2025-09-04 07:44:49 +00:00
Michael Cho
5fb96d9d8a
shims/super/cc: rpath-link glibc
if indirect dep
...
This helps ld.bfd find the correct `glibc` dependency. Needed when using
host toolchain which will only search for /etc/ld.so.conf.
Also can help unsupported systems that force poured non-relocatable
`binutils` bottle.
2025-09-03 22:08:10 -04:00
Michael Cho
08181692f3
development_tools: make gcc_version public api
2025-09-03 20:35:20 -04:00
Bo Anderson
1c959c22ce
Merge pull request #20630 from Homebrew/pid_path-libSystem
...
utils/pid_path: use libSystem
4.6.9
2025-09-03 21:26:12 +00:00
Rylan Polster
00f960174f
Download new API files once per Homebrew instance
2025-09-03 15:30:31 -04:00
Mike McQuaid
bd57ad891d
Merge pull request #20629 from Homebrew/cask/audit-fix-key-not-found-error
...
Cask::Audit: fix `key not found: :latest` error
2025-09-03 18:07:17 +00:00
Bo Anderson
f23b84897c
utils/pid_path: use libSystem
2025-09-03 18:02:28 +01:00
Sam Ford
dce220e518
Cask::Audit: fix key not found: :latest
error
...
`Cask::Audit.audit_livecheck_version` can raise a `key not found:
:latest` error when a hash from livecheck's `latest_version` method
doesn't have a `:latest` value. This error means that livecheck was
unable to identify the latest upstream version but it can only be
understood if the reader knows how this audit is implemented (and it
may also depend on knowing the structure of livecheck's
`latest_version` hash). Without that knowledge, the error doesn't
make it clear which audit is failing and why.
This addresses the issue by using `nil` as the default value for this
`fetch` call and accounting for a `nil` `latest_version` value. This
allows the audit to surface the usual "Version '1.2.3' differs from
'' retrieved by livecheck" failure, which makes it more clear that
livecheck isn't returning a version.
2025-09-03 12:34:06 -04:00
Mike McQuaid
4343324468
Merge pull request #20623 from Homebrew/livecheck/support-trailing-comments-in-watchlist
...
livecheck: support trailing comments in watchlist
2025-09-03 15:35:15 +00:00
Sam Ford
31cf8b43a9
livecheck: support trailing comments in watchlist
...
I ran `brew livecheck` today to check the packages in my watchlist
and realized that it wasn't checking one package because I had added
a trailing comment after the name (and `package # Comment` isn't a
valid package name). I thought we had added support for trailing
comments when we originally added comment support years back but I
must have been mistaken.
This adds support for trailing comments in livecheck watchlist files
as part of refactoring the watchlist line parsing logic to only use
one pass (instead of multiple `#map` and `#reject` calls). This
maintains the existing behavior, where blank lines and lines starting
with `#` are skipped, but does so in a more flexible manner. For
example, the existing logic wouldn't skip a comment line that has one
or more spaces before the `#` character but this new logic will
correctly skip it.
2025-09-03 09:10:58 -04:00
Mike McQuaid
6c98d2bf1b
Merge pull request #20625 from osalbahr/config-prioritize-pretty-name
...
config: Remove use of `/etc/redhat-release`
2025-09-03 11:07:03 +00:00
Osama Albahrani
de8ff312e6
config: Remove use of /etc/redhat-release
2025-09-02 23:24:07 +03:00
Osama Albahrani
ce8ae46054
config: prioritize ::OS_VERSION
...
On the [beta Bluefin LTS](https://docs.projectbluefin.io/lts ), `brew config` reports:
```console
OS: CentOS Stream release 10 (Coughlan)
```
This is due to the `/etc/redhat-release` file being prioritized over `::OS_VERSION` (`PRETTY_NAME` from `/etc/os-release`).
On Bluefin LTS, `PRETTY_NAME` is `Bluefin LTS`.
This commit reverses the order so `brew config` has better detection:
```
OS: Bluefin LTS
```
I tested on RHEL 10 and the OS line only changed in that the word
"release" was omitted:
```
$ cat /etc/redhat-release
Red Hat Enterprise Linux release 10.0 (Coughlan)
$ grep PRETTY_NAME /etc/os-release
PRETTY_NAME="Red Hat Enterprise Linux 10.0 (Coughlan)"
```
- This is an improvement on my previous PR https://github.com/Homebrew/brew/pull/15788
2025-09-02 22:50:36 +03:00
Douglas Eichelberger
fb6c51da07
Enable strict typing in SystemCommand
2025-09-02 10:26:40 -07:00
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
89f3c76cd7
Merge pull request #20622 from Homebrew/livecheck/SkipConditions-check-disabled-before-deprecated
...
SkipConditions: check disabled before deprecated
2025-09-02 16:02:40 +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
9da27e1ac2
Merge pull request #20620 from Homebrew/sponsors-maintainers-man-completions
...
Update manpage and completions.
4.6.8
2025-09-02 08:50:23 +00:00
BrewTestBot
aa40480c46
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-02 08:34:29 +00:00
Bevan Kay
dc28719c8e
cask/audit: fix install of container deps
2025-09-02 16:33:04 +08:00
Patrick Linnane
48170b8957
Merge pull request #20601 from Homebrew/copilot/fix-20600
...
Add cask support to `brew unpack` command
2025-09-02 08:13:29 +00: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