Applying patches in `brew unpack` was broken since b76e26c9cf1f
("Decouple applying patches from staging the source").
ClosesHomebrew/homebrew#38997.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
It's been deprecated for a few months and `brew bundle` is a far better
tool for this than `cleanup-installed` was.
ClosesHomebrew/homebrew#38893.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
The standard message can be somewhat confusing (#38695) in that it
outputs “finished linking” language regardless of whether an app is
actually present/linked or not.
This solution just stops it saying anything if there’s no app in the
directory. It needs a little tidying in the output here, but it’s a
discussion point.
ClosesHomebrew/homebrew#38728.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
At the moment, every time I pull a new formulae from a tap, I have to
fetch it with the fully qualified name, `brew fetch
homebrew/versions/duck123 `, which is fine, but then I also have to
install, test, and audit it in the same way, which isn’t fixed until I
tap repair, which gets a bit onerous.
This just adds a step to `brew pull` where it does the tap repair
automatically for taps.
ClosesHomebrew/homebrew#37788.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Without this, `brew audit <some formula>` may ask people to change:
system "./script.sh foo-*"
into:
system "./script.sh", "foo-*"
These are not the same. In the first example the shell expansion occurs
while it doesn’t in the second one, breaking the build.
ClosesHomebrew/homebrew#38540.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
brew deps will fail silently if a formula has dependencies which live in
taps that have not yet been tapped. Delay checking brew deps until after
tap dependencies are discovered.
ClosesHomebrew/homebrew#38424.
In the case where a bottle wasn't around before and is now it probably
doesn't make sense to use `build-bottle` to build something that will
be identical to the binary bottle package anyway. After all, when you
use the bottle you will end up with something that has been built with
`build-bottle` anyway (just not by you).
This should hopefully more often catch the situation where things are
marked as build dependencies incorrectly.
ClosesHomebrew/homebrew#37927.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>