Mike McQuaid 849034c368
Improve @-versioned formulae linking.
The way we currently handle @-versioned formulae linking is pretty
labourius:
- it requires extensive use of `link_overwrite` to avoid the `link`
  stage failing on certain install/upgrade scenarios
- we teach people to use `brew link --force` whenever they wish to
  link a versioned formulae when it's pretty obvious what's expected
  in that situation

Instead, let's:
- automatically unlink other versioned formulae when linking a
  versioned formula (either through `brew link` or `install`/`upgrade`
  /`reinstall`)
- notify the user what we've done (with the same messaging as if
  they had run `brew link` manually)
2020-10-29 13:35:03 +00:00
..
2020-10-29 13:35:03 +00:00
2020-10-10 14:59:39 +02:00
2020-10-29 20:39:49 +11:00
2020-10-24 15:26:36 +02:00
2020-10-27 01:00:30 +00:00
2020-10-29 21:13:26 +11:00
2020-10-10 14:59:39 +02:00
2020-10-11 00:30:09 +02:00
2020-09-11 10:29:22 +01:00
2020-10-10 14:59:39 +02:00
2020-10-12 09:23:49 +01:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-09 16:45:13 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-29 13:35:03 +00:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-19 22:10:21 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-29 08:31:04 +00:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00

Homebrew's Formula API

This is the public 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!