Carlo Cabrera 0376c6c5c1
utils/github: use Pulls API to check open pull requests on CI
We currently use the search API to check for duplicate pull requests,
but this is not very reliable. Our `autobump.yml` workflow routinely
opens duplicate pull requests [1] because the search API often returns
incorrect results.

We can make this more reliable by using the Pulls API instead.
Unfortunately, querying the Pulls API is very slow (~10s vs less than a
second for the search API), so let's limit its usage to calls made
inside CI, which should help @BrewTestBot avoid opening duplicate PRs.
(Most recent dupes were authored by @BrewTestBot.)

[1] https://github.com/Homebrew/homebrew-core/pulls?q=is%3Apr+author%3ABrewTestBot+is%3Aunmerged+in%3Acomments+Duplicate
2023-05-10 13:08:32 +08:00
..
2023-02-08 10:03:45 +01:00
2023-04-25 09:26:24 -07:00
2023-02-19 00:13:29 +00:00
2023-04-24 20:42:39 -07:00
2023-04-25 09:26:24 -07:00
2023-04-24 20:42:39 -07:00
2023-05-09 04:28:25 +02:00
2023-04-19 11:18:18 +02:00
2023-05-09 00:24:08 +00:00
2023-05-09 04:28:25 +02:00
2023-04-24 20:42:39 -07:00
2023-05-02 19:00:54 +00:00
2023-04-24 20:42:39 -07:00
2023-04-05 10:06:45 -07:00
2023-03-14 14:49:34 -07:00
2023-04-05 10:06:45 -07:00
2023-03-07 19:15:05 -08:00
2023-03-18 13:55:19 -07:00
2023-04-24 20:42:39 -07:00
2023-03-02 11:49:09 -08:00
2023-03-13 09:08:56 -07:00
2023-04-19 21:30:42 +09:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-03-07 09:08:54 -08:00
2023-04-24 20:42:39 -07:00
2023-04-30 19:09:41 +01:00
2023-03-15 14:29:15 -07:00
2023-04-05 09:28:15 -04:00
2023-05-08 22:07:02 +08:00
2023-04-25 09:26:24 -07:00
2023-04-25 09:26:24 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-03-25 08:50:06 -07:00
2023-04-24 14:03:55 +01:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-26 09:16:55 -07:00
2023-04-24 20:42:39 -07:00
2023-03-31 08:35:20 -07:00
2023-03-31 08:35:20 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-27 05:15:43 +01:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-05-06 03:27:42 +02:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-03-30 17:22:02 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-03-21 21:42:51 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-03-15 14:29:15 -07:00
2023-03-15 14:29:15 -07:00
2023-03-03 19:12:33 -08:00
2023-03-26 10:37:20 -07:00
2023-04-24 20:42:39 -07:00
2023-04-25 09:26:24 -07:00
2023-04-24 20:42:38 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-25 09:26:24 -07:00
2023-04-24 20:42:39 -07:00
2023-04-27 05:15:45 +01:00
2023-03-09 13:42:06 -08:00
2023-03-09 13:42:06 -08:00
2023-04-24 20:42:39 -07:00
2023-03-21 17:37:48 -07:00
2023-04-24 20:42:39 -07:00
2023-02-15 14:24:58 +00:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07: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!