Mike McQuaid 7461bf81a1
SBOM: more fixes.
- Remove use of (unused) `Cachable` module.
- Pass whether we're bottling to determine whether to create
  reproducible SBOM or not. A reproducible SBOM omits the time and
  compiler.
- Remove bottle information when bottling: we cannot know what e.g.
  the checksum (and, with GitHub Packages, therefore also the download
  location) will be before we've created the tarball contents.
- Always write a bottle on installation (unless we're bottling) to
  provide new bottle information or freshen the existing one with the
  information we stripped out for reproducibility e.g. the time and
  compiler.
- Don't need to handle a `nil` `@source_modified_time` as it's always
  set.

Fixes #17281
2024-05-13 07:36:51 +01:00
..
2024-05-13 07:36:51 +01:00
2024-05-06 22:57:23 -04:00
2024-05-02 09:40:09 +02:00
2024-05-01 11:35:21 +02:00
2024-05-01 11:35:21 +02:00
2024-05-01 11:35:21 +02:00
2024-05-01 11:35:21 +02:00
2024-05-09 20:14:16 -07:00
2024-05-02 09:40:09 +02:00
2024-05-01 11:35:21 +02:00
2024-05-01 11:35:21 +02:00
2024-05-01 11:35:21 +02:00
2024-05-01 11:35:21 +02:00
2024-05-01 11:35:21 +02:00
2024-05-13 07:36:51 +01:00
2024-04-22 21:16:49 +02:00
2024-04-22 21:16:49 +02:00
2024-05-01 11:35:21 +02:00
2024-05-01 11:35:21 +02:00
2024-05-01 11:35:21 +02:00
2024-05-01 11:35:21 +02:00
2024-05-13 07:36:51 +01:00
2024-05-12 08:58:35 -07:00
2024-05-01 11:35:21 +02: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!