17107 Commits

Author SHA1 Message Date
vidusheeamoli
eef039ff41 sorbet: update hidden definitions 2020-07-03 11:52:15 +05:30
vidusheeamoli
59abfed56d srb/tapioca: update rbi of recently bumped gems 2020-07-03 11:52:15 +05:30
vidusheeamoli
3fb00315e7 sorbet/files.yaml: add new files 2020-07-03 11:52:15 +05:30
Markus Reiter
71171f9cb0 Use atomic_write instead of deleting and writing file. 2020-07-03 04:35:42 +02:00
Issy Long
6d27367c7e
Merge pull request #7887 from vidusheeamoli/set-utils-files-to-true
sorbet/files.yaml: set utils files to true
2020-07-02 21:19:25 +01:00
William Ma
1826be81f2 style: Replace Hash.new with {} 2020-07-02 15:29:58 -04:00
William Ma
eb1ea006f2 uninstall: Refactor when using --force 2020-07-02 15:28:41 -04:00
vidusheeamoli
5fe38ad7a0 srb: set utils files to true
Set utils/bottles.rb, utils/shell.rb and utils/svn.rb to true so that
type errors in these files may be reported by Sorbet

(cherry picked from commit fd3db131b0da78169fdff2031180a2bebe3cbb84)
2020-07-03 00:51:08 +05:30
William Ma
3459931a8d Merge branch 'master' into integrate-uninstall-reinstall 2020-07-02 15:13:10 -04:00
William Ma
26d7dd7c18 uninstall: remove tests 2020-07-02 15:04:55 -04:00
Bo Anderson
76e328f21a data/spdx.json: update 2020-07-02 18:59:22 +01:00
Bo Anderson
4411764aa1 dev-cmd/update-license-data: don't use partial downloading 2020-07-02 18:59:10 +01:00
Bo Anderson
997ba42a4b utils/curl: support disabling partial downloads in curl_download 2020-07-02 18:58:32 +01:00
Bo Anderson
2970d2e4f9 dev-cmd/update-license-data: fix --fail-if-changed 2020-07-02 18:58:00 +01:00
Bo Anderson
c1cbf1a1cb
Merge pull request #7875 from Bo98/license-bottle-block
dev-cmd/bottle: fix positioning of bottle block in some cases
2020-07-02 18:11:08 +01:00
Mike McQuaid
9fc0799d5e
Merge pull request #7880 from MikeMcQuaid/check_dependents_install_reinstall
Check installed dependents on install and reinstall
2020-07-02 13:30:29 +01:00
Mike McQuaid
ab20d1c262
Merge pull request #7881 from MikeMcQuaid/codecov-yml
Add CodeCov YAML file.
2020-07-02 13:30:13 +01:00
Mike McQuaid
2c133a3d45
Check installed dependents on install and reinstall
It's not sufficient to do this merely on `brew upgrade` because
`brew install` and `brew reinstall` can also result in formulae being
upgraded.

This requires moving logic from `cmd/upgrade.rb` to `upgrade.rb`. To
save you searching the diff the changes that resulted from doing that:

- Query the installed formulae from class state in `FormulaInstaller`
  rather than the (incomplete) list that we passed into it.
- Don't output the "Checking dependents" message. It was there for
  systems and configurations where this is slow but for most users
  and most installations this will be a (annoying, noisy) no-op.

Fixes https://github.com/Homebrew/brew/issues/7860
2020-07-02 12:53:52 +01:00
Mike McQuaid
14ed1adb6c
Add CodeCov YAML file.
This should make the output and statuses a bit more friendly.
2020-07-02 12:50:56 +01:00
Mike McQuaid
7b20bde25a
Merge pull request #7878 from vidusheeamoli/move-utils-to-true
sorbet/files.yaml: set utils/tty.rb to true
2020-07-02 12:45:32 +01:00
Mike McQuaid
7596108bd2
Bottle extract and fetch fixes
- Make `brew extract` strip out bottle blocks
- Make `brew extract` output the path in a readable fashion
- Warn about building from source before fetching (not installing)
- If fetching a bottle fails, refetch and build from source.
2020-07-02 11:57:11 +01:00
vidusheeamoli
89605d2c6f sorbet/files.yaml: set utils/tty.rb to true 2020-07-02 16:05:54 +05:30
Mike McQuaid
170b38892a
Use CodeCov for coverage reporting. 2020-07-02 10:22:54 +01:00
Bo Anderson
0e3f22e1df dev-cmd/bottle: fix positioning of bottle block in some cases 2020-07-01 23:51:23 +01:00
dependabot-preview[bot]
e84b361458
build(deps): bump diff-lcs from 1.4.3 to 1.4.4 in /Library/Homebrew
Bumps [diff-lcs](https://github.com/halostatue/diff-lcs) from 1.4.3 to 1.4.4.
- [Release notes](https://github.com/halostatue/diff-lcs/releases)
- [Changelog](https://github.com/halostatue/diff-lcs/blob/master/History.md)
- [Commits](https://github.com/halostatue/diff-lcs/compare/v1.4.3...v1.4.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-01 18:31:53 +00:00
Mike McQuaid
1b1e3b449e
Merge pull request #7870 from Bo98/sdk-diag
Add SDK availability diagnostic
2020-07-01 17:34:09 +01:00
Bo Anderson
9297b18aa6 Add SDK availability diagnostic 2020-07-01 16:07:14 +01:00
Jonathan Chang
204e56d01e pr-pull, pr-upload: add --warn-on-upload-failure 2020-07-02 00:11:55 +10:00
Jonathan Chang
bd59b66c25 bintray: fail on upload and publish curl problems 2020-07-02 00:11:12 +10:00
Jonathan Chang
21c903c133 pr-pull, pr-upload: use safe_system to call brew 2020-07-01 23:59:07 +10:00
Jonathan Chang
7360d14f5c
Merge pull request #7866 from jonchang/github-email-scopes
github: need read-only email scope to see emails
2020-07-01 23:17:49 +10:00
Jonathan Chang
d16e699ed7 github: need read-only email scope to see emails 2020-07-01 22:25:53 +10:00
Mike McQuaid
4e10341277
Merge pull request #7752 from SMillerDev/cask/readall
Support casks in readall
2020-07-01 12:19:30 +01:00
Mike McQuaid
0166211ffd
integration_test: don't error on missing bin. 2020-07-01 11:55:42 +01:00
Mike McQuaid
7d53104c46
cmd/search_spec: split Linux/macOS tests. 2020-07-01 11:55:25 +01:00
Jonathan Chang
b57290b23f
Merge pull request #7844 from jonchang/signoff-approving-reviews
pr-pull: add commit message trailers for pull requests with approved reviews
2020-07-01 19:18:27 +10:00
Sean Molenaar
0315f64550
Merge pull request #7861 from Homebrew/SMillerDev-patch-1
Remove outdated suggestions from Formula#test doc
2020-07-01 11:07:14 +02:00
Sean Molenaar
a721d7bc8f
Remove outdated suggestions from Formula#test doc 2020-07-01 10:11:46 +02:00
William Ma
ac5f0c10e5 style: Dedent some autoformatted code in uninstall test case 2020-06-30 13:48:27 -04:00
William Ma
72dcbd6fda style: Dedent cask uninstall block 2020-06-30 13:43:45 -04:00
William Ma
bb939323a7 Merge branch 'master' into integrate-uninstall-reinstall 2020-06-30 13:33:06 -04:00
William Ma
f3ae2fdfdc reinstall: Replace with more specific imports 2020-06-30 13:22:21 -04:00
William Ma
dff61c9eab style: Fix style issues 2020-06-30 12:21:21 -04:00
William Ma
8a05b5258a args: Refactor to load casks directly 2020-06-30 12:08:03 -04:00
lionellloh
7358dd7bba style fixes 2020-06-30 23:25:51 +08:00
lionellloh
57e7e7d60e small fix: res -> response 2020-06-30 23:23:19 +08:00
lionellloh
1422542a07 components_order and test 2020-06-30 23:18:04 +08:00
Lionell
fb4db63e3b Merge branch 'master' into license 2020-06-30 22:25:17 +08:00
Rylan Polster
35a8c33690 Update shell metacharacter list 2020-06-30 10:18:49 -04:00
lionellloh
96d60c271a Merge remote-tracking branch 'mlh/license' into license 2020-06-30 22:12:03 +08:00