19338 Commits

Author SHA1 Message Date
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
Markus Reiter
2ee30b8067 Refactor MinNamedArgumentsError and MaxNamedArgumentsError. 2020-10-08 11:06:04 +02:00
Mike McQuaid
588f5f1713
Merge pull request #8875 from reitermarkus/cask-install-taps
Fix installing taps in `brew install`.
2020-10-07 14:22:11 +01:00
Markus Reiter
ccb271bee4
Merge pull request #8859 from reitermarkus/macos-version
Refactor `OS::Mac::Version`.
2020-10-07 12:18:53 +02:00
Markus Reiter
9f40945c87 Fix installing taps in brew install.
Partially reverts f54b458cdaec5091cf7abfa3e09e9050a94a4a26.
2020-10-07 12:12:10 +02:00
FX Coudert
bd8eba8a81
Merge pull request #8873 from Rylan12/homebrew-virtualenv-version-20
virtualenv: use version 20 to support Python 3.9
2020-10-07 10:35:33 +02:00
Rylan Polster
0109ce58be update references to homebrew-virtualenv resources 2020-10-06 23:39:52 -04:00
Rylan Polster
43648100b4 virtualenv: use version 20 to support Python 3.9 2020-10-06 22:27:52 -04: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
dependabot[bot]
db66c30642
build(deps): bump sorbet from 0.5.5923 to 0.5.5935 in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.5923 to 0.5.5935.
- [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-06 14:15:28 +00:00
Vidushee Amoli
2ecdf8445a
Merge pull request #8857 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-runtime-0.5.5933 2020-10-06 19:44:34 +05:30
Rylan Polster
6a4a30e434
Merge pull request #8862 from Rylan12/fix-multiline-license-style
style: allow license exceptions to be on one line
2020-10-06 09:21:40 -04:00
Mike McQuaid
95cd1de2a5
HOMEBREW_NO_CHECK_INSTALLED_DEPENDENTS: add variable.
Add an opt-out of this behaviour.
2020-10-06 10:50:51 +01:00
Miccal Matthews
03586958ca
Merge pull request #8863 from miccal/shared-audits-update
shared_audits: add home-assistant to GITHUB_PRERELEASE_ALLOWLIST
2020-10-06 12:10:19 +08:00
Dustin Rodrigues
ea57ef794e audit: remove python 3.9 from unstable allowlist 2020-10-05 20:49:40 -04:00
miccal
41fe6b5e7c shared_audits: add home-assistant to GITHUB_PRERELEASE_ALLOWLIST 2020-10-06 06:05:50 +08:00
Rylan Polster
38cedb9013 style: allow license exceptions to be on one line 2020-10-05 16:23:52 -04:00