Skip to content

docker-install-build-deps: trust the tap before tapping it - #172

Merged
JPDuchesne merged 1 commit into
mainfrom
docker-tap-trust-order
Sep 15, 2026
Merged

JPDuchesne merged 1 commit into
mainfrom
docker-tap-trust-order

Conversation

@JPDuchesne

Copy link
Copy Markdown
Contributor

Current Homebrew evaluates a new tap's formulae at tap time and refuses to load them from an untrusted tap, failing the tap itself (Cannot tap d3mlabs/d3mlabs: invalid syntax in tap!) — so the brew trust call placed after the tap never ran, and every container image build died in docker-install-build-deps.sh.

brew trust records trust by tap name before the tap exists, so it moves ahead of brew tap. Verified in a fresh homebrew/brew:latest container: trust-then-tap taps cleanly and resolves formulae; tap-without-trust reproduces the failure.

Companion tap-side fixes already landed in d3mlabs/homebrew-d3mlabs (clang-format@18.1.8 arm64-Linux wheel, powershell@7.4.0 top-level URL) — the new tap-time check also evaluates every formula for every platform and one URL-less platform poisons the whole tap.

Made with Cursor

Current Homebrew evaluates a new tap's formulae at tap time and
refuses to load them from an untrusted tap, failing the tap itself —
so the trust call after it never ran, and every image build died at
'Cannot tap d3mlabs/d3mlabs: invalid syntax in tap!'. brew trust
records trust by name before the tap exists, so it goes first.

Co-authored-by: Cursor <cursoragent@cursor.com>
@codecov

codecov Bot commented Sep 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@JPDuchesne
JPDuchesne merged commit c9272cc into main Sep 15, 2026
5 checks passed
@JPDuchesne
JPDuchesne deleted the docker-tap-trust-order branch September 15, 2026 15:23
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.

1 participant