Valentin Kulesh 06155ff6e0
Work around recent Akamai/Microsoft issues
At the moment, Microsoft Office and related casks fail audit due to
failure to fetch a product homepage from the main Microsoft site
(https://www.microsoft.com/) served by Akamai CDN.
The failure is severe and weird: no status code is received as the
connection is reset.
The analysis revealed the issue is linked to `User-Agent` and
`Accept-Language` headers parsing. Homebrew uses involved user agent
strings and has language hardcoded as `en`.
The simplest workaround is to use a simple user agent string when checking
homepage availability if the cask is in an audit exceptions list.

Merging this would fix Microsoft Office updates (including
https://github.com/Homebrew/homebrew-cask/pull/162671)
2023-12-16 22:20:17 +03:00
..
2023-12-15 16:24:46 +00:00
2023-10-06 01:00:21 +00:00
2023-12-15 16:24:46 +00:00
2023-12-15 16:24:46 +00:00
2023-12-15 19:00:10 +00:00
2023-10-30 18:57:50 +00:00
2023-12-15 16:24:46 +00:00
2023-12-15 18:54:36 +00:00
2023-11-05 08:55:58 -08:00
2023-11-11 05:36:40 +00:00
2023-08-12 22:01:22 -07:00
2023-12-15 16:24:46 +00:00
2023-12-06 00:01:25 +00:00
2023-11-29 15:30:17 +00:00
2023-10-10 03:42:22 +02:00
2023-12-06 00:01:25 +00:00
2023-08-12 22:01:22 -07:00
2023-11-05 08:55:58 -08:00
2023-09-29 12:32:22 +01:00
2023-08-12 22:01:22 -07:00
2023-08-04 16:43:13 +01:00
2023-12-15 19:24:05 +00:00
2023-12-15 19:24:05 +00:00
2023-12-12 10:12:01 -08:00
2023-11-05 00:54:59 +00:00
2023-12-06 00:01:25 +00:00
2023-09-29 12:32:22 +01:00
2023-09-05 22:40:23 -04:00
2023-08-12 22:01:22 -07:00
2023-09-27 17:33:44 +01:00
2023-08-12 22:01:22 -07:00
2023-12-06 00:01:25 +00:00
2023-11-05 08:55:58 -08:00
2023-10-28 23:43:35 -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!