Issy Long 693d609730
dev-cmd/contributions: Fix authored vs. committed commit uniqueness
- For a situation where `authored = 3`, `committed = 4`, the previous
  calculation was `3 - 4` which meant that `committed = -1` in the end.
- This was incorrect, since a user can't have negative contributions!
- Instead, only do the subtraction to get the deduplicated `committed`
  count if the number of authored commits is higher than the number of
  committed commits. This approach should achieve the desired "don't
  double count things that the user authored and committed, but do count
  things that another person authored that the user committed".
2023-03-03 13:15:13 +00:00
..
2023-02-08 10:03:45 +01:00
2023-02-22 22:50:24 +00:00
2023-02-27 21:42:47 -08:00
2023-02-19 00:13:29 +00:00
2023-02-28 14:58:11 -05:00
2023-02-24 19:00:52 +00:00
2023-02-23 12:48:18 +00:00
2023-02-27 21:42:47 -08:00
2023-02-22 22:52:06 +00:00
2023-03-01 09:44:57 +00:00
2023-02-27 20:31:01 -08:00
2023-01-02 19:18:51 +00:00
2023-01-19 12:40:50 -05:00
2023-02-10 23:17:16 -05:00
2023-02-24 18:07:19 +00:00
2023-02-10 23:17:16 -05:00
2023-02-23 10:15:06 -08:00
2023-02-22 22:52:06 +00:00
2023-02-27 21:43:10 -08:00
2023-02-15 14:24:58 +00:00
2023-02-27 20:20:56 -08: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!