Files
brew/Library/Homebrew
Mike McQuaid 8ff2e9ae4e Improve speed of HOMEBREW_AUTO_UPDATE_SECS
This variable allows a user to configure how often `brew update` runs.
With the previous implementation, however, it was still pretty slow as
it would run some of `brew update` even within the timeout. This feels
related to complaints about Homebrew "feeling slow" since we enabled
this. Address this by:

- making `HOMEBREW_AUTO_UPDATE_SECS` behave more like
  `HOMEBREW_NO_AUTO_UPDATE` and entirely skip the invocation of
  `brew update` if the relevant tap (homebrew-core or homebrew-cask
  depending on command invoked) has been checked in the last
  `HOMEBREW_AUTO_UPDATE_SECS`
- Only require/check the update of a single tap rather than every tap
- Increase the default value of `HOMEBREW_AUTO_UPDATE_SECS` from 1m
  to 5m to cut people a bit more slack. We're not updating things
  often enough for 1m not to feel a bit overkill and 5m feels
  appropriate for a Homebrew "session" to only require a single update.
2019-10-03 12:54:34 +01:00
..
2019-02-27 14:02:46 +00:00
2019-08-21 06:57:21 +02:00
2019-10-03 09:22:44 +02:00
2019-09-30 16:46:53 +02:00
2019-10-03 09:22:44 +02:00
2019-08-19 16:12:34 +10:00
2019-10-03 09:22:44 +02:00
2019-10-03 09:22:44 +02:00
2019-10-03 09:22:44 +02:00
2019-08-19 16:12:34 +10:00
2019-09-05 12:14:33 +02:00
2018-07-26 10:09:02 +01:00
2019-04-30 09:19:18 +01:00
2019-08-19 16:12:34 +10:00
2019-04-20 14:07:29 +09:00
2019-08-21 06:57:21 +02:00
2019-05-03 16:58:11 +02:00
2019-10-03 09:22:44 +02:00
2019-08-20 08:26:26 -04:00
2019-10-02 07:03:13 -07:00
2019-09-26 20:12:35 +02:00
2019-10-03 09:22:44 +02:00
2019-08-19 16:12:34 +10:00
2019-10-03 09:22:44 +02:00
2019-10-03 09:22:44 +02:00
2019-09-30 16:46:53 +02:00
2019-10-03 09:22:44 +02:00
2019-04-20 13:27:36 +09:00
2019-04-30 09:19:18 +01:00
2019-03-28 21:15:50 +00:00
2019-04-30 09:19:18 +01:00
2019-10-02 23:30:45 +02:00
2019-10-03 09:22:44 +02:00

Homebrew's Formula API

This is the public API for Homebrew.

The main class you should look at is the {Formula} class (and classes linked from there). That's the class that's used to create Homebrew formulae (i.e. package descriptions). Assume anything else you stumble upon is private.

You may also find the Formula Cookbook and Ruby Style Guide helpful in creating formulae.

Good luck!