Mike McQuaid ed5805e50c
Add JSON API download strategy for download queue
This fixes the weird/broken existing behaviour which was incorrectly
creating symlinks at download time. It also defers much more logic to
the original code.

For clarity, rename the existing `API::Download` class to
`API::SourceDownload`.

While we're here:
- add a/improve the `download_type` method on all `Downloadable`
  subclasses to improve download queue output format
- move some logic to `RetryDownload`
2025-07-22 17:48:32 +01:00
..
2025-07-15 13:34:49 -04:00
2025-07-14 19:12:38 +01:00
2025-07-21 09:10:06 +01:00
2025-07-02 00:17:54 +00:00
2025-06-17 16:33:58 +01:00
2025-07-16 11:32:22 -04:00
2025-07-14 19:12:38 +01:00
2025-07-14 19:12:38 +01:00
2025-07-14 19:12:38 +01:00
2025-07-14 19:12:38 +01:00
2025-04-23 10:09:45 +02:00
2025-07-19 00:31:02 +00:00
2025-03-31 17:55:07 +01:00
2025-07-18 16:14:28 +00:00
2025-07-14 19:12:38 +01:00
2025-07-16 08:58:14 -07:00
2025-07-21 09:10:06 +01:00
2025-07-14 19:12:38 +01:00
2025-06-09 19:06:16 +01:00
2025-07-14 19:12:38 +01:00
2025-04-23 10:09:45 +02:00
2025-04-15 23:02:00 +01:00
2025-07-14 19:12:38 +01:00
2025-07-17 17:49:53 +01:00
2025-07-17 17:49:53 +01:00
2025-04-22 11:50:08 -07:00
2025-07-18 09:05:02 -07:00
2025-07-14 19:12:38 +01:00
2025-07-14 19:12:38 +01:00
2025-06-09 19:06:16 +01:00
2025-06-23 16:50:39 +01:00
2025-04-16 16:22:36 +01:00
2025-06-09 19:06:16 +01:00
2025-06-09 19:06:16 +01:00
2025-06-29 09:02:24 -07:00
2025-06-09 19:06:16 +01:00
2025-06-09 19:06:16 +01:00
2025-03-31 17:55:07 +01:00
2025-07-14 19:12:38 +01:00
2025-07-14 19:12:38 +01:00
2025-07-14 19:12:38 +01:00
2025-07-14 19:12:38 +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!