Mike McQuaid
1d5e354cc2
Merge pull request #9347 from maxim-belkin/amd_cpus
...
Identify AMD CPUs on Linux
2020-12-01 12:47:26 +00:00
Mike McQuaid
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
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
6e20d27582
Remove some unneeded require
s.
2020-11-30 00:49:14 +01:00
Markus Reiter
580d915cb4
Add type signatures for Pathname
extensions.
2020-11-29 21:23:55 +01:00
Markus Reiter
5be4c9b5e0
Upgrade typed
sigils.
2020-11-25 17:04:19 +01:00
Mike McQuaid
9bd312bab2
Merge pull request #9267 from reitermarkus/macos-version-11.1
...
Handle macOS versions >= 11.1 correctly.
2020-11-25 14:36:01 +00:00
Mike McQuaid
f364f0c841
Merge remote-tracking branch 'origin/master' into deprecate-cask-commands
2020-11-25 09:39:00 +00:00
Mike McQuaid
d496f5c121
Deprecations for Homebrew 2.6.0
...
Do the usual deprecate/disable dance for the Homebrew 2.6.0 release.
Not to be merged until the next release will definitely be 2.6.0.
2020-11-24 16:44:02 +00:00
Markus Reiter
469bd59392
Merge pull request #9253 from reitermarkus/env-types
...
Add types for `ENV` extensions.
2020-11-24 09:16:26 +01:00
Markus Reiter
8598b1186a
Handle macOS versions >= 11.1 correctly.
2020-11-23 13:46:15 +01:00
Markus Reiter
0424940496
Add types for ENV
extensions.
2020-11-23 02:06:37 +01:00
Felix Bünemann
f16163c144
Better check for Rosetta 2
...
This uses the syctl.proc_translated sysctl, which is the Apple
documented way to check for Rosetta 2 environment.
2020-11-22 00:43:03 +01:00
Markus Reiter
3c2ec1c60f
Deprecate remaining cask commands.
2020-11-21 19:56:12 +01:00
Mike McQuaid
3c4d12a5d5
extend/os/mac/diagnostic: add more Xcode/CLT update instructions.
...
Addresses issue mentioned in #9215 .
2020-11-20 13:30:00 +00:00
Jonathan Chang
5a97c08ab3
java: only disable java version ranges on Big Sur
2020-11-20 13:57:11 +11:00
Mike McQuaid
35db40fe25
Disable Java requirement versions on Big Sur
...
It would be possible to work around this but I'm not convinced it's
worth it given https://github.com/Homebrew/homebrew-core/issues/63290
Fixes #9194
2020-11-19 14:03:57 +00:00
Mike McQuaid
74264b8582
Big Sur cleanup
...
Remove `HOMEBREW_BIG_SUR_TESTING` variable as it is no longer needed.
2020-11-18 10:15:53 +00:00
Markus Reiter
f87c9c5dc4
Fix tests failing locally.
2020-11-18 05:54:42 +01:00
Markus Reiter
0184e271d8
Fix RuboCop offenses.
2020-11-17 11:09:55 +01:00
Rylan Polster
dda0dc72a7
format note comments
2020-11-16 02:02:52 +01:00
Markus Reiter
da9289eff0
Add more type signatures.
2020-11-13 12:26:36 +01: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
Jonathan Chang
cc3345577f
unpack_strategy/zip: widen type of super call
2020-11-11 00:13:28 +11:00
Jonathan Chang
215a84e328
rubocop: fix Style/DocumentDynamicEvalDefinition
2020-11-10 23:28:31 +11:00
Jonathan Chang
500908ee6f
rubocop: fix Lint/NoReturnInBeginEndBlocks
2020-11-10 23:28:31 +11:00
Jonathan Chang
ab7b757400
rubocop: fix Style/NegatedIfElseCondition
2020-11-10 23:28:31 +11:00
Mike McQuaid
9ad37ddc36
Revert "uses_from_macos: fix force_homebrew_on_linux behaviour."
2020-11-09 16:26:09 +00:00
Mike McQuaid
a867e78f62
uses_from_macos: fix force_homebrew_on_linux behaviour.
...
Otherwise the dependencies are read incorrectly on Linux when we're
trying to analyse Homebrew.
2020-11-09 15:23:35 +00:00
Mike McQuaid
3543d69373
Merge pull request #9010 from MikeMcQuaid/github_actions_big_sur
...
workflows/tests: use Big Sur.
2020-11-06 15:56:12 +00:00
Mike McQuaid
6b27dcb11c
workflows/tests: use Big Sur.
...
Migrate GitHub Actions to Big Sur.
2020-11-06 15:11:33 +00:00
Mike McQuaid
3bea3a6953
Merge pull request #9055 from EricFromCanada/apidoc-improvements
...
Launder comments for improved rubydoc output
2020-11-06 09:45:42 +00:00
Jonathan Chang
65ae58282f
Fix type inference error
...
Tapioca doesn't like identical argument names.
2020-11-06 17:54:34 +11:00
EricFromCanada
3768b7a6e9
apidoc: update comment wording, punctuation, formatting
2020-11-06 00:21:02 -05:00
EricFromCanada
dddfbf80fc
apidoc: add/update yard tags
2020-11-06 00:16:35 -05:00
EricFromCanada
d293431b87
apidoc: update URLs
2020-11-05 23:50:55 -05:00
Michka Popoff
084f2e75eb
Merge pull request #8907 from iMichka/onlinux
...
formula: add on_linux and on_macos blocks
2020-11-03 23:30:37 +01:00
Michka Popoff
8b85ef2e88
formula: add on_linux and on_macos blocks
...
for install and others
2020-11-03 22:54:07 +01:00
EricFromCanada
212367c1c0
requirements: reword error messages for consistency
...
also add formatting to download URLs
2020-11-01 15:20:02 -05:00
Jonathan Chang
55dc8bbada
Fix strict typecheck errors.
2020-10-29 20:39:49 +11:00
Michka Popoff
3aec8a0398
xcode_requirement: support linux
...
2020-10-12T21:29:03.7866574Z [31mError:[0m undefined method `latest_version' for OS::Mac::Xcode:Module
2020-10-12T21:29:03.7867686Z /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/requirements/xcode_requirement.rb:33:in `message'
2020-10-12T21:29:03.7868902Z /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-test-bot/lib/tests/formulae.rb:199:in `map'
2020-10-12T21:29:03.7870227Z /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-test-bot/lib/tests/formulae.rb:199:in `satisfied_requirements?'
2020-10-12T21:29:03.7871547Z /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-test-bot/lib/tests/formulae.rb:593:in `formula!'
2020-10-12T21:29:03.7873156Z /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-test-bot/lib/tests/formulae.rb:20:in `block in run!'
2020-10-12T21:29:03.7875029Z /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-test-bot/lib/tests/formulae.rb:19:in `each'
2020-10-12T21:29:03.7876299Z /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-test-bot/lib/tests/formulae.rb:19:in `run!'
2020-10-12T21:29:03.7877495Z /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-test-bot/lib/test_runner.rb:119:in `run_tests'
2020-10-12T21:29:03.7878705Z /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-test-bot/lib/test_runner.rb:36:in `block in run!'
2020-10-12T21:29:03.7879908Z /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/delegate.rb:83:in `each'
2020-10-12T21:29:03.7881136Z /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/delegate.rb:83:in `method_missing'
2020-10-12T21:29:03.7882519Z /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-test-bot/lib/test_runner.rb:25:in `run!'
2020-10-12T21:29:03.7883735Z /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-test-bot/lib/test_bot.rb:126:in `run!'
2020-10-12T21:29:03.7884875Z /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-test-bot/cmd/test-bot.rb:75:in `test_bot'
2020-10-12T21:29:03.7885882Z /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb:119:in `<main>'
2020-10-26 22:22:16 +01:00
Markus Reiter
ab33bc638d
Add type signatures for UnpackStrategy::Zip
.
2020-10-20 09:50:21 +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
318091cccc
Move StringInreplaceExtension
into separate file.
2020-10-10 15:06:19 +02:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Markus Reiter
c2a0ba8e87
Enable rubocop-sorbet
.
2020-10-09 16:45:13 +02:00
Markus Reiter
e3646c9b4e
Remove unneeded back-references.
2020-09-19 02:03:56 +02:00