William Ma
4c36cf2e8e
cmd/info: Add --json=v2 for outputing formula and cask json
2020-10-10 16:34:01 -04:00
Rylan Polster
40e4b38d05
style: python versions must match python dependency
2020-10-10 13:59:20 -04: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
e509b1317e
Fix svn_spec.
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
William Ma
9a8f4c7c96
cmd/info: Add support for casks
2020-10-09 19:57:48 -04: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