649 Commits

Author SHA1 Message Date
Mike McQuaid
68889b972c
Merge pull request #9353 from maxim-belkin/config-no-codename
os/linux.rb: don't show codename when it's n/a
2020-12-02 12:49:53 +00:00
Mike McQuaid
6225ecff78
os/linux: check for blank codename. 2020-12-02 11:54:59 +00:00
Mike McQuaid
9216d8abe6
rubocop-rails: make fixes. 2020-12-02 10:43:04 +00:00
Maxim Belkin
4d672d1759 os/linux.rb: don't show codename when it's n/a 2020-12-01 10:36:08 -06: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
96d3eb5cf1
Merge pull request #9280 from sjackman/sj/patchelf-rb-write
Enable HOMEBREW_PATCHELF_RB_WRITE for CI and HOMEBREW_DEV_CMD_RUN
2020-11-30 12:59:05 +00:00
Markus Reiter
7348185347 Reorder global. 2020-11-30 00:00:02 +01:00
Mike McQuaid
016893c132
os/mac/sdk: use OS::Mac.sdk_version.
This should allow the correct SDK to be found.

Fixes https://github.com/Homebrew/brew/issues/9324
2020-11-27 20:18:56 +00:00
Shaun Jackman
65bc39f952 HOMEBREW_PATCHELF_RB_WRITE: Move logic to test-bot 2020-11-26 11:53:31 -08:00
Shaun Jackman
8a4299d028 Enable HOMEBREW_PATCHELF_RB_WRITE for CI and HOMEBREW_DEV_CMD_RUN
Enable HOMEBREW_PATCHELF_RB_WRITE by default for HOMEBREW_DEV_CMD_RUN
and CI, but not when building bottles.
2020-11-26 11:23:38 -08:00
Mike McQuaid
88ba32c519
os/mac/version: explain Big Sur to_sym logic. 2020-11-25 13:53:52 +00:00
Shaun Jackman
4bbf92912b Enable HOMEBREW_PATCHELF_RB_WRITE by default
Enable HOMEBREW_PATCHELF_RB_WRITE by default for everyone except CI.
It may be disabled using HOMEBREW_NO_PATCHELF_RB_WRITE.
It may be enabled on CI using HOMEBREW_PATCHELF_RB_WRITE.
2020-11-24 10:52:11 -08:00
Markus Reiter
8598b1186a Handle macOS versions >= 11.1 correctly. 2020-11-23 13:46:15 +01:00
Mike McQuaid
444c3858df
Adjust macOS version logic
- Adjust latest supported macOS logic for e.g. Big Sur 11.1.
- Updated latest supported version in docs to Mojave

Fixes https://github.com/Homebrew/brew/issues/9211
2020-11-20 16:42:52 +00:00
Mike McQuaid
3844cd6dc5
Merge pull request #9054 from fxcoudert/bigsur
macOS Big Sur
2020-11-16 12:22:34 +00:00
Markus Reiter
1b732ec7b2 Fix RuboCop offenses. 2020-11-16 02:05:29 +01:00
Rylan Polster
20ee7e8881 add Lint/DuplicateBranch cop exceptions 2020-11-16 02:02:52 +01:00
Francois-Xavier Coudert
64bc1109d1 Xcode 12.2 is released 2020-11-14 23:57:13 +01:00
Francois-Xavier Coudert
b6c18230cf macOS Big Sur is released 2020-11-14 23:56:36 +01:00
Claudia Pellegrino
e945b1c42a
Merge pull request #9102 from fxcoudert/sign
keg: add codesigning
2020-11-14 08:00:01 +01:00
Markus Reiter
da9289eff0 Add more type signatures. 2020-11-13 12:26:36 +01:00
Jonathan Chang
c602090624
Merge pull request #9123 from jonchang/xcode-12.2
xcode: update for Xcode 12.2
2020-11-13 16:55:25 +11:00
Jonathan Chang
49d2c25e2a xcode: update for Xcode 12.2 2020-11-13 15:38:24 +11:00
Mike McQuaid
5afff3f3aa
Handle macOS Homebrew on ARM
- Output `brew doctor` and `brew install` messages noting this configuration is (currently) unsupported and encourage use of Rosetta instead
- Output Rosetta 2 usage in `brew config` on ARM (whether in Rosetta 2 or not)
- Check the architecture of (newly installed) dependencies and ensure they are using the correct architecture.
- Don't allow installing macOS Intel Homebrew in macOS ARM Homebrew default prefix (and vice versa
- Actually write out the architecture of dependencies to the tab rather than generating and throwing them away
- Set and document the expected default prefix for macOS Intel Homebrew, macOS ARM Homebrew (`/opt/homebrew`) and Homebrew on Linux

While we're here:
- Don't say Big Sur is a prerelease version but still make it clear we
  don't support it (yet).
- Don't reference non-existent IRC channel
2020-11-12 17:06:47 +00:00
Francois-Xavier Coudert
4665bb8e66 keg: add codesigning 2020-11-12 09:27:07 +01:00
Jonathan Chang
ab7b757400 rubocop: fix Style/NegatedIfElseCondition 2020-11-10 23:28:31 +11:00
EricFromCanada
3768b7a6e9 apidoc: update comment wording, punctuation, formatting 2020-11-06 00:21:02 -05:00
EricFromCanada
d293431b87 apidoc: update URLs 2020-11-05 23:50:55 -05:00
Jonathan Chang
c4eaa387ff mac/xcode: version bumps for Xcode 12.1 and 11.3.1 2020-10-27 21:37:04 +11:00
Markus Reiter
bf7fe45e89
Merge pull request #8896 from reitermarkus/sorbet-inline
Inline type annotations.
2020-10-13 10:40:53 +02:00
Markus Reiter
6ea9b32f70 Fix version comparison in SDK#latest_sdk. 2020-10-12 04:35:53 +02:00
Markus Reiter
61b79318ed Move include Kernel into .rbi files again and split up existing .rbi files. 2020-10-10 19:10:58 +02:00
Markus Reiter
24ae318a3d Move type annotations into files. 2020-10-10 14:59:39 +02:00
Markus Reiter
90d70ad932 Refactor OS::Mac::Version. 2020-10-05 15:58:17 +02:00
Jonathan Chang
7c326b55f4 os/mac: updates for Xcode 12 2020-10-03 23:53:32 +10:00
Mike McQuaid
9943b3e80a
xquartz: unprivate prefix.
This is breaking stuff:
https://github.com/Homebrew/homebrew-core/pull/61156/checks?check_run_id=1118574438#step:4:48
2020-09-15 17:24:29 +01:00
Mike McQuaid
3923d331de
Fix brew style 2020-09-15 13:39:06 +01:00
Mike McQuaid
d2dcc41717 os/linux: add more Xcode stubs.
Saw these on a random user report.
2020-09-01 12:49:19 +01:00
rmnull
0dcfdbe0eb
enable patchelf.rb writing for devs. 2020-08-29 00:45:25 +05:30
rmnull
649e02ba3d
patchelf.rb writing in ELFShim 2020-08-27 22:50:34 +05:30
Markus Reiter
5410701eff Document OS::Mac and OS::Linux. 2020-08-26 03:13:59 +02:00
Markus Reiter
07365b9ad0 Document CLT. 2020-08-26 03:13:59 +02:00
Markus Reiter
aac0151132 Document Xcode. 2020-08-26 03:13:59 +02:00
Markus Reiter
e3d78de5f1 Document Mac::Version. 2020-08-26 03:13:59 +02:00
Markus Reiter
3efaf89787 Document SDK. 2020-08-26 03:13:59 +02:00
Markus Reiter
390deeb5ac Document MachOShim. 2020-08-26 03:13:59 +02:00
Markus Reiter
f7cb6a95b6 Document Kernel. 2020-08-26 03:13:59 +02:00
Markus Reiter
6f0f8bd574 Document Glibc. 2020-08-26 03:13:59 +02:00