Commit Graph
20266 Commits
Author SHA1 Message Date
Steve PetersandGitHub 7455d53f88 add :needs_linux to brew ruby test 2020-12-03 22:27:02 -08:00
Steve Peters a29737ac6d Test for brew ruby -e 'puts "testball".f.path'
This test aims to prevent regressions of #9362.
2020-12-01 17:38:34 -08:00
BrewTestBot 95ab5182da spdx: update license data.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/spdx.yml).
2020-12-02 00:27:24 +00:00
Markus ReiterandGitHub fc2a3f69b6 Merge pull request #9335 from jonchang/formula-type
formula: widen type for system args
2020-12-02 00:47:41 +01:00
Rylan PolsterandGitHub 77b4275f81 Merge pull request #9326 from Rylan12/migrate-style-exceptions
Migrate style exceptions to homebrew/core
2020-12-01 12:19:45 -05:00
Mike McQuaidandGitHub 1d5e354cc2 Merge pull request #9347 from maxim-belkin/amd_cpus
Identify AMD CPUs on Linux
2020-12-01 12:47:26 +00:00
Mike McQuaidandGitHub 2f0babe86f Merge pull request #9325 from maxim-belkin/cpu-flags
cpu.rb: drop field name and a colon from flags
2020-12-01 12:44:56 +00:00
Mike McQuaidandGitHub 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 BelkinandMike McQuaid ca9ad61dcf cmd/formulae.sh: compatibility with GNU Sed 2020-12-01 12:03:38 +00:00
EricFromCanadaandMike McQuaid c65d4617bd list: deprecate --unbrewed in favour of brew --prefix --unbrewed 2020-12-01 12:02:45 +00:00
EricFromCanadaandMike McQuaid b7aae0c643 parser: allow a disabled switch to specify its replacement 2020-12-01 12:02:44 +00:00
EricFromCanadaandMike McQuaid 0604005405 list: refactor options to catch edge cases 2020-12-01 12:02:44 +00:00
Mike McQuaidandGitHub 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 ReiterandGitHub 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 ChangandMarkus Reiter 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 PolsterandMarkus Reiter 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 PolsterandMarkus Reiter 4bfb390577 utils/pypi: make package name comparison case-insensitive 2020-12-01 01:19:33 +01:00
linzichaoandMarkus Reiter 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 BelkinandMike McQuaid 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
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 ReiterandGitHub 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 McQuaidandGitHub 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 McQuaidandGitHub 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