20359 Commits

Author SHA1 Message Date
Mike McQuaid
e6a53f4349
Merge pull request #9354 from maxim-belkin/gnu-sed-compatible-formulae
cmd/formulae.sh: compatibility with GNU Sed
2020-12-01 12:41:54 +00:00
Maxim Belkin
ca9ad61dcf
cmd/formulae.sh: compatibility with GNU Sed 2020-12-01 12:03:38 +00:00
EricFromCanada
c65d4617bd
list: deprecate --unbrewed in favour of brew --prefix --unbrewed 2020-12-01 12:02:45 +00:00
EricFromCanada
b7aae0c643
parser: allow a disabled switch to specify its replacement 2020-12-01 12:02:44 +00:00
EricFromCanada
0604005405
list: refactor options to catch edge cases 2020-12-01 12:02:44 +00:00
Mike McQuaid
7348bc0ec8
Merge pull request #9357 from scpeters/revert_cmd_list_disabled
Only deprecate "brew list" without arguments
2020-12-01 11:56:00 +00:00
Markus Reiter
6f09768549 Add missing require in dev-cmd/irb. 2020-12-01 12:05:21 +01:00
Markus Reiter
c00307024f
Merge pull request #7772 from linzichao/add-verified-url
add verified parameter to url
2020-12-01 09:47:05 +01:00
Rylan Polster
8d5dc76284 Satisfy brew typecheck 2020-11-30 20:32:46 -05:00
Steve Peters
432e762e9b Only deprecate "brew list" without arguments
It was deprecated in 2.5.7 to accompany the deprecation
of "brew cask" commands, so wait to disable it until
"brew cask" commands are disabled as well.
2020-11-30 17:09:15 -08:00
Jonathan Chang
0d058666d8 formula: widen type for system args
We can pass Integers here too, for e.g. make flags

```
TypeError: Parameter 'args': Expected type T.any(Pathname, String), got type Integer with value 4
Caller: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/pypy.rb:68
Definition: /usr/local/Homebrew/Library/Homebrew/formula.rb:1985
```
2020-12-01 01:20:18 +01:00
Rylan Polster
b3b6ce77d8 utils/pypi: avoid creating new string objects
Co-authored-by: Markus Reiter <me@reitermark.us>
2020-12-01 01:19:33 +01:00
Rylan Polster
4bfb390577 utils/pypi: make package name comparison case-insensitive 2020-12-01 01:19:33 +01:00
linzichao
058a1c3645 add verified parameter in url 2020-12-01 01:17:21 +01:00
Rylan Polster
0c41d374c9 style: add tests for provided_by_macos and style_exceptions 2020-11-30 18:18:51 -05:00
Rylan Polster
f8ff0f465f tap: add tests for formula list methods 2020-11-30 18:18:50 -05:00
Rylan Polster
ba63619f8e tests: remove final reference to formula_exist 2020-11-30 18:18:50 -05:00
Rylan Polster
11a5e522ea rubocop: don't rely on ActiveSupport 2020-11-30 18:18:50 -05:00
Rylan Polster
c181c9995e style: add --reset-cache option 2020-11-30 18:18:50 -05:00
Rylan Polster
2256e547d9 Remove unneeded "formulae exist" test 2020-11-30 18:18:50 -05:00
Rylan Polster
44bfbd0112 Migrate uses_from_macos style lists 2020-11-30 18:18:50 -05:00
Rylan Polster
a09613543a Migrate REGEX_CASE_SENSITIVE_ALLOWLIST 2020-11-30 18:18:50 -05:00
Rylan Polster
d59ce75d2a Migrate NOT_A_BINARY_URL_PREFIX_ALLOWLIST 2020-11-30 18:18:50 -05:00
Rylan Polster
7a8dd36003 Migrate BINARY_BOOTSTRAP_FORMULA_URLS_ALLOWLIST 2020-11-30 18:18:50 -05:00
Rylan Polster
1dbbcfd1d6 Migrate COMPONENTS_ORDER_EXCEPTIONS 2020-11-30 18:18:50 -05:00
Rylan Polster
629ad219aa Migrate MAKE_CHECK_ALLOWLIST 2020-11-30 18:18:50 -05:00
Rylan Polster
e823dd713e Migrate VERSIONED_FORMULAE_CONFLICTS_ALLOWLIST 2020-11-30 18:18:50 -05:00
Rylan Polster
80a46edee4 tap: add style_exceptions configuration 2020-11-30 18:18:49 -05:00
Maxim Belkin
6eb49907f0 cpu.rb: apply Mike's suggestions
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-11-30 16:18:19 -06:00
Maxim Belkin
97c9a952d3 Recognize AMD CPUs on Linux 2020-11-30 16:18:19 -06:00
Maxim Belkin
8738ad324e cpu.rb: clean up the list of CPU instructions
Co-authored-by: Shaun Jackman <sjackman@gmail.com>
Co-authored-by: Markus Reiter <me@reitermark.us>
2020-11-30 16:17:00 -06:00
Markus Reiter
7d9758a05e Fix RuboCop offenses. 2020-11-30 22:50:15 +01:00
Markus Reiter
da8d91bd05 Fix .simplecov exit status for integration tests. 2020-11-30 20:52:27 +01:00
Markus Reiter
81203d346c Make brew help cat test stricter. 2020-11-30 20:52:27 +01:00
Markus Reiter
e26311236f Ensure brew cat output is empty on failure. 2020-11-30 20:52:27 +01:00
Markus Reiter
f438fa98be Avoid reinstalling bundler in integration tests. 2020-11-30 20:52:27 +01:00
Markus Reiter
0716d0bf28 Don't output “Installing 'bundler' gem” to $stdout. 2020-11-30 20:52:27 +01:00
Markus Reiter
8298f95677 Increase timeout for integration tests. 2020-11-30 20:52:27 +01:00
Markus Reiter
df436e331d Fix .simplecov. 2020-11-30 20:52:27 +01:00
Markus Reiter
7afaebc7f8
Merge pull request #9349 from reitermarkus/style-spec
Add missing `require`s for `style` spec.
2020-11-30 20:50:50 +01:00
Mike McQuaid
49054b4457
Merge pull request #9352 from MikeMcQuaid/more_active_support
global: add more active_support includes.
2020-11-30 17:21:32 +00:00
Mike McQuaid
f496ef685f
Merge pull request #9348 from MikeMcQuaid/harmless-system-frameworks
linkage_checker: system framework links are harmless.
2020-11-30 16:58:29 +00:00
Mike McQuaid
7439a9b8a2
global: add more active_support includes. 2020-11-30 16:27:47 +00:00
Markus Reiter
2552ecb1e7 Add missing requires for style spec. 2020-11-30 17:01:10 +01:00
Mike McQuaid
7228e60da5
linkage_checker: system framework links are harmless.
These do not seem to cause runtime errors.

Fixes #9338
2020-11-30 16:00:42 +00:00
Mike McQuaid
a70d891122
os/mac/sdk: refactor for readability. 2020-11-30 16:00:31 +00:00
Misty De Meo
fec6fc4b4f
SDK: allow SDK mismatches if major version matches 2020-11-30 16:00:31 +00:00
Markus Reiter
fe2c201d00
Merge pull request #9268 from reitermarkus/type-signatures
Add more type signatures.
2020-11-30 15:16:05 +01:00
Mike McQuaid
66f47e7502
Merge pull request #9345 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-performance-1.9.1
build(deps): bump rubocop-performance from 1.9.0 to 1.9.1 in /Library/Homebrew
2020-11-30 13:18:17 +00:00
Mike McQuaid
f24f5f400b
Merge pull request #9344 from Homebrew/dependabot/bundler/Library/Homebrew/simplecov-0.20.0
build(deps): bump simplecov from 0.19.1 to 0.20.0 in /Library/Homebrew
2020-11-30 13:13:38 +00:00