Improve :all
bottle coverage
#191352
Labels
good first issue
A good candidate for your first contribution to Homebrew/homebrew-core
help wanted
Task(s) needing PRs from the community or maintainers
:all
bottle coverage
#191352
We currently have a few hundred
:all
bottles in this repository. I count another 200 or so more (see candidate formulae below) that could have an:all
bottle but don't currently have one.These are typically due to
/usr/local
references inside that bottles that are relocated on x86_64 macOS but not on arm64 macOS or Linux. To fix these, we typically only need a fewinreplace
lines. See below for example PRs.Example PRs
:all
bottle #191327:all
bottle #191316:all
bottle #191252:all
bottle #191251:all
bottle #191250:all
bottle #191249Candidate Formulae
How do I identify the files to `inreplace`?
diffoscope
is your best friend here (install it withbrew intall diffoscope
).If you're trying to fix formula
foo
, you'll want to first checkfoo
for which bottles have different checksums, e.g., withbrew cat foo
(if you havehomebrew/core
tapped), or withTypically, the Intel macOS bottles will all have the same checksums, but these will be different from the arm64 macOS bottles and Linux bottles (which often all have the same checksums as well).
Pull down the relevant bottles with:
and then examine them using
diffoscope
:diffoscope
will tell you which files differ, and these are the ones you'll want toinreplace
.Why do we care about `:all` bottles?
An
:all
bottle can be installed by any Homebrew user, regardless of theirHOMEBREW_PREFIX
or OS version, so having more:all
bottles mean that more users can benefit from bottle usage.Moreover,
:all
bottles are a signal that our builds are (somewhat) reproducible, which is important when providing pre-built packages. See https://reproducible-builds.org for more on this.The text was updated successfully, but these errors were encountered: