This will reduce the number of requests necessary to ascertain the size of formulas' bottle archives for analysis purposes. Currently, getting the size of each bottle requires 1 request for the formula.json and followed by N requests per formula-version, which for most formulae is 7— more than 47k requests! After this change, size retrieval can ascertain all bottle sizes for a formula-version in a single request, at the cost of one additional request per formula-version if that formula-version has not been rebuilt since this change was introduced. To start, size retrieval will incur an additional P requests where P is the number of packages. Over the next few weeks and months, the retrieval will go a lot faster as all new and updated packages will require only one request.
Library
This directory contains all the code run by the official brew command in Homebrew and all formulae (package descriptions) in taps (repositories containing formulae) in Taps subdirectories.