24019 Commits

Author SHA1 Message Date
Markus Reiter
6c1974d460
Merge pull request #8891 from Homebrew/dependabot/bundler/Library/Homebrew/codecov-0.2.12
build(deps): bump codecov from 0.2.11 to 0.2.12 in /Library/Homebrew
2020-10-09 23:49:58 +02: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
dependabot[bot]
5a5705aef8
build(deps-dev): bump github-pages from 208 to 209 in /docs
Bumps [github-pages](https://github.com/github/pages-gem) from 208 to 209.
- [Release notes](https://github.com/github/pages-gem/releases)
- [Commits](https://github.com/github/pages-gem/compare/v208...v209)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-09 21:21:26 +00:00
Markus Reiter
8495361557
Merge pull request #8887 from reitermarkus/dependabot
Fix `dependabot.yml`.
2020-10-09 23:17:47 +02:00
Markus Reiter
117ae2c068 Remove redundant check for sorbet-runtime. 2020-10-09 18:00:30 +02:00
Markus Reiter
3b32e18d0c Fix dependabot.yml. 2020-10-09 17:18:15 +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
bbea2d840d Run brew typecheck without --quiet on CI. 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
90b92301ae
Merge pull request #8888 from MikeMcQuaid/audit-versioned-conflicts
audit: allow Linux checking Homebrew dependencies.
2020-10-09 13:39:02 +01: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
Mike McQuaid
d8e11cd5f6
Merge pull request #8881 from whoiswillma/william/fix-cask-info-github-error
cask/cmd/info.rb: Fix crash when running `brew cask info --github`
2020-10-09 09:51:57 +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
2.5.5
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
Mike McQuaid
c31ce96066
Merge pull request #8879 from aktriver/fix-fish-completion
Fix running deprecated command in fish completion
2020-10-08 16:47:34 +01:00
Shuhei Akutagawa
8a30a59d5a Update command "brew cask list -1" to "brew list --cask -1" in fish completion file 2020-10-09 00:03:29 +09:00
Markus Reiter
f84b9a0275
Merge pull request #8878 from reitermarkus/upgrade-casks
Force `brew upgrade` to treat arguments as casks if `--cask` is passed.
2020-10-08 14:18:46 +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
c9e2a06ff5
Merge pull request #8813 from reitermarkus/cask-commands
Allow all cask options for `brew reinstall` and `brew upgrade`.
2020-10-08 12:00:07 +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
Dawid Dziurla
0732a86a24
Merge pull request #8877 from lsparlin/lsparlin-patch-zsh-completion
Bug fix _brew_upgrade zsh completion function
2020-10-07 18:54:24 +02:00
Lewis Sparlin
4016e746cd
Fix _brew_upgrade completion function
I found an error that was breaking my `brew upgrade ...` zsh completion
2020-10-07 11:21:34 -05:00
Mike McQuaid
588f5f1713
Merge pull request #8875 from reitermarkus/cask-install-taps
Fix installing taps in `brew install`.
2.5.4
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