19636 Commits
Author SHA1 Message Date
Rylan Polster abf214c01f Merge pull request #8897 from Rylan12/style-python-version
style: python versions must match python dependency
2020-10-12 08:22:39 -04:00
Jonathan Chang 84930afb0a Merge pull request #8906 from jonchang/tweak-signoff
pr-pull: clean up review signoff trailer code
2020-10-12 22:11:31 +11:00
Jonathan Chang e7b65c62a0 pr-pull: clean up review signoff trailer code 2020-10-12 21:44:13 +11:00
Mike McQuaid e9987cd304 Merge pull request #8904 from MikeMcQuaid/shellenv-brew.sh
brew.sh: reorder to speedup shellenv.
2020-10-12 09:50:33 +01:00
Mike McQuaid 114b9d97c0 Merge pull request #8902 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.5943
build(deps): bump sorbet from 0.5.5942 to 0.5.5943 in /Library/Homebrew
2020-10-12 09:40:35 +01:00
Dawid Dziurla ffe7f2a8da Merge pull request #7925 from dawidd6/dev-cmd-bottle
dev-cmd: add dispatch-build-bottle command
2020-10-12 10:33:43 +02:00
Mike McQuaid 7bbc159450 brew.sh: reorder to speedup shellenv.
Reorder and restructure this file to make it as fast as possible for
e.g. `brew --prefix`. Once we have that, also give `brew shellenv`
short-circuit command execution to make it as fast as possible.

On my machine (with a warm cache) this gets:

```
brew shellenv  0.01s user 0.03s system 100% cpu 0.038 total
```

Compared to:

```
brew shellenv  0.09s user 0.19s system 100% cpu 0.277 total
```

before this commit.
2020-10-12 09:23:49 +01:00
dependabot[bot] d3c32923e1 build(deps): bump sorbet from 0.5.5942 to 0.5.5943 in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.5942 to 0.5.5943.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-12 08:14:15 +00:00
Mike McQuaid bca44287f8 Merge pull request #8903 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-runtime-0.5.5943
build(deps): bump sorbet-runtime from 0.5.5942 to 0.5.5943 in /Library/Homebrew
2020-10-12 09:13:34 +01:00
dependabot[bot] 2e1733f9c9 build(deps): bump sorbet-runtime in /Library/Homebrew
Bumps [sorbet-runtime](https://github.com/sorbet/sorbet) from 0.5.5942 to 0.5.5943.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-12 07:01:15 +00:00
Markus Reiter 6ea9b32f70 Fix version comparison in SDK#latest_sdk. 2020-10-12 04:35:53 +02:00
Rylan Polster 3b944434cf style: allow python versions with two digits 2020-10-11 09:46:14 -04:00
Dawid Dziurla 3095fbc8ec dev-cmd: add dispatch-build-bottle command 2020-10-11 13:00:15 +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
Rylan Polster 40e4b38d05 style: python versions must match python dependency 2020-10-10 13:59:20 -04: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
dependabot[bot] 9862343832 build(deps): bump codecov from 0.2.11 to 0.2.12 in /Library/Homebrew
Bumps [codecov](https://github.com/codecov/codecov-ruby) from 0.2.11 to 0.2.12.
- [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.2.11...v0.2.12)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-09 21:22:42 +00:00
Markus Reiter 117ae2c068 Remove redundant check for sorbet-runtime. 2020-10-09 18:00:30 +02:00
Markus Reiter 5660947b5e Don't typecheck /test/.gem. 2020-10-09 16:45:13 +02:00
Markus Reiter d36df37099 Replace custom stubs with sorbet-runtime-stub. 2020-10-09 16:45:13 +02:00
Markus Reiter 772a45e758 Vendor sorbet-runtime-stub. 2020-10-09 16:45:13 +02:00
Markus Reiter c74d54411b Add tc alias for typecheck. 2020-10-09 16:45:13 +02:00
Markus Reiter 6f7b7cc699 Fix type-checking for URL. 2020-10-09 16:45:13 +02:00
Markus Reiter ec5eb56a72 Add stubs for sorbet-runtime. 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
Markus Reiter f27d7a21d7 Vendor rubocop-sorbet. 2020-10-09 16:45:13 +02:00
Mike McQuaid e60e41d548 audit: allow Linux checking Homebrew dependencies.
This applies to linuxbrew-core rather than Linux, really.
2020-10-09 13:06:09 +01:00
Mike McQuaid 74d7281873 Merge pull request #8884 from MikeMcQuaid/audit-versioned-conflicts
audit: check versioned dependency conflicts.
2020-10-09 12:50:38 +01:00
Mike McQuaid 548c6ef62d audit: check versioned dependency conflicts.
We don't want to have a formula depending on e.g. both `python@3.8` and
`python@3.9` in the same dependency tree (generally).

As this isn't a blanket rule: add an allowlist with the expectation that
we'll need to use it.
2020-10-09 12:14:47 +01:00
Markus Reiter 4c8c80c770 Merge pull request #8882 from reitermarkus/gems
Update vendored gems.
2020-10-09 11:44:10 +02:00
Mike McQuaid cfd4870247 Merge pull request #8883 from MikeMcQuaid/no-shallow
Reduce shallow clone usage
2020-10-09 10:35:19 +01:00
Markus Reiter b4e8bfe716 Fix RuboCop offenses. 2020-10-09 11:17:55 +02:00
Markus Reiter 2c893b94fa Update vendored gems. 2020-10-09 11:17:55 +02:00
Mike McQuaid 2bdf3deb6f Reduce shallow clone usage
GitHub has requested we request our usage of shallow clones. As a
result:

- do default to shallow clones on CI
- do not do --shallow-since when setting up new repositories in
  `brew update`
- do not support shallow clones of homebrew-core at all

We may consider in future unshallowing all clones unconditionally.
2020-10-09 09:57:04 +01:00
William Ma 24260e7d82 cask/cmd/info: Fix crash when using --github with a formula 2020-10-08 21:46:40 -04:00
Michka Popoff 0c7a7188c1 Merge pull request #8880 from iMichka/brew-pth
python: do not add main brewed Python site-package to virtualenv
2020-10-08 22:23:20 +02:00
Michka Popoff ddc73ffa0c python: do not add main brewed Python site-package to virtualenv
If added, this makes the virtualenv read the main site-package from brewed Python,
and especially makes it read our sitecustomize.py file, which will
modify the sys.executable path.

See the full discussion at:
https://github.com/Homebrew/brew/pull/8873

I also took the opportunity to not include test deps, as these will
be not be installed, so the .pth file should not contains references
to site-packages from test deps.

Previous packages on Linux did already contain the wrong lines in the pth file,
for example:
cat /home/linuxbrew/.linuxbrew/Cellar/aws-google-auth/0.0.36_1/libexec/lib/python3.8/site-packages/homebrew_deps.pth
import site; site.addsitedir('/home/linuxbrew/.linuxbrew/opt/python@3.8/lib/python3.8/site-packages')
import site; site.addsitedir('/home/linuxbrew/.linuxbrew/opt/libxml2/lib/python3.8/site-packages')

This might have caused subtle bugs for some packages but not for others.
2020-10-08 19:03:51 +02:00
Markus Reiter e117a68f42 Force brew upgrade to treat arguments as casks if --cask is passed. 2020-10-08 13:43:15 +02:00
Markus Reiter 10e3b63b7b Inline install, reinstall and upgrade options. 2020-10-08 11:33:38 +02:00
Markus Reiter d6b563e752 Support min_named :formula_or_cask. 2020-10-08 11:12:17 +02:00
Markus Reiter 7743fed77b Add “GLOBAL CASK OPTIONS” section to man page. 2020-10-08 11:07:35 +02:00
Markus Reiter 727d854621 Add missing variable. 2020-10-08 11:07:35 +02:00
Markus Reiter 7f14e55f99 Add missing cask options to brew upgrade. 2020-10-08 11:07:35 +02:00
Markus Reiter 994e95e356 Refactor usage of NamedArgs in brew install. 2020-10-08 11:07:35 +02:00
Markus Reiter e40eece17b Add cask options to brew reinstall. 2020-10-08 11:06:04 +02:00
Markus Reiter 16d5596fbd Fix code style. 2020-10-08 11:06:04 +02:00
Markus Reiter d443d9ab75 Include cask in brew reinstall help text. 2020-10-08 11:06:04 +02:00
Markus Reiter 67519d487a Include cask in brew install help text. 2020-10-08 11:06:04 +02:00