Mike McQuaid 378f7f8f72
brew.sh: further improve git describe cache.
- Use a safe fallback in case git rev-parse fails, e.g. if this is not
  considered a safe git directory. For hopefully obvious reasons: be
  super careful and strict with the inputs we'll accept here.
- Better handle more permission errors when reading or writing to/from
  the git describe cache. We don't care about these errors because they
  are likely a result of a multiuser configuration where Homebrew is run
  as several different users and this is just a (small) performance
  improvement.
2024-08-19 16:02:57 +01:00
..
2024-08-13 12:23:33 -06:00
2024-08-08 02:30:42 +01:00
2024-08-15 11:47:31 -04:00
2024-08-18 15:35:09 +00:00
2024-08-13 16:36:38 +08:00
2024-08-18 15:34:55 +00:00
2024-08-12 17:36:14 +01:00
2024-08-14 22:56:26 -04:00
2024-08-18 19:03:26 -04:00
2024-07-30 17:51:02 +01:00
2024-08-18 15:34:55 +00:00
2024-08-18 21:20:23 -06:00
2024-08-10 17:52:26 -07:00
2024-08-10 16:43:37 +01:00

Homebrew Ruby API

This is the 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!