21782 Commits
Author SHA1 Message Date
Mike McQuaid 8b677c0ddd Merge pull request #10812 from Homebrew/dependabot/bundler/Library/Homebrew/parallel_tests-3.5.2
build(deps): bump parallel_tests from 3.5.1 to 3.5.2 in /Library/Homebrew
2021-03-09 12:26:03 +00:00
BrewTestBot aa9c992adf Update RBI files for parallel_tests. 2021-03-09 12:01:21 +00:00
BrewTestBot c12140b82c brew vendor-gems: commit updates. 2021-03-09 12:00:19 +00:00
Mike McQuaid 7b5f036296 Merge pull request #10801 from lexicol/patch-1
dev-cmd/create: use std_configure_args
2021-03-09 11:55:47 +00:00
Mike McQuaid cea09fc093 Merge pull request #10802 from liyang/master
-Library/Homebrew/shims/mac/super/sed: causes more problems than what it purports to fix
2021-03-09 11:55:24 +00:00
dependabot[bot] 94095ce0a5 build(deps): bump parallel_tests in /Library/Homebrew
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 3.5.1 to 3.5.2.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Changelog](https://github.com/grosser/parallel_tests/blob/master/CHANGELOG.md)
- [Commits](https://github.com/grosser/parallel_tests/compare/v3.5.1...v3.5.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-09 05:44:46 +00:00
lexicol 9cc93154a0 dev-cmd/create: add link to std_configure_args 2021-03-08 12:57:35 -08:00
Bo Anderson 31a4989358 Merge pull request #10792 from Bo98/fi-less-dep-comp
formula_installer: reduce dependency expansion computations
2021-03-08 14:03:55 +00:00
Bo Anderson 34a8c0fafa Merge pull request #10804 from Bo98/llvm_clang-version-fix
development_tools: fix LLVM Clang 10+ version detection
2021-03-08 13:12:30 +00:00
Bo Anderson 96670cedb2 formula_installer: reduce dependency expansion computations 2021-03-08 13:12:12 +00:00
Mike McQuaid c7656d09bc Merge pull request #10807 from Homebrew/dependabot/bundler/Library/Homebrew/parallel_tests-3.5.1
build(deps): bump parallel_tests from 3.5.0 to 3.5.1 in /Library/Homebrew
2021-03-08 12:37:40 +00:00
Mike McQuaid 6e286d53c2 Merge pull request #10788 from MikeMcQuaid/check_install_sanity_bottle_tweaks
formula_installer: tweak "no bottle available" logic.
2021-03-08 12:15:36 +00:00
BrewTestBot ff67bea976 Update RBI files for parallel_tests. 2021-03-08 07:00:07 +00:00
BrewTestBot 691170750b brew vendor-gems: commit updates. 2021-03-08 06:59:16 +00:00
dependabot[bot] f519de11b7 build(deps): bump parallel_tests in /Library/Homebrew
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Changelog](https://github.com/grosser/parallel_tests/blob/master/CHANGELOG.md)
- [Commits](https://github.com/grosser/parallel_tests/compare/v3.5.0...v3.5.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-08 06:53:25 +00:00
BrewTestBot 2f2bae7ad0 spdx: update license data.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/spdx.yml).
2021-03-08 00:33:20 +00:00
Bo Anderson e9b2a6db7a development_tools: fix LLVM Clang 10+ version detection 2021-03-07 20:13:32 +00:00
Liyang HU adac92b326 Library/Homebrew/extend/os/mac/extend/ENV/super.rb: obsolete HOMEBREW_CCCFG flag s
@Bo98's comment https://github.com/Homebrew/brew/pull/10802#issuecomment-792072121
2021-03-06 23:15:55 +00:00
Liyang HU ab614ed4ce -Library/Homebrew/shims/mac/super/sed: causes more problems than what it purports to fix
Mountain Lion isn't even supported by Homebrew anymore.

This shim hails back to Homebrew/legacy-homebrew#13787 @MikeMcQuaid

This gets picked up by `configure` scripts (which is fine during builds),
but occasionally gets [baked into binaries][fixincl], triggering:

    Error: Files were found with references to the Homebrew shims directory.

This in turn causes tap maintainers to just override `SED=/usr/bin/sed` for
`configure`, which doesn't always work properly: osx-cross/homebrew-avr#230

Other instances:

 * https://stackoverflow.com/questions/40357246/usr-local-library-homebrew-shims-super-sed-no-such-file-or-directory
 * https://github.com/laruence/yaconf/issues/17
 * https://github.com/Amar1729/homebrew-formulae/issues/1
 * https://blog.logical-dice.com/articles/wp/295

[fixincl]: https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=fixincludes/fixincl.tpl;h=3d70cabc7fd6dd0e63033e6523fac1dca01b285a;hb=HEAD#l42
2021-03-06 21:36:50 +00:00
lexicol 3d391d6427 dev-cmd/create: use std_configure_args 2021-03-06 13:13:58 -08:00
BrewTestBot e7dba1b071 sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2021-03-06 00:49:57 +00:00
Bo Anderson 344ab02f18 Merge pull request #10767 from Bo98/audit_deps-force_homebrew_on_linux
Allow deps auditing to run on Linux via HOMEBREW_SIMULATE_MACOS_ON_LINUX
2021-03-05 23:46:31 +00:00
Michka Popoff 2466afdd83 Merge pull request #10787 from MikeMcQuaid/no-patchelf-needed
linux/keg_relocate: patchelf dependency is conditional.
2021-03-05 15:24:53 +01:00
Bo Anderson 5660a1bf13 brew.sh: HOMEBREW_SIMULATE_MACOS_ON_LINUX implies HOMEBREW_FORCE_HOMEBREW_ON_LINUX 2021-03-05 12:22:27 +00:00
Bo Anderson abb2b26a93 Add HOMEBREW_SIMULATE_MACOS_ON_LINUX 2021-03-05 12:21:45 +00:00
Bo Anderson 7448a6be58 Revert "Revert "uses_from_macos: fix force_homebrew_on_linux behaviour.""
This reverts commit 9ad37ddc36.
2021-03-05 12:21:45 +00:00
Bo Anderson b3e78f31ea Revert "dev-cmd/audit: don't do dependency checks on Linux."
This reverts commit 93362547c9.
2021-03-05 12:21:45 +00:00
Mike McQuaid 761404a2dc formula_installer: tweak "no bottle available" logic.
- ensure that `HOMEBREW_DEVELOPER` still fails when there's a bottle
  available but the `pour_bottle?` block fails. This is usually due to
  the CLT being missing (and it's removed on even patch macOS upgrades)
  so building from source without prompt is undesirable.
- require `--build-from-source` for dependencies that aren't already
  installed
- do these bottle checks before fetching dependencies (they were already
  done before fetching requested formulae)

Fixes #10729
2021-03-05 12:06:34 +00:00
Mike McQuaid 61427d6682 Merge pull request #10770 from SeekingMeaning/unless_logical_operators
rubocops: use `Style/UnlessLogicalOperators`
2021-03-05 11:45:42 +00:00
Mike McQuaid 9964a4b0a9 Merge pull request #10777 from nandahkrishna/patches-rubocop-autocorrect
rubocops/patches: autocorrect some offenses
2021-03-05 11:45:14 +00:00
Mike McQuaid 49642e4267 linux/keg_relocate: patchelf dependency is conditional.
This is only needed if we're not using `patchelf.rb`.

Partial fix for https://github.com/Homebrew/brew/issues/10784
2021-03-05 11:36:23 +00:00
Bo Anderson e1da637f9a test/hardware/cpu_spec: add missing families 2021-03-04 23:50:35 +00:00
Bo Anderson b8448c4864 Merge pull request #10765 from Bo98/ruby-shims
Revert "Revert "shims/mac/super: add ruby shims to set SDKROOT""
2021-03-04 16:37:38 +00:00
Mike McQuaid cca1413bf2 Merge pull request #10764 from Bo98/export-env
Let bin/brew handle its own exporting
2021-03-04 15:43:33 +00:00
Dawid Dziurla 5267f7b200 Merge pull request #10772 from dawidd6/dispatch-linux
dispatch-build-bottle: support Linux
2021-03-04 16:11:06 +01:00
Mike McQuaid e9419dbce7 test/cmd: test Bash logic. 2021-03-04 12:59:43 +00:00
Mike McQuaid dc1fdc9f8d Speedup brew --version.
Port `brew --version` to Bash to speed it up.

While we're here:
- remove (now) unused `Tap` Git methods
- use `--quiet` instead of `-q` to be more verbose

Benchmarks:
```
$ hyperfine --min-runs=3 --warmup=2 "git checkout origin/master; brew --version" "git checkout speedup_brew_version; brew --version"
Benchmark #1: git checkout origin/master; brew --version
  Time (mean ± σ):      2.083 s ±  0.004 s    [User: 396.8 ms, System: 597.2 ms]
  Range (min … max):    2.080 s …  2.088 s    3 runs

Benchmark #2: git checkout speedup_brew_version; brew --version
  Time (mean ± σ):     847.9 ms ±  35.2 ms    [User: 100.0 ms, System: 247.9 ms]
  Range (min … max):   824.1 ms … 888.3 ms    3 runs

Summary
  'git checkout speedup_brew_version; brew --version' ran
    2.46 ± 0.10 times faster than 'git checkout origin/master; brew --version'
```
2021-03-04 12:59:42 +00:00
nandahkrishna d68452f232 rubocops/patches: autocorrect some offenses 2021-03-04 12:36:18 +05:30
BrewTestBot 84c26f1585 Update RBI files for codecov. 2021-03-04 06:01:47 +00:00
BrewTestBot 731fa83e01 brew vendor-gems: commit updates. 2021-03-04 06:00:57 +00:00
dependabot[bot] 656e41ec24 build(deps): bump codecov from 0.5.0 to 0.5.1 in /Library/Homebrew
Bumps [codecov](https://github.com/codecov/codecov-ruby) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/codecov/codecov-ruby/releases)
- [Changelog](https://github.com/codecov/codecov-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-ruby/compare/v0.5.0...v0.5.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-04 05:55:17 +00:00
Dawid Dziurla b3949f0765 dispatch-build-bottle: support Linux 2021-03-03 17:36:12 +01:00
Seeker 7e7274aaeb rubocops: use Style/UnlessLogicalOperators
Replaces `Style/UnlessMultipleConditions`
2021-03-03 01:39:11 -08:00
BrewTestBot 1377db534d Update RBI files for rubocop. 2021-03-02 17:54:04 +00:00
BrewTestBot b15ddb8c22 brew vendor-gems: commit updates. 2021-03-02 17:53:13 +00:00
dependabot[bot] 97a23cc462 build(deps): bump rubocop from 1.10.0 to 1.11.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.10.0...v1.11.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-02 17:48:06 +00:00
Bo Anderson d625f91d3c shims/scm/git: fix unintended backtick usage 2021-03-02 17:07:02 +00:00
Bo Anderson a3ed481b9e Revert "Revert "shims/mac/super: add ruby shims to set SDKROOT""
This reverts commit fe992cab2b.
2021-03-02 17:06:05 +00:00
Bo Anderson 0a4fd2201e Let bin/brew handle its own exporting 2021-03-02 16:59:57 +00:00
Mike McQuaid b024954a0f Merge pull request #10758 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-performance-1.10.1
build(deps): bump rubocop-performance from 1.10.0 to 1.10.1 in /Library/Homebrew
2021-03-02 16:10:07 +00:00