Skip to content

sha256 and caching with unversioned formulae #3641

Discussion options

You must be logged in to vote

Can the formula reference the (also) remote checksum file for checksum comparison somehow?

That kinda defeats the purpose of the checksum validating the download. Since a compromised remote download would accompany a compromised remote checksum.

Is there a way for the formula to prevent the archive from being cached? Homebrew seems to cache it, despite no version being declared, which for an unversioned archive of course wouldn't make much sense.

Not if you want to build from source. But casks do support this "always latest" scenario. So if you can make prebuilt binaries you're better off with a cask.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@Airblader
Comment options

@Airblader
Comment options

Answer selected by Airblader
Comment options

You must be logged in to vote
1 reply
@Airblader
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants