21580 Commits

Author SHA1 Message Date
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
8e69122b29
Merge pull request #7879 from MikeMcQuaid/bottle-extract-fetch
Bottle extract and fetch fixes
2020-07-02 12:44:56 +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
9c4c6e7ae9
Merge pull request #7828 from MikeMcQuaid/codecov
Use CodeCov for coverage reporting.
2020-07-02 11:09:34 +01:00
Mike McQuaid
170b38892a
Use CodeCov for coverage reporting. 2020-07-02 10:22:54 +01:00
Mike McQuaid
3a23d07356
Merge pull request #7869 from Moisan/bottle_publish_failed_doc
docs/Common-Issues-for-Core-Contributors: add steps to fix failed bottle publish
2020-07-02 09:54:15 +01:00
Mike McQuaid
341dccef62
Merge pull request #7872 from Homebrew/dependabot/bundler/Library/Homebrew/diff-lcs-1.4.4
build(deps): bump diff-lcs from 1.4.3 to 1.4.4 in /Library/Homebrew
2020-07-02 09:48:44 +01:00
Mike McQuaid
c69d97aaa5
Merge pull request #7877 from Homebrew/revert-7874-disable-license-check-for-new-formulae
Revert "disable license check for new formulae"
2.4.3
2020-07-02 09:46:26 +01:00
Mike McQuaid
97f68e6a3a
Revert "disable license check for new formulae" 2020-07-02 09:04:58 +01:00
Bo Anderson
0e3f22e1df dev-cmd/bottle: fix positioning of bottle block in some cases 2020-07-01 23:51:23 +01:00
Bo Anderson
05a7a2ccc8
Merge pull request #7874 from chenrui333/disable-license-check-for-new-formulae
disable license check for new formulae
2020-07-01 23:18:10 +01:00
Rui Chen
8ff1ca644d disable license check for new formulae
return when license is blank

Co-authored-by: Bo Anderson <mail@boanderson.me>
2020-07-01 17:22:07 -04: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
Thierry Moisan
433d3a327b
docs/Common-Issues-for-Core-Contributors: add steps to fix failed bottle publish 2020-07-01 14:29:09 -04: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
Dawid Dziurla
73a220aba6
Merge pull request #7868 from jonchang/pr-upload-warn-on-publish-failure
pr-pull, pr-upload: add --warn-on-upload-failure
2020-07-01 16:42:25 +02: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
Mike McQuaid
8c8f2df85f
Merge pull request #7762 from MLH-Fellowship/license
License
2020-07-01 09:27:51 +01: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
Lionell Loh Jian An
5b3530b23d
Apply suggestions from code review
Code review changes

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-06-30 22:11:36 +08:00
lionellloh
ff95f08591 audit test: modified code for reading json file 2020-06-30 22:08:36 +08:00
lionellloh
c50f7b8951 Revert "curl: modified curl to allow optional print_stdout"
This reverts commit 02bc870e915f88145761b11d2065d8f2964c50ba.
2020-06-30 21:58:40 +08:00