25146 Commits

Author SHA1 Message Date
Mike McQuaid
8fa69706f0
Merge pull request #10146 from carlocab/latest-sdk
os/mac: bump latest_sdk_version
2020-12-28 13:18:27 +00:00
Mike McQuaid
fdb71a5cb3
Merge pull request #10161 from MikeMcQuaid/rosetta-bottles-comment
os/mac/hardware: clarify Rosetta 2 situation with a comment.
2.7.1
2020-12-28 10:38:21 +00:00
Mike McQuaid
4611266f08
Merge pull request #10160 from MikeMcQuaid/exitstatus
exceptions: fix ErrorDuringExecution status.
2020-12-28 10:15:57 +00:00
Mike McQuaid
b1ea9e5510
Merge pull request #10159 from MikeMcQuaid/formula_installer_mac_build_from_source
formula_installer: only require --build-from-source on macOS.
2020-12-28 10:14:15 +00:00
Mike McQuaid
47c584545d
Merge pull request #10148 from SeekingMeaning/bottle-spec-reformat
bottle_spec: more cleanup
2020-12-28 09:20:01 +00:00
Mike McQuaid
1a41f29343
os/mac/hardware: clarify Rosetta 2 situation with a comment.
Expand on #10153 to provide an in-code comment (in case someone goes to
change this in future).
2020-12-28 09:09:08 +00:00
Mike McQuaid
d345864d7e
exceptions: fix ErrorDuringExecution status.
This can sometimes be nil so handle that.

Fixes #10158
2020-12-28 09:04:08 +00:00
Rylan Polster
224c7f44e2
cli/args: --HEAD implies building from source 2020-12-28 08:48:38 +00:00
Mike McQuaid
07f9f6c42c
formula_installer: only require --build-from-source on macOS. 2020-12-28 08:47:05 +00:00
FX Coudert
bcbf5857da
Merge pull request #10153 from fxcoudert/revertcpu
Partial revert of #10092
2020-12-26 20:44:22 +01:00
Francois-Xavier Coudert
201d3d2ee7 Partial revert of #10092 2020-12-26 19:37:08 +01: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
Issy Long
3f4427e301
Merge pull request #10136 from issyl0/brew-list-remove-l-option-totals-help-text
cmd/list: Remove help text about `-l` displaying file sizes
2020-12-25 20:02:05 +00: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
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
Dawid Dziurla
5521c76e66
Merge pull request #10145 from kidonng/patch-1
Fix description cache path in Fish completion
2020-12-25 09:04:19 +01:00
Kid
844363c747
Fix description cache path in Fish completion 2020-12-25 13:55:32 +08:00
Seeker
96c28d2579
Merge pull request #10124 from SeekingMeaning/test-descriptions
test/rubocops: improve test descriptions
2020-12-24 19:27:54 -08: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
Markus Reiter
5143b8629a
Merge pull request #10141 from reitermarkus/livecheck-url
Remove `:appcast` and rename `:cask_url` to `:url`.
2020-12-25 02:09:59 +01: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
Rylan Polster
1f80e57778
Merge pull request #10138 from Rylan12/fix-prerelease-audit
aduit: fix prerelease audit
2020-12-24 16:16:16 -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
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
Mike McQuaid
d89a2c1a16
Merge pull request #10040 from maxim-belkin/glibc-central
brew.sh: define minimum required Glibc version
2020-12-24 16:17:52 +00: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
Maxim Belkin
45d67ef13e
brew.sh: define minimum required Glibc version 2020-12-24 09:10:53 -06: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