This repository has been archived by the owner. It is now read-only.

Detect when md5 changes for formula but cache tarball would be the same #14617

mxcl opened this Issue Sep 1, 2012 · 1 comment


None yet
2 participants

mxcl commented Sep 1, 2012

Maybe this is far-fetched, but if we can instantiate the previous version of a formula that updates during brew update we can determine if the checksum changes but the cache tarball filename remains the same and delete the old cache.

This happens eg. when a formula changes from source compilation to binary compilation, or if upstream add a new tarball for the same version, etc.

We could do more fancy stuff, if it becomes possible to use the homebrew history in this way. In many ways we should.

Other examples include: figuring out which keg is the newest with history rather than Formula.installed? (Though Jack's version patch should make this possible already).


adamv commented Nov 5, 2013

Closing due to lack of action.

@adamv adamv closed this Nov 5, 2013

@xu-cheng xu-cheng locked and limited conversation to collaborators Feb 16, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.