21656 Commits

Author SHA1 Message Date
Rui Chen
31aac4dfbb throttle gatsby-cli to every 10 rel on multiple of 10 2020-07-03 09:57:27 -04:00
Mike McQuaid
30121165d9
brew vendor-gems: commit updates. 2020-07-03 14:55:01 +01:00
Mike McQuaid
42d865a4e3
Merge pull request #7894 from gromgit/patch-1
Add completion configuration for non-Homebrew fish
2020-07-03 14:51:43 +01:00
Claudia
23cb93ff1c
sandbox: do not assume home is inside /Users
It’s not uncommon to use `/var/${USER}` as a home directory, especially
for shared or CLI-only users.

This fixes an issue where a formula that requires `xcodebuild` is
`brew install`ed from such a shared or CLI-only user account.
In that case, `xcodebuild` would fail because it is denied writing to
`/var/${USER}/Library/Developer/Xcode`.

For details, see: https://gist.github.com/claui/17cd89f8f6b4094ac704f142ea811fd8

Suggested-by: Bo Anderson <mail@boanderson.me>
2020-07-03 15:39:41 +02:00
Adrian Ho
125ed8cf93
Update Shell-Completion.md 2020-07-03 20:24:50 +08:00
Adrian Ho
7f651de7be
Add completion configuration for non-Homebrew fish
Tested on Ubuntu 18.04 LTS
2020-07-03 19:28:45 +08:00
dependabot-preview[bot]
f7c3f66eb1
build(deps): bump rubocop-rspec in /Library/Homebrew
Bumps [rubocop-rspec](https://github.com/rubocop-hq/rubocop-rspec) from 1.40.0 to 1.41.0.
- [Release notes](https://github.com/rubocop-hq/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-rspec/compare/v1.40.0...v1.41.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-03 09:43:26 +00:00
Issy Long
f1e4c4ed56
Merge pull request #7884 from vidusheeamoli/add-new-files
sorbet/files.yaml: add new files
2020-07-03 10:23:53 +01:00
Mike McQuaid
4f3b58f1ef
Merge pull request #7882 from MikeMcQuaid/tweak-checksum-audit
dev-cmd/audit: tweak checksum audit.
2020-07-03 09:41:47 +01:00
Mike McQuaid
6a7e5f2e9d
dev-cmd/audit: tweak checksum audit.
Compare against the latest `origin/master` checksum rather than
whatever the previous one was.
2020-07-03 09:21:53 +01:00
Mike McQuaid
34fd831bca
Merge pull request #7889 from reitermarkus/atomic-write
Use `atomic_write` instead of deleting and writing file.
2020-07-03 08:52:32 +01:00
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
524301b733
Merge pull request #7885 from Bo98/update-license-data
dev-cmd/update-license-data: don't use partial downloading & fix --fail-if-changed
2020-07-02 19:31:27 +01: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
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