Any program is only as good as it is useful. – Linus Torvalds
brewchecker is a tool for checking Homebrew packages' availability, written in Python.
It downloads latest Homebrew
sources to temporary folder,
scans
`Formula
<https://github.com/Homebrew/homebrew/tree/master/Library/Formula>`__
folder for formulas, parse every of them, and tries to download every
package, patch, etc from 'stable' section.
Output of this script is JSON document with statuses of all Formulas' resources.
You must have libcurl
library installed, and follow VCS binaries in
PATH
:
git
hg
bzr
(currently not used by Homebrew, but we have to support it)cvs
svn
fossil
On OS X you can get all this by using Homebrew
brew install git hg bzr cvs svn fossil curl
To install brewchecker use following command:
pip install https://github.com/mktums/brewchecker/releases/download/v0.2.1/brewchecker-0.2.1.tar.gz
git clone https://github.com/mktums/brewchecker
In most cases you will want to run it as
brewchecker -qeo report.json
Usage: brewchecker [OPTIONS]
Options:
-n, --threads INTEGER Number of simultaneous downloads performed by
brewchecker.
Warning: increasing this number may
cause errors and slow down your system. [default: 6]
-q, --quiet No log will be printed to STDOUT. [default: False]
-e, --only-errors Report will only contain formulas with errors.
[default: False]
-l, --log FILENAME Path to log file.
-o, --output FILENAME Path to output file where JSON report will be saved.
Warning: omitting this option will cause printing
report after with its log, unless -q/--quiet is
presented.
--help Show this message and exit.