15084 Commits

Author SHA1 Message Date
Mike McQuaid
8a87c6c202
RuboCop 0.60.0 2018-11-02 17:28:32 +00:00
Markus Reiter
edb8a2486b Remove -quiet flag when verbose. 2018-11-02 11:46:06 +01:00
dependabot[bot]
53805f5887
Bump rubocop-rspec and rubocop in /Library/Homebrew/vendor
Bumps [rubocop-rspec](https://github.com/rubocop-hq/rubocop-rspec) and [rubocop](https://github.com/rubocop-hq/rubocop). These dependencies needed to be updated together.

Updates `rubocop-rspec` from 1.30.0 to 1.30.1
- [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.30.0...v1.30.1)

Updates `rubocop` from 0.59.1 to 0.60.0
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.59.1...v0.60.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-02 06:32:00 +00:00
Markus Reiter
3dbbcd11cc Remove unused test cask. 2018-11-01 19:46:58 +01:00
Philip Harrison
5ea967d4a6
Revert "Bump concurrent-ruby from 1.0.5 to 1.1.0 in /Library/Homebrew/vendor"
1.1.0 was yanked from Rubygems: https://rubygems.org/gems/concurrent-ruby/versions

This reverts commit ab372d0e64c22b984449ec3df2c4de3d470731a3.
2018-11-01 15:15:04 +01:00
dependabot[bot]
ab372d0e64
Bump concurrent-ruby from 1.0.5 to 1.1.0 in /Library/Homebrew/vendor
Bumps [concurrent-ruby](https://github.com/ruby-concurrency/concurrent-ruby) from 1.0.5 to 1.1.0.
- [Release notes](https://github.com/ruby-concurrency/concurrent-ruby/releases)
- [Changelog](https://github.com/ruby-concurrency/concurrent-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ruby-concurrency/concurrent-ruby/compare/v1.0.5...v1.1.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-31 14:42:46 +00:00
Mike McQuaid
492b3f88ac
Merge pull request #5208 from zkxs/install-behind-proxy
Fix Nil error when mirror download fails
2018-10-31 09:45:59 +00:00
Mike McQuaid
422257067c
Merge pull request #5216 from GauthamGoli/audit-args-fix
audit: Don't mutate args
2018-10-31 08:44:49 +00:00
commitay
35ec9a94da
Merge pull request #5209 from commitay/audit-bump
bump-formula-pr: run audit by default
2018-10-31 17:29:07 +10:00
Gautham Goli
840fbd69fb
audit: Don't mutate args 2018-10-31 10:50:03 +05:30
Mike McQuaid
cbb2e1b3dd
Merge pull request #5206 from Homebrew/dependabot/bundler/Library/Homebrew/test/parallel_tests-2.26.2
Bump parallel_tests from 2.26.0 to 2.26.2 in /Library/Homebrew/test
2018-10-30 13:23:12 +00:00
commitay
32b1f13bd0 bump-formula-pr: run audit by default 2018-10-30 13:22:36 +10:00
Steven Peters
7116b74705 dev-cmd/bottle: require arg for --root-url 2018-10-29 14:54:37 -07:00
Michael Ripley
1f9332611f Nil error when mirror download fails
This issue causes method in a Nil object to be read when a mirror download fails. In my case, this occurs due to my office's proxy blocking certain mirrors. This patch fixes the Nil access, exposing a more helpful error message.

## Before patch
```
$ brew install maven
Error: An exception occurred within a child process:
  NoMethodError: undefined method `unlock' for nil:NilClass
```

## After patch
```
$ brew install maven
Error: An exception occurred within a child process:
  DownloadError: Failed to download resource "maven"
Download failed: Couldn't determine mirror, try again later.
```

## Steps to reproduce
1.  Use brew 1.8.0
2.  Ensure maven is not installed:
    ```
    brew remove maven
    ```
3.  Ensure the download is not cached:
    ```
    rm "$HOME/Library/Caches/Homebrew/downloads/*--apache-maven-*-bin.tar.gz"
    ```
4.  Make the mirrors unreachable by pointing them at a nonfunctional proxy:
    ```
    export http{,s}_proxy=http://localhost:8080
    export no_proxy=*.github.com,*.brew.sh
    ```
5.  Attempt package installation
    ```
    brew install maven
    ```
2018-10-29 14:31:37 -05:00
dependabot[bot]
6d9143fab5
Bump parallel_tests from 2.26.0 to 2.26.2 in /Library/Homebrew/test
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 2.26.0 to 2.26.2.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.26.0...v2.26.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-29 17:28:23 +00:00
Mike McQuaid
18bac4fa5d
Merge pull request #5204 from GauthamGoli/immutable-args
cli_parser: Make Homebrew.args immutable once CLI args have been processed
2018-10-29 13:39:58 +00:00
Mike McQuaid
033386a75e
Merge pull request #5182 from EricFromCanada/prepend-shims-path
Prepend shims path to PATH used by `system` and `safe_system`
2018-10-29 13:39:41 +00:00
dependabot[bot]
8978ce778b
Bump parser from 2.5.1.2 to 2.5.3.0 in /Library/Homebrew/test
Bumps [parser](https://github.com/whitequark/parser) from 2.5.1.2 to 2.5.3.0.
- [Release notes](https://github.com/whitequark/parser/releases)
- [Changelog](https://github.com/whitequark/parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/whitequark/parser/compare/v2.5.1.2...v2.5.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-29 06:56:48 +00:00
EricFromCanada
0362e66a26 doctor: use minimum Git version set in brew.sh 2018-10-28 20:13:19 -04:00
EricFromCanada
7aa9956934 brew: check system-provided curl and git on Linux
Set HOMEBREW_FORCE_BREWED_CURL or HOMEBREW_FORCE_BREWED_GIT if the system-provided versions are missing or outdated, causing either to be installed on the next `brew update`.
2018-10-28 20:13:19 -04:00
Gautham Goli
6d3aa18f6a
cli_parser: Make Homebrew.args immutable once CLI arguments have been processed 2018-10-29 02:31:57 +05:30
Luca Weiss
7380ebf85b
diy: add meson support
Also print the path to put files into if no build system was
determined.
2018-10-27 16:22:59 +02:00
Mike McQuaid
322075130e
Merge pull request #5196 from commitay/keg-only-style
audit: make `keg_only_style` non-strict
2018-10-27 14:55:29 +01:00
Mike McQuaid
0bdc43bad0
Merge pull request #5194 from commitay/options-cop
options_cop: make audits non-strict
2018-10-27 14:54:09 +01:00
Mike McQuaid
fa9a59fe1e
Merge pull request #5192 from commitay/unstable
audit: remove deleted formulae from unstable whitelist
2018-10-27 14:53:59 +01:00
Mike McQuaid
5b081f9d39
Merge pull request #5193 from jonchang/fix-compress-ext
unpack_strategy: fix extension for compress
2018-10-27 14:53:45 +01:00
commitay
de529c8225 audit: make keg_only_style non-strict 2018-10-27 22:52:20 +10:00
commitay
cbae07cd0f options_cop: make audits non-strict 2018-10-27 22:20:17 +10:00
Jonathan Chang
b30ab67ca6 unpack_strategy: fix extension for compress 2018-10-27 22:46:33 +11:00
commitay
1d89027409 audit: remove deleted formulae from unstable whitelist 2018-10-27 20:50:10 +10:00
EricFromCanada
7c9bea2703 system_config: skip HOMEBREW_GIT as its final path is shown further down 2018-10-26 23:47:59 -04:00
EricFromCanada
9e4fb40f92 docs: update descriptions of git- and curl-related vars
Note that the `HOMEBREW_FORCE_BREWED_` vars are automatically set if the system `git` and `curl` are too old. Drop mention of `HOMEBREW_GIT` which isn't user-settable.
2018-10-26 23:47:59 -04:00
EricFromCanada
baf75af908 brew: prepend shims to PATH used by _system
Ensures `system` and `safe_system` use brewed git if available.
2018-10-26 23:47:59 -04:00
commitay
823f2234f1 audit: make throttled a regular audit 2018-10-27 10:44:09 +10:00
Markus Reiter
57f7b8a8a4
Merge pull request #5181 from reitermarkus/upgrade-login-items
cask: Don’t remove login items on upgrade.
2018-10-26 18:53:38 +02:00
Mike McQuaid
987546148d
Merge pull request #5186 from Homebrew/dependabot/bundler/Library/Homebrew/test/parallel_tests-2.26.0
Bump parallel_tests from 2.25.0 to 2.26.0 in /Library/Homebrew/test
2018-10-26 15:41:09 +01:00
Mike McQuaid
2911e74624
Merge pull request #5184 from GauthamGoli/short-flag-options
cli_parser: Add support for short flag options
2018-10-26 15:38:12 +01:00
dependabot[bot]
aa59c16947
Bump parallel_tests from 2.25.0 to 2.26.0 in /Library/Homebrew/test
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 2.25.0 to 2.26.0.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.25.0...v2.26.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-26 01:35:07 +00:00
Shaun Jackman
b1a4ed04c4
Merge pull request #5180 from sjackman/needs-svn
test/spec_helper: Fix :needs_svn
2018-10-25 14:15:42 -07:00
Gautham Goli
f7ec07680c
cli_parser: Add support for short flag options 2018-10-25 21:43:49 +05:30
Shaun Jackman
a7ad7eee78 test/spec_helper: Fix :needs_svn
which("svn") detects shims/scm/svn even when svn is not installed.
2018-10-25 08:54:23 -07:00
dependabot[bot]
6b33c786dc
Bump parallel_tests from 2.24.0 to 2.25.0 in /Library/Homebrew/test
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 2.24.0 to 2.25.0.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.24.0...v2.25.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-25 06:09:15 +00:00
Markus Reiter
e7b1feefe8 Don’t remove login items on upgrade. 2018-10-25 01:05:53 +02:00
commitay
a4c62d37b1
Merge pull request #5168 from commitay/we-add-the-bottle-block
audit: check for `bottle do` blocks in new formulae
2018-10-24 22:33:09 +10:00
Gautham Goli
ff53ae467e
Merge pull request #5175 from GauthamGoli/doctor-args
doctor: Use CLI::Parser to parse args
2018-10-24 17:59:26 +05:30
Gautham Goli
5fb7a35de4
Merge pull request #5176 from GauthamGoli/global-switch-custom-desc
cli_parser: Add custom description support for global switches
2018-10-24 17:57:59 +05:30
Gautham Goli
e32da937a6
cli_parser: Add custom description support for global switches 2018-10-24 17:27:31 +05:30
Gautham Goli
172aba4508
doctor: Use CLI::Parser to parse args 2018-10-24 16:51:23 +05:30
Mike McQuaid
b0198d097e
os/mac/utils/bottles: handle Linux bottles.
These are an invalid argument on macOS but still need to be handled.
2018-10-24 11:54:56 +01:00
commitay
17e55ead73 audit: check for bottle do blocks in new formulae 2018-10-24 20:48:26 +10:00