21240 Commits

Author SHA1 Message Date
Mike McQuaid
eda03e9d3b
Merge pull request #7695 from Rylan12/audit-safe_popen_read
Use Utils.safe_popen_read instead of Utils.popen_read
2020-06-24 09:00:07 +01:00
Mike McQuaid
85425691c4
Merge pull request #7810 from sjackman/big-sur
OS::Mac::Version: Change 11.00 to 11.0
2020-06-24 08:59:25 +01:00
Mike McQuaid
9a18c90644
Merge pull request #7811 from Bo98/pkgconfig-big-sur
os/mac/pkgconfig: add pc files for Big Sur
2020-06-24 08:59:03 +01:00
Mike McQuaid
6e2c232f01
Merge pull request #7812 from Bo98/expat-2.2.8
os/mac/pkgconfig/10.15/expat: update version to 2.2.8
2020-06-24 08:58:52 +01:00
Mike McQuaid
7d90087568
Merge pull request #7813 from Homebrew/dependabot/bundler/Library/Homebrew/diff-lcs-1.4.2
build(deps): bump diff-lcs from 1.4 to 1.4.2 in /Library/Homebrew
2020-06-24 08:58:25 +01:00
dependabot-preview[bot]
6bf8de0a9e
build(deps): bump diff-lcs from 1.4 to 1.4.2 in /Library/Homebrew
Bumps [diff-lcs](https://github.com/halostatue/diff-lcs) from 1.4 to 1.4.2.
- [Release notes](https://github.com/halostatue/diff-lcs/releases)
- [Changelog](https://github.com/halostatue/diff-lcs/blob/master/History.md)
- [Commits](https://github.com/halostatue/diff-lcs/compare/v1.4...v1.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-24 03:31:54 +00:00
Bo Anderson
53f214835d os/mac/pkgconfig: add pc files for Big Sur 2020-06-24 02:20:13 +01:00
Bo Anderson
5d56be52ca os/mac/pkgconfig/10.15/expat: update version to 2.2.8 2020-06-24 02:09:29 +01:00
Shaun Jackman
6051015ac5 OS::Mac::Version: Change 11.00 to 11.0 2020-06-23 13:30:28 -07:00
Rylan Polster
0faf17b1e6 use safe_popen_read instead of popen_read
RuboCop requires using Utils.safe_popen_read and Utils.safe_popen_write
instead of Utils.popen_read and Utils.popen_write respectively.

Using the "safe" version means that an error will be shown if the
command fails. Previously, when using `popen_read`, a failed command can
go unnoticed and have negative consequences that go undetected (as
happened for pipend in
https://github.com/Homebrew/homebrew-core/pull/55682)

RuboCop does not require Utils.safe_popen_read in a test do block
because there can be some legitimate uses for Utils.popen_read in these
cases.
2020-06-23 13:57:33 -04:00
Bo Anderson
9788735eb2
Merge pull request #7809 from Bo98/macos-version-11
os/mac: fix for major versions other than 10
2020-06-23 18:50:58 +01:00
Dawid Dziurla
4fa540b259
Merge pull request #7776 from dawidd6/gopath
formula: set GOPATH
2020-06-23 18:45:44 +02:00
Mike McQuaid
6f1970fd24
Fix more 10.x hardcodings. 2020-06-23 17:10:07 +01:00
Dawid Dziurla
f04834f02c
formula: set GOPATH
So we can cache dependencies and speed up subsequent builds.
2020-06-23 18:04:04 +02:00
Bo Anderson
fbf56e27a0 os/mac: fix for major versions other than 10 2020-06-23 16:51:16 +01:00
Mike McQuaid
0dbbefe33f
Merge pull request #7808 from MikeMcQuaid/big_sur_clang
os/mac/xcode: add Big Sur clang versions.
2020-06-23 16:41:50 +01:00
Mike McQuaid
8a580ae39e
os/mac/xcode: add Big Sur clang versions.
https://github.com/Homebrew/brew/pull/7806#issuecomment-648154860
2020-06-23 15:54:46 +01:00
Mike McQuaid
d6cc5ff376
Merge pull request #7806 from MikeMcQuaid/big_sur_tweaks
macOS Big Sur tweaks
2020-06-23 14:31:34 +01:00
Mike McQuaid
dd26adafbd
Merge pull request #7807 from MikeMcQuaid/ruby-remove-error
ruby.sh: don't print recoverable error.
2020-06-23 14:11:14 +01:00
Mike McQuaid
11c875d747
macOS Big Sur tweaks
- output warnings when running on ARM
- require Xcode 12
- use 11.0 as the version number
2020-06-23 14:11:05 +01:00
Mike McQuaid
c23d0f575f
Merge pull request #7782 from rmNULL/show-help-for-aliased-cmd
show help for aliased commands
2020-06-23 13:40:39 +01:00
Mike McQuaid
8a645a0eca
Merge pull request #7802 from Homebrew/dependabot/bundler/Library/Homebrew/diff-lcs-1.4
build(deps): bump diff-lcs from 1.3 to 1.4 in /Library/Homebrew
2020-06-23 13:30:05 +01:00
Mike McQuaid
da8b192e7e
Merge pull request #7801 from EricFromCanada/port-commands-cache
Use commands cache in bash/fish completions
2020-06-23 13:29:50 +01:00
Mike McQuaid
ddb02939b5
Merge pull request #7799 from woodruffw-forks/ww/death-to-mysterious-constants
mac/hardware: cpu: Use ruby-macho's Intel constant
2020-06-23 13:24:47 +01:00
Mike McQuaid
07ea18e2d2
ruby.sh: don't print recoverable error.
This prints "error" even when we can install a portable ruby.
2020-06-23 13:13:31 +01:00
Issy Long
2d54b9b137
Merge pull request #7800 from gromgit/fix_brew_tests
Fix test cask macOS dependency
2020-06-23 10:47:17 +01:00
dependabot-preview[bot]
cb4fc420c7
build(deps): bump diff-lcs from 1.3 to 1.4 in /Library/Homebrew
Bumps [diff-lcs](https://github.com/halostatue/diff-lcs) from 1.3 to 1.4.
- [Release notes](https://github.com/halostatue/diff-lcs/releases)
- [Changelog](https://github.com/halostatue/diff-lcs/blob/master/History.md)
- [Commits](https://github.com/halostatue/diff-lcs/compare/v1.3...v1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-23 05:41:27 +00:00
EricFromCanada
01f78582fa Use commands cache in bash/fish completions 2020-06-23 00:20:56 -04:00
William Woodruff
acbb213977
mac/hardware: cpu: Use ruby-macho's Intel constant 2020-06-22 21:56:39 -04:00
Adrian Ho
6044bb17ee Fix test cask macOS dependency
This should be updated when the minimum OS requirement changes.
2020-06-23 09:51:56 +08:00
Shaun Jackman
287659c200
Merge pull request #7796 from sjackman/revert-pr7780
Revert "Enable patchelf.rb for HOMEBREW_DEVELOPERs."
2020-06-22 14:37:51 -07:00
Shaun Jackman
de6fe2edc1 Revert "Enable patchelf.rb for HOMEBREW_DEVELOPERs."
This reverts commit 6106bfc4976dff2b03cf3fadbbf92dd1fd9e0f09.

Fix the error:
brew install patchelf
==> Pouring patchelf-0.10.x86_64_linux.bottle.1.tar.gz
Error: cannot load such file -- patchelf
2020-06-22 14:14:33 -07:00
Shaun Jackman
b79e047e12
Merge pull request #7780 from rmNULL/enable-patchelfrb-for-devs
enable patchelf.rb when HOMEBREW_DEVELOPER is set
2020-06-22 13:59:43 -07:00
Misty De Meo
9cd0166c07
Merge pull request #7794 from mistydemeo/permit_arm_macs
Install: permit ARM-based Macs
2020-06-22 13:54:17 -07:00
Misty De Meo
89b42bc522 Install: permit ARM-based Macs 2020-06-22 12:55:59 -07:00
Misty De Meo
c1a23fc056
Merge pull request #7793 from mistydemeo/add_apple_silicon
OS::Mac::CPU: add Apple Silicon
2020-06-22 12:51:12 -07:00
Shaun Jackman
2e05306b06
Merge pull request #7779 from rmNULL/dont-warn-interp-for-shared-obj
with_interpreter?: Silence "no interpreter found"

Do not warn "no interpreter found" for shared ELF objects.
2020-06-22 12:43:58 -07:00
Misty De Meo
6a3f18b0ae OS::Mac::CPU: add Apple Silicon
Co-authored-by: Shaun Jackman <sjackman@gmail.com>
2020-06-22 12:20:06 -07:00
Misty De Meo
4de9d10953
Merge pull request #7791 from mistydemeo/add_big_sur
OS::Mac::Version: add Big Sur
2020-06-22 12:17:08 -07:00
rmnull
6106bfc497
Enable patchelf.rb for HOMEBREW_DEVELOPERs.
HOMEBREW_PATCHELF_RB is enabled on 2 cases.
1) `HOMEBREW_PATCHELF_RB` is set
2) `HOMEBREW_DEVELOPER` is set , and `HOMEBREW_NO_PATCHELF_RB` is not set.

use `HOMEBREW_NO_PATCHELF_RB` to turn it off for devs.

 Note: When HOMEBREW_PATCHELF_RB and HOMEBREW_NO_PATCHELF_RB both are
    present, it is on
2020-06-23 00:11:50 +05:30
Misty De Meo
8d29e79f7e OS::Mac::Version: add Big Sur 2020-06-22 11:11:51 -07:00
Issy Long
ec5952db93
Merge pull request #7790 from peterlewis/patch-1
'Why haven’t you pulled my pull request?' change
2020-06-22 17:41:21 +01:00
Michka Popoff
a5025e9a9f
Merge pull request #7751 from iMichka/shared
formulae: add generic shared_library_extension
2020-06-22 18:25:35 +02:00
Peter Lewis
68fc0398ca
'Why haven’t you pulled my pull request?' change
I propose changing 'Why haven’t you pulled my pull request?' to 'Why haven’t you merged my pull request?' as, unless I'm missing a trick, this wording would fit more appropriately with what the question trying to ask?
2020-06-22 17:08:27 +01:00
Mike McQuaid
550ba8b193
Merge pull request #7786 from vladimyr/std_cargo_args
formula: add std_cargo_args
2020-06-22 16:57:28 +01:00
Mike McQuaid
66f781821f
Merge pull request #7785 from vidusheeamoli/resolve-srb-errors
Resolve errors reported by Sorbet
2020-06-22 16:57:10 +01:00
vidusheeamoli
a919ba9ccd srb: resolve error 4012. 18 errors => 13 errors 2020-06-22 20:59:39 +05:30
Mike McQuaid
d0821deedc
Merge pull request #7784 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-0.86.0
build(deps): bump rubocop from 0.85.1 to 0.86.0 in /Library/Homebrew
2020-06-22 14:31:45 +01:00
Mike McQuaid
dd50714d1e
Fix RuboCop failures. 2020-06-22 14:09:33 +01:00
Mike McQuaid
38b18ac252
brew vendor-gems: commit updates. 2020-06-22 14:07:31 +01:00