
Change behavior for `brew cleanup` as follows: - If `--force` is supplied, remove only outdated keg-only packages. - If `--prune=<days>` is supplied, remove both logs and cached downloads older than the specified number of days. Use `--prune=all` to remove all logs and cached downloads irrespective of age. - By default, remove logs after 14 days and cached downloads never. Also centralizes handling of `--prune`, thus removing duplicate logic. This is motivated by commit 17eee232838d4639b25f863aa342b1dda61b81bc that made `--force` much more aggressive and made it override whatever was specified via `--prune`, completely removing all: - outdated keg-only packages - cached downloads irrespective of age - logs irrespective of age This made it impossible to remove outdated keg-only packages without also deleting all cached downloads, which is at least inconvenient for people with limited bandwidth wanting to rebuild packages later. Closes Homebrew/homebrew#42970. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Homebrew
Features, usage and installation instructions are summarised on the homepage.
What Packages Are Available?
- Type
brew search
for a list. - Or visit braumeister.org to browse packages online.
- Or use
brew search --desc
to browse packages from the command line.
More Documentation
brew help
, man brew
or check our documentation.
Troubleshooting
First, please run brew update
and brew doctor
.
Second, read the Troubleshooting Checklist.
If you don't read these it will take us far longer to help you with your problem.
Security
Please report security issues to security@brew.sh.
This is our PGP key which is valid until June 17, 2016.
- Key ID:
0xE33A3D3CCE59E297
- Fingerprint:
C657 8F76 2E23 441E C879 EC5C E33A 3D3C CE59 E297
- Full key: https://keybase.io/homebrew/key.asc
Who Are You?
Homebrew's current maintainers are Misty De Meo, Adam Vandenberg, Xu Cheng, Mike McQuaid, Baptiste Fontaine, Brett Koonce, Dominyk Tiller, Tim Smith and Alex Dunn.
Homebrew was originally created by Max Howell.
License
Code is under the BSD 2 Clause (NetBSD) license.
Donations
We accept tips through Gratipay.
Sponsors
Our CI infrastructure was paid for by our Kickstarter supporters.
Our CI infrastructure is hosted by The Positive Internet Company.
Our bottles (binary packages) are hosted by Bintray.