20322 Commits

Author SHA1 Message Date
Sam Ford
fef4512b35
Livecheck: Pass regex into strategy blocks 2020-12-25 20:31:37 -05:00
Sam Ford
361743e1fb
Livecheck: Extend strategy block support 2020-12-25 20:31:36 -05:00
Seeker
2fc17772f7 bottle_spec: more cleanup 2020-12-25 13:10:10 -08:00
Michka Popoff
da0d7eff9b
Merge pull request #10140 from SeekingMeaning/bottle-spec-dedup
bottle_spec: reduce code duplication in tests
2020-12-25 22:08:39 +01:00
Rylan Polster
3a6f34d27b cli/parser: add tests for inferring option names 2020-12-25 15:57:09 -05:00
Rylan Polster
5b360f35c5 update-report: use gitconfig to remember last tag 2020-12-25 14:14:57 -05:00
Issy Long
90868fff34
cmd/list: Remove help text about -l displaying file sizes
- It doesn't work on the `HOMEBREW_CELLAR` dir for some reason, and
  using `du -sh` instead (PR 10131) was an extra call that we don't
  need.
- (I had to edit the man page manually as `brew man` gives me "Broken
  pipe" errors.)
2020-12-25 19:03:57 +00:00
Rylan Polster
97f8d09519 release-notes: only show blog link when previous_tag passed 2020-12-25 13:52:36 -05:00
Rylan Polster
ab97c30b14 cli/parser: use - instead of _ in cask args 2020-12-25 12:42:18 -05:00
Michka Popoff
d9064eb65d
Merge pull request #10121 from SeekingMeaning/shared-library
formula: include versioned `*.so.*` libs for `shared_library("*")`
2020-12-25 15:19:01 +01:00
Markus Reiter
7b68d213a0
Merge pull request #10142 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2020-12-25 14:04:07 +01:00
carlocab
51eb4f28fa
os/mac: bump latest_sdk_version 2020-12-25 11:19:03 +00:00
Seeker
96c28d2579
Merge pull request #10124 from SeekingMeaning/test-descriptions
test/rubocops: improve test descriptions
2020-12-24 19:27:54 -08:00
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