Skip to content

Stop listing versioned Homebrew formulae as versions - #120

Merged
andrew merged 1 commit into
mainfrom
homebrew-versioned-formulae
Oct 27, 2026
Merged

andrew merged 1 commit into
mainfrom
homebrew-versioned-formulae

Conversation

@andrew

@andrew andrew commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

The Homebrew FetchVersions turned each entry in a formula's versioned_formulae into a version by splitting on @. Those entries are separate formulae, so openssl@3 was listed with versions 3.5.9 4 3.6 3.0 and python@3.13 with 3.13.18 3.15 3.14 3.12 3.11 3.10 3.9. Now only the stable version is returned.

This came up in git-pkgs/proxy#610, where mirroring an unversioned pkg:brew/openssl%403 tried to fetch bottles tagged 3.6 and 3.0. That PR filters on the formula metadata key as a workaround, which can go once this is released.

openssl@3.6 is a separate formula, not version 3.6 of openssl@3.
@andrew
andrew requested review from simonchrz and a balanced review from Copilot October 26, 2026 11:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@simonchrz simonchrz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

simonchrz added a commit to simonchrz/proxy that referenced this pull request Oct 26, 2026
git-pkgs/registries#120 stops listing versioned formulae as versions.
@andrew
andrew merged commit 52cdeec into main Oct 27, 2026
6 checks passed
@andrew
andrew deleted the homebrew-versioned-formulae branch October 27, 2026 08:22
andrew pushed a commit to simonchrz/proxy that referenced this pull request Oct 28, 2026
git-pkgs/registries#120 stops listing versioned formulae as versions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants