17912 Commits

Author SHA1 Message Date
Mike McQuaid
6211d0da13
Merge pull request #7691 from Rylan12/popen_read-audit
style: separate shell command arguments
2020-07-06 09:15:52 +01:00
Mike McQuaid
3aa17c819d
Merge pull request #7913 from chenrui333/remove-cargo-completion-formula
Remove cargo-completion formula
2020-07-06 09:14:08 +01:00
Mike McQuaid
1558179a50
Merge pull request #7853 from MLH-Fellowship/integrate-uninstall-reinstall
Allow references to casks when running uninstall and reinstall
2020-07-06 09:10:19 +01:00
Rylan Polster
ae0d37e911 Transfer to FormulaAuditStrict 2020-07-05 13:57:49 -04:00
Rui Chen
5cbdae75e7 Remove cargo-completion formula
relates to Homebrew/homebrew-core#57029, Homebrew/homebrew-core#57494
2020-07-05 12:47:15 -04:00
Rylan Polster
0786003fe9 Add tests for autocorrect 2020-07-05 12:12:36 -04:00
Bo Anderson
081025c96a
Merge pull request #7903 from Bo98/upgrade-error
upgrade: fix error checking dependents
2020-07-05 16:22:51 +01:00
Jonathan Chang
c6e9cff125 dev-cmd: add brew-sponsors.rb 2020-07-05 15:45:36 +10:00
Jonathan Chang
b909fdd30f github: refactor GraphQL APIs 2020-07-05 15:31:29 +10:00
Bo Anderson
6a49d29b08 upgrade: fix error checking dependents 2020-07-04 18:05:31 +01:00
Rylan Polster
4290789dc0
Merge pull request #7898 from Rylan12/keg-only-audit
style: improve keg_only style checks
2020-07-04 10:12:05 -04:00
Mike McQuaid
988692cd39
Merge pull request #7901 from dawidd6/noassertion-license
dev-cmd/audit: don't error out if no license is detected by GitHub
2020-07-04 14:43:10 +01:00
Dawid Dziurla
8f59a5749e
dev-cmd/audit: don't error out if no license is detected by GitHub 2020-07-04 13:18:57 +02:00
William Ma
df8d22a29b Remove debugging markers (oops) 2020-07-03 18:27:19 -04:00
William Ma
6e8f5d0958 Modify MultipleVersionsInstalledError to have a generic message 2020-07-03 18:25:49 -04:00
Rylan Polster
a7a9793f99 needs_python? separate formula name from tap name 2020-07-03 16:37:32 -04:00
Rylan Polster
e252de5295 style: improve keg_only style checks 2020-07-03 14:35:32 -04:00
Bo Anderson
505c1e7240
Merge pull request #7895 from MikeMcQuaid/move-codecov
Move .codecov.yml
2020-07-03 17:51:03 +01:00
Mike McQuaid
fea704b454
Move .codecov.yml
>  the file must still be located in the root, dev/, or .github/ directories

https://docs.codecov.io/docs/codecov-yaml#can-i-name-the-file-codecovyml
2020-07-03 17:03:29 +01:00
Mike McQuaid
5a50099081
Merge pull request #7883 from chenrui333/throttle-gatsby-cli
throttle gatsby-cli to every 10 rel on multiple of 10
2020-07-03 16:41:53 +01:00
Claudia Pellegrino
f4c411bd42
Merge pull request #7897 from claui/user-home-sandbox
sandbox: do not assume home is inside `/Users`
2020-07-03 17:30:13 +02:00
William Ma
525d1ac27d Fix PR issues 2020-07-03 10:33:38 -04:00
William Ma
1ae38fb2a4 Delete IDE files (oops) 2020-07-03 10:19:44 -04:00
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
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
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
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
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