-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Homebrew #320
Comments
This seems like a good idea. If anyone wants to contribute a homebrew recipe for cljfmt, I'd be very appreciative. |
I started to take a look at what's entailed (Homebrew/homebrew-cask@d7e5c44) and when I audit the recipe, $ brew audit --new-cask cljfmt
==> Downloading https://github.com/weavejester/cljfmt/releases/download/0.11.2/cljfmt-0.11.2-darwin-amd64.tar.gz
Already downloaded: /Users/dpassen/Library/Caches/Homebrew/downloads/706494976ae0e50b6bd28e2617ee8b8028806f36f4dbe96c04d96ad226d85beb--cljfmt-0.11.2-darwin-amd64.tar.gz
==> Downloading https://github.com/weavejester/cljfmt/releases/download/0.11.2/cljfmt-0.11.2-darwin-amd64.tar.gz
Already downloaded: /Users/dpassen/Library/Caches/Homebrew/downloads/706494976ae0e50b6bd28e2617ee8b8028806f36f4dbe96c04d96ad226d85beb--cljfmt-0.11.2-darwin-amd64.tar.gz
audit for cljfmt: failed
- Signature verification failed:
/private/tmp/d20231005-32724-1kmtepo/cljfmt: rejected
macOS on ARM requires software to be signed.
Please contact the upstream developer to let them know they should sign and notarize their software.
cljfmt
* line 9, col 2: Signature verification failed:
/private/tmp/d20231005-32724-1kmtepo/cljfmt: rejected
macOS on ARM requires software to be signed.
Please contact the upstream developer to let them know they should sign and notarize their software.
Error: 1 problem in 1 cask detected. Not sure if that's easy or not. |
Looks like I need a developer certificate, and then we'll set up a GitHub action to sign the MacOS ARM binary. It might be a while before I get around to doing that. |
In the meantime what you could do is to support a Homebrew tap. I created my version here: https://github.com/raszi/homebrew-tap/blob/master/cljfmt.rb |
Does that Homebrew tap actually work? I thought the binary would still require a signature? |
It works for me on 13.6.1 (22G313):
|
And when you run the |
Nope, no warnings:
But please notice that I am not using macOS Sonoma but Ventura. This might be a new addition. |
I upgraded to Sonoma since then and there are still no issues. |
I think the signing issue is only for recipes directly a part of homebrew. For third-party taps, it's relaxed. |
Please consider adding the precompiled binaries to homebrew. Would make my team's bootstrap process (a Brewfile) a lot easier than piping a curl request to bash
The text was updated successfully, but these errors were encountered: