1187 Commits

Author SHA1 Message Date
Markus Reiter
a014f65e41 Fix type checking errors. 2020-11-18 04:21:41 +01:00
BrewTestBot
c74d8434d6 sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2020-11-18 04:16:22 +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
BrewTestBot
c1c8bda3ed sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2020-11-12 00:38:14 +00:00
Markus Reiter
5bc626bbe1 Completely deprecate Homebrew.args. 2020-11-11 08:52:55 +01:00
BrewTestBot
e9be4cb83d sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2020-11-11 00:34:08 +00:00
BrewTestBot
d73a0e3040 sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2020-11-09 00:42:36 +00:00
BrewTestBot
763e761a20 sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2020-11-06 08:02:09 +00:00
Jonathan Chang
2c68f317ff Update RBI definitions. 2020-11-06 17:58:29 +11:00
BrewTestBot
75e2f1a2a9 sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2020-10-27 01:00:30 +00:00
BrewTestBot
392f2e3a5c sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2020-10-22 00:58:31 +00:00
BrewTestBot
4f7497ddf9 sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2020-10-21 00:57:15 +00:00
Markus Reiter
ab33bc638d Add type signatures for UnpackStrategy::Zip. 2020-10-20 09:50:21 +02:00
BrewTestBot
2f8b787701 sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2020-10-15 00:55:49 +00:00
BrewTestBot
dfaa98b676 sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2020-10-14 00:55:26 +00:00
BrewTestBot
5e0998d2ce sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2020-10-13 11:30:12 +00:00
Markus Reiter
bf7fe45e89
Merge pull request #8896 from reitermarkus/sorbet-inline
Inline type annotations.
2020-10-13 10:40:53 +02:00
BrewTestBot
d7dad10771 sorbet: Update RBI files and prune files.yaml.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml).
2020-10-11 00:56:30 +00: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
4382ee9d14 Remove files.yaml for Sorbet. 2020-10-10 19:10:58 +02:00
Markus Reiter
d5e600e3af Remove unknown Homebrew::Error class. 2020-10-10 16:06:48 +02:00
Markus Reiter
e20c982d1a Inline utils.rbi. 2020-10-10 15:53:33 +02:00
Markus Reiter
059122c724 Inline type annotations for User. 2020-10-10 15:53:14 +02:00
Markus Reiter
fc7a34585f Inline type annotations for Tty. 2020-10-10 15:49:18 +02:00
Markus Reiter
e1e9f2d9bd Inline type annotations for Utils::Svn. 2020-10-10 15:35:20 +02:00
Markus Reiter
12e173cd50 Inline type annotations for SPDX. 2020-10-10 15:33:15 +02:00
Markus Reiter
8fabc56a22 Inline type annotations for Utils::Shell. 2020-10-10 15:31:32 +02:00
Markus Reiter
ff653571b1 Create Utils::Curl module and explicitly include it. 2020-10-10 15:23:03 +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
fb9aafbb08
Merge pull request #8781 from reitermarkus/rubocop-sorbet
Add and vendor `rubocop-sorbet` and `sorbet-runtime-stub`.
2020-10-10 10:30:31 +02:00
BrewTestBot
aead44947c sorbet: Update RBI files and prune files.yaml.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml).
2020-10-10 00:53:54 +00:00
Markus Reiter
5660947b5e Don't typecheck /test/.gem. 2020-10-09 16:45:13 +02:00
Markus Reiter
c2a0ba8e87 Enable rubocop-sorbet. 2020-10-09 16:45:13 +02:00
Markus Reiter
17544fc275 Replace usage of DelegateClass with SimpleDelegator. 2020-10-09 16:45:13 +02:00
BrewTestBot
a8629dcda0 sorbet: Update RBI files and prune files.yaml.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml).
2020-10-07 00:52:51 +00:00
Issy Long
469bcb25a0
sorbet: Start typechecking install.rb and reinstall.rb 2020-10-06 21:22:35 +01:00
BrewTestBot
5645f79b7a sorbet: Update RBI files and prune files.yaml.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml).
2020-10-05 00:53:04 +00:00
BrewTestBot
b3d12361ac sorbet: Update RBI files and prune files.yaml.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml).
2020-09-30 00:50:09 +00:00
BrewTestBot
87b05a9be2 sorbet: Update RBI files and prune files.yaml.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml).
2020-09-22 00:48:51 +00:00
BrewTestBot
4aa11717ae sorbet: update RBI files using Tapioca.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
2020-09-21 00:45:25 +00:00
Issy Long
cb027474f5
Merge pull request #8774 from reitermarkus/sorbet-fixes
Fix some typechecking errors.
2020-09-19 09:24:45 +01:00
Markus Reiter
cc3eceb04f Fix inreplace signature. 2020-09-19 02:03:56 +02:00
Issy Long
191a82d4eb
sorbet/files.yaml: Merge the two false lists into one
- I've been asked a couple of times now what the two different `false:`
  lists mean. And the answer is "nothing". So to avoid confusion (and to
  stop my YAML linter moaning about duplicate keys), merge the two lists
  and re-alphabetize.
2020-09-18 21:57:02 +01:00
Issy Long
7ecb73f9da
sorbet/files.yaml: Preserve newline at EOF 2020-09-18 14:59:04 +01:00
BrewTestBot
e03a1b822c sorbet: update RBI files using Tapioca.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
2020-09-18 12:07:30 +00:00
BrewTestBot
5a8cc37a9c sorbet: update RBI files using Tapioca.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
2020-09-17 00:42:59 +00:00
BrewTestBot
875696de1b sorbet: update RBI files using Tapioca.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
2020-09-16 00:42:18 +00:00
Mike McQuaid
828eb0b690
tapioca sync 2020-09-15 13:04:15 +01:00
BrewTestBot
5f0a55a199 sorbet: update RBI files using Tapioca.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
2020-09-15 00:43:09 +00:00