homebrew-6.0.0 introduced a Tap Trust Policy
From Official blog:
A third-party tap can contain arbitrary, unsandboxed Ruby that runs on your machine, so Homebrew now requires taps (and tap-qualified formulae and casks) to be explicitly trusted before their code is evaluated or run
Because the turso formula depends on another tap (libsql/sqld), Homebrew blocks the installation. (brews: block inside .goreleaser.yaml file)
Reproduce:
While running (on macOS)
brew install tursodatabase/tap/turso
I got the following:
....
Warning: No available formula with the name "libsql/sqld/sqld".
This command requires the tap libsql/sqld
If you trust this tap, tap it explicitly and then try again:
After explicitly running:
brew tap libsql/sqld
and
brew install tursodatabase/tap/turso
again
I got this error:
Error: Refusing to load formula libsql/sqld/sqld from untrusted tap libsql/sqld.
Run `brew trust --formula libsql/sqld/sqld` or `brew trust libsql/sqld` to trust it.
The CLI finally got installed after running brew trust libsql/sqld and brew install tursodatabase/tap/turso again.
Fixes
I am not sure if the team is already looking into it, but some potential fixes could be to either tell the user to explicitly tap and trust libsql/sqld or some way avoid requiring a dependency from a separate tap
Thank you
homebrew-6.0.0 introduced a Tap Trust Policy
From Official blog:
Because the turso formula depends on another tap (libsql/sqld), Homebrew blocks the installation. (
brews:block inside.goreleaser.yamlfile)Reproduce:
While running (on macOS)
brew install tursodatabase/tap/tursoI got the following:
After explicitly running:
brew tap libsql/sqldand
brew install tursodatabase/tap/tursoagain
I got this error:
The CLI finally got installed after running
brew trust libsql/sqldandbrew install tursodatabase/tap/tursoagain.Fixes
I am not sure if the team is already looking into it, but some potential fixes could be to either tell the user to explicitly tap and trust
libsql/sqldor some way avoid requiring a dependency from a separate tapThank you