25166 Commits

Author SHA1 Message Date
Mike McQuaid
20ff74a7a7
Merge pull request #10134 from MikeMcQuaid/unbottled-tweaks
dev-cmd/unbottled: improve output.
2020-12-28 13:44:17 +00:00
Mike McQuaid
55054a122d
Merge pull request #10143 from samford/pagematch-fix-caching
PageMatch: Return fetched content in match_data
2020-12-28 13:25:58 +00:00
FX Coudert
9e0ed470e1
Merge pull request #10162 from fxcoudert/at
mktemp: avoid directories with @
2020-12-28 14:25:41 +01:00
Mike McQuaid
dc52ff620b
Merge pull request #10031 from hyuraku/only_path_formula_or_cask
add function to define path
2020-12-28 13:22:22 +00:00
Mike McQuaid
879589583d
Merge pull request #10095 from hyuraku/add-options-to-search
search: add two options
2020-12-28 13:21:10 +00:00
Mike McQuaid
6e2da862b7
Merge pull request #10109 from SeekingMeaning/bump-cask-pr-ignore
bump-cask-pr: ignore closed duplicate PRs
2020-12-28 13:19:49 +00:00
Mike McQuaid
e74be0f53a
Merge pull request #10129 from carlocab/big-sur-pkg-config
os/mac/pkgconfig: merge pc files for 11.1 and 11.0
2020-12-28 13:19:31 +00:00
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
d20b946cfe
dev-cmd/unbottled: improve output.
Handle a few more edge cases:
- improve the unbottled output heading so it makes sense when we're
  outputting bottles that are ready to bottle
- output already bottled formulae if named
- handle Linux/Mac requiring formulae and output if named
- output bottle unneeded/disabled formulae if named
- use green/yellow/red for bottles ready to be built now/later/never
2020-12-28 11:36:12 +00:00
Francois-Xavier Coudert
b6447120ae mktemp: avoid directories with @ 2020-12-28 12:14:11 +01: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
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
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
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
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