This repository has been archived by the owner on Jul 4, 2023. It is now read-only.
brew pull --bottle
fetches wrong bottles if one is not built for this system
#48731
Labels
The bottle-pulling part of
brew pull --bottle
won't work quite right when run on an OS version which does not have a bottle for that OS version. It will publish the bottles to bintray, but when trying to fetch them to verify their availability, it will fetch the formula's source distribution instead.For example, PR 48724 updates
sourcekitten
, which only has bottles for 10.10 Yosemite and newer. If I dobrew pull --bottle 48724
on a 10.9 system, I get this.Looks like this happens because it grabs the bottle files with a regular
fetch
operation on the formula, assuming that will get a bottle, instead of doing a download specifically for the bottle file.Low impact: basically, it won't do the waiting until the bottle files appear on Bintray, so you might push the commit before the bottle files for it are ready. And if the publishing to Bintray failed, it won't detect it.
The text was updated successfully, but these errors were encountered: