Repository navigation
fix(brew): install chainctl as a cask from the Chainguard tap - #42
Merged
Merged
Conversation
## What/Why chainguard-dev/homebrew-tap moved chainctl from Formula/ to Casks/, so the `brew` entry fails with "No available formula". Switch Brewfile.work to a `cask` entry and keep `trusted: true`. ## Proof it works - After `brew uninstall --formula chainctl`, setup installs chainctl from the cask. - `which chainctl && chainctl version` shows /opt/homebrew/bin/chainctl, 0.2.417. - `ruby -c Brewfile.work` reports Syntax OK. ## Risk Low. One Brewfile line, work machines only. Any machine with the old formula must run `brew uninstall --formula chainctl` once first, or the cask conflicts with the existing binary. ## AI role Claude Opus 5.5 found the cause in the tap README and made the edit. A human checked the install locally. ## Review focus Whether `trusted: true` still suppresses the tap trust prompt on a `cask` line. Signed-off-by: jmeridth <jmeridth@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What/Why
The Chainguard tap moved chainctl from
Formula/toCasks/, so thebrewentry inBrewfile.workfails with "No available formula". This switches it to acaskentry and keepstrusted: true.Proof it works
After
brew uninstall --formula chainctl, setup installs chainctl 0.2.417 from the cask at/opt/homebrew/bin/chainctl.Risk
Low. One line, work machines only. Machines with the old formula need a one-time
brew uninstall --formula chainctlbefore the cask installs cleanly.AI role
Claude Opus 5.5 found the cause in the tap README and made the edit. A human verified the install locally.