Sam Ford 7b2d84337e
cmd/upgrade: fix output regex in test
The "upgrades with asking for user prompts with dependants checks"
test for `cmd/upgrade` has been failing on CI. The regex in the test
doesn't match expected output because the negative lookaheads aren't
working as expected. The intention is to make sure that the names
aren't repeated (i.e., second shouldn't match first, third shouldn't
match first or second) but the negative lookaheads should be
_inside_ the second/third capture group for this to work as intended.

This updated regex should work as expected. I manually tested it
using the output from CI to make sure that it matches when no formula
names are repeated (e.g., `Formulae (3): testball, testball4,
testball5`) and does not match if formula names are repeated (e.g.,
`Formulae (3): testball5, testball4, testball5`).
2025-04-09 12:56:06 -04:00
..
2025-02-06 21:04:08 -08:00
2025-04-02 17:15:36 +01:00
2024-12-31 00:15:10 +00:00
2025-03-30 03:24:24 +02:00
2025-03-27 03:38:09 +00:00
2025-01-19 12:32:55 +01:00
2025-04-04 15:17:41 +00:00
2025-03-31 17:55:07 +01:00
2025-03-31 17:55:07 +01:00
2025-04-08 19:29:50 +00:00
2025-01-16 15:12:03 -08:00
2025-02-06 21:04:08 -08:00
2025-02-04 16:27:39 +00:00
2025-02-17 18:56:31 -08:00
2025-02-17 18:56:31 -08:00
2025-03-02 21:36:03 -08:00
2025-02-16 13:26:10 -08:00
2024-11-26 14:09:13 -08:00
2025-04-03 12:47:21 +01:00
2025-03-31 17:55:07 +01:00
2025-03-30 18:15:00 +02:00
2025-02-06 21:04:08 -08:00
2025-04-08 19:29:50 +00:00
2025-02-17 18:56:31 -08:00
2025-02-04 16:27:39 +00:00
2024-12-11 11:04:55 -08:00
2025-01-07 17:40:18 +00:00
2024-12-05 14:01:37 +00:00
2025-02-04 16:27:39 +00:00
2025-03-02 21:36:03 -08:00
2025-01-07 17:40:18 +00:00
2024-12-07 10:35:33 -08:00
2025-03-31 17:55:07 +01:00
2025-03-27 03:38:09 +00:00
2025-03-02 21:36:03 -08:00
2025-02-06 21:04:08 -08:00
2025-02-24 11:57:20 -08:00
2025-02-17 19:11:48 -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!