23950 Commits

Author SHA1 Message Date
Sam Ford
d7fa400930
Livecheck: Surface cached status in debug output 2020-12-24 22:19:14 -05:00
Sam Ford
8b5e334be4
PageMatch: Require provided_content to be a string 2020-12-24 21:49:30 -05:00
Sam Ford
eedd108ace
PageMatch: Return fetched content in match_data
If we want caching to work in the `Xorg` strategy, it's necessary to
pass fetched content back in the `match_data` hash.
2020-12-24 21:48:31 -05:00
BrewTestBot
9bc1326ac2 sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2020-12-25 01:27:31 +00:00
Rylan Polster
a0e663d833 update: show either changelog or release noted link 2020-12-24 19:05:23 -05:00
Markus Reiter
7f633cce8c Remove :appcast and rename :cask_url to :url. 2020-12-25 01:02:51 +01:00
Sam Ford
8ac02c9b09
Merge pull request #10113 from samford/xorg-use-pagematch
Xorg: Use PageMatch#find_versions
2020-12-24 17:58:59 -05:00
Seeker
13e0188187 bottle_spec: reduce code duplication in tests 2020-12-24 12:50:15 -08:00
Sam Ford
88843d2e43
Livecheck: Fix final url spacing in debug output 2020-12-24 15:00:57 -05:00
Rylan Polster
27ffa4e6e0 audit: fix prerelease audit 2020-12-24 13:55:16 -05:00
Issy Long
2424e58b91
Merge pull request #10133 from issyl0/constrain-brew-list-lrt-options-to-formulae-only
cmd/list: Constrain `-lrt` options to formulae
2020-12-24 18:14:37 +00:00
Alexander Bayandin
5a7b70a41b
Merge pull request #10115 from bayandin/do-not-depend-on-aliases
formula_auditor: do not allow depending on aliases
2020-12-24 18:13:39 +00:00
Seeker
174645fb95 test/rubocops: improve test descriptions 2020-12-24 09:42:03 -08:00
Seeker
9acbc6c3f4 bump-cask-pr: ignore closed duplicate PRs 2020-12-24 09:25:38 -08:00
Seeker
1d710047a5 formula: add more tests for shared_library 2020-12-24 09:05:46 -08:00
Seeker
509b977b50 formula: return "*.dylib" for shared_library("*") on macOS 2020-12-24 08:53:32 -08:00
Issy Long
531cae4b8c
cli/parser: Option-ify arg names when raising OptionConstraintError
- There's already a method on `CLI::Parser`, we don't need to hand-roll
  the "number of dashes" detection.

Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2020-12-24 16:52:39 +00:00
Seeker
0aa4259654 formula: include versioned *.so.* libs for shared_library("*") 2020-12-24 08:51:01 -08:00
Sam Ford
ea259da9c7
Livecheck: Demodulize PageMatch name in calls
Co-authored-by: Markus Reiter <me@reitermark.us>
2020-12-24 11:15:57 -05:00
Sam Ford
5c9f5b9506
Xorg: Use PageMatch#find_versions 2020-12-24 11:15:55 -05:00
Issy Long
27afcf5779
cli/parser: Improve single or multi "-" detection
- This reads nicer (to me).
2020-12-24 15:54:24 +00:00
carlocab
d7323f30d3
extend/os/mac/extend/ENV: fix pkg-config paths 2020-12-24 15:23:23 +00:00
Maxim Belkin
45d67ef13e
brew.sh: define minimum required Glibc version 2020-12-24 09:10:53 -06:00
carlocab
a701ef79d1
test/os/mac/pkgconfig_spec: fix test failures
This fixes the test failures induced by 845299d10e95e48e4b408ce5fef93036a9b4bf0a.
2020-12-24 14:45:25 +00:00
carlocab
5835cce360
os/mac/pkgconfig: merge pc files for 11.1 and 11.0
Closes https://github.com/Homebrew/brew/issues/10126.
2020-12-24 14:45:08 +00:00
FX Coudert
5818b28479
Merge pull request #10132 from fxcoudert/arm-warning
Remove warning on ARM
2020-12-24 15:34:33 +01:00
Alexander Bayandin
2aaa83d398 formula_auditor: check for aliases only core formulae 2020-12-24 13:59:59 +00:00
Issy Long
570a660758
cli/parser: Only prefix short options with one dash
- This avoids error messages like:

```
➜ brew list -l
Error: Invalid usage: `--l` cannot be passed without `--formula`.
```
2020-12-24 13:33:37 +00:00
Issy Long
1b4646dee4
cmd/list: Limit -lrt options to being passed with --formula
- These are documented as only working on formulae, but users expect the
  same options (long format, reverse order or sort by modified time) to
  be passed to both formulae and casks in the default `brew list`. The
  output looks weird as they're not. Hence, constrain these to be
  `--formula`-only.
- This was added originally in 5adb76a5babdccd2c4edfb8752ac979ed14716ca,
  but then disappeared.
2020-12-24 13:33:36 +00:00
Francois-Xavier Coudert
b02acb37c0 Remove warning on ARM 2020-12-24 14:15:03 +01:00
Mike McQuaid
a2ae6f81d7
Merge pull request #10112 from carlocab/big-sur-sdk-path-v2
os/mac/sdk: parse version from SDKSettings.json
2020-12-24 13:09:44 +00:00
FX Coudert
e69a54d0d8
Merge pull request #10110 from fxcoudert/unbottled
unbottled: improve output
2020-12-24 13:54:15 +01:00
Mike McQuaid
4135c0abca
Merge pull request #10083 from xu-cheng/cask-conflict-check-tap
cask/installer: do not install tap during conflict checking
2020-12-24 12:44:23 +00:00
Michka Popoff
7b24507440
Merge pull request #10130 from iMichka/prefixes
bottle --merge: check for all cellars
2020-12-24 12:52:08 +01:00
Michka Popoff
a704abc6dc bottle --merge: check for all cellars 2020-12-24 12:12:23 +01:00
Jonathan Chang
ab1d39966c
Merge pull request #10122 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2020-12-24 22:12:05 +11:00
Seeker
4f2b74a149 bottle: fix --merge test failure 2020-12-24 10:45:20 +01:00
Seeker
1ea8b82a54 bottle: add merge_bottle_spec helper function 2020-12-24 10:45:20 +01:00
Rylan Polster
e6e76a403a
Merge pull request #10118 from Rylan12/fix-style-on-os-blocks
style: fix on_macos/on_linux resource block checks
2020-12-23 22:34:54 -05:00
Markus Reiter
bf7efb369c Fix Sparkle strategy. 2020-12-24 03:33:14 +01:00
Rylan Polster
b5cc723d33 tests/rubocops/components_order: fix test descriptions 2020-12-23 21:05:50 -05:00
BrewTestBot
42ae6adcbe sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2020-12-24 01:22:19 +00:00
Rylan Polster
a8faeef64d
Merge pull request #10108 from Rylan12/add-depreacte-disable-date
formula: add deprecation_date and disable_date methods
2020-12-23 19:36:02 -05:00
Seeker
4924b7633c components_order: allow if-else statements inside on_os blocks
Co-Authored-By: Rylan Polster <rslpolster@gmail.com>
2020-12-23 19:28:11 -05:00
Alexander Bayandin
1e68ce5a3f formula_auditor: do not allow depending on aliases 2020-12-23 23:29:45 +00:00
Rylan Polster
27ce5754c9 style: fix on_macos/on_linux resource block checks 2020-12-23 17:04:24 -05:00
Rylan Polster
cb8e9a695f
Merge pull request #10087 from Rylan12/migrate-shared-audit-exceptions
audit: migrate shared audits to taps
2020-12-23 16:36:42 -05:00
Issy Long
e041468375
Merge pull request #10100 from issyl0/use-rspec-github-gem
Replace `test/support/github_formatter` with `rspec-github` gem
2020-12-23 18:34:47 +00:00
Rylan Polster
9fd2319afa update-report: add links to changelog and blog 2020-12-23 12:06:28 -05:00
Rylan Polster
76c69b7bb3 release-notes: add message directing users to the blog. 2020-12-23 11:17:51 -05:00