15166 Commits

Author SHA1 Message Date
Markus Reiter
d0202f692f
Merge pull request #5597 from cmbernard333/feature/homebrew-cask-json-error
Added missing method to_a to Cask::DSL:ConflictsWith class.
2019-01-27 19:03:28 +01:00
Mike McQuaid
efd69b16ed
audit: no longer need openssl/curl HTTP mirrors.
Mavericks' `curl` can download these fine over HTTPS.
2019-01-27 16:25:40 +00:00
Mike McQuaid
ede58e8dc7
Merge pull request #5624 from MikeMcQuaid/mavericks-portable-ruby
vendor-install: use Mavericks portable Ruby.
2019-01-27 14:02:10 +00:00
Mike McQuaid
5084831a2b
vendor-install: use Mavericks portable Ruby.
This is not universal so is smaller (8MB vs 12MB). It also performs
5-10% faster at:
https://rubybench.org/ruby/ruby/releases?result_type=array_sample_100k___50k
2019-01-27 13:24:40 +00:00
Gautham Goli
b40579f69a
install: Use CLI::Parser to parse args 2019-01-27 18:24:33 +05:30
Mike McQuaid
1aa8ad09e2
Deprecate macOS versions below Mavericks
And remove all dead/unneeded code.
2019-01-27 12:27:47 +00:00
Mike McQuaid
9b5ab7fbb7
Merge pull request #5598 from MikeMcQuaid/odeprecated-odisabled
Update deprecations and cleanup
2019-01-27 12:13:26 +00:00
Zach Auten
abb81a52e6 Updated PR in response to suggestions
- changed require_relative to require
    - removed useless begin
    - removed unnecessary test
    - updated brew info positive test case to verify a cask was found
    - moved cask search logic to missing_formula.rb
2019-01-26 22:03:41 -05:00
Christian Bernard
97ca5932cf Updated Cask::Cask#to_h to call Conflicts#to_h instead of to_a. Updated ConflictsWith#to_h to iterate over VALID_KEYS. 2019-01-26 10:15:45 -07:00
Michka Popoff
b24e96e28d diagnostic: ignore case in origin comparison
On circle-ci we do:
git remote set-url origin $CIRCLE_REPOSITORY_URL

which is defined as: https://github.com/linuxbrew/homebrew-core

This is being compared to:
https://github.com/Linuxbrew/homebrew-core
2019-01-26 16:10:06 +01:00
Mike McQuaid
0670282908
Merge pull request #5613 from MikeMcQuaid/cask-link-formula-name
formula_installer: skip linking formulae with already installed casks.
2019-01-26 08:43:22 +00:00
Mike McQuaid
ea1cf52d47
Merge pull request #5614 from MikeMcQuaid/bitdefender
os/mac/diagnostic: detect Bitdefender.
2019-01-26 08:43:09 +00:00
Mike McQuaid
7655022798
Merge pull request #5616 from lembacon/virtualenv-16.3.0
python_virtualenv_constants: upgrade virtualenv to 16.3.0
2019-01-26 08:41:57 +00:00
Chongyu Zhu
80d8d441a2
python_virtualenv_constants: upgrade virtualenv to 16.3.0 2019-01-26 14:26:35 +08:00
Shaun Jackman
d13a287954 Fix check_coretap_git_origin
check_coretap_git_origin was not working as intended.
Permit Linuxbrew/homebrew-core as a valid origin.
Factor out check_coretap_git_branch.
2019-01-25 14:01:10 -08:00
Mike McQuaid
ce9856efca
os/mac/diagnostic: detect Bitdefender.
This has caused us multiple hard-to-diagnose issues so let's complain
about it in `brew doctor`.
2019-01-25 20:16:35 +00:00
Mike McQuaid
6f184ea0dd
formula_installer: skip linking formulae with already installed casks.
If you have the `emacs` or `docker` formulae and casks both
installed the formula will fail to link. Skip trying to link the formula
if the cask is already installed.

Fixes https://github.com/Homebrew/homebrew-core/issues/36310.
2019-01-25 20:10:02 +00:00
Mike McQuaid
2cc50864cc
Merge pull request #5606 from treese/fix-set-min-version
Fix regexp to allow multiple digits in Mac OS minor version.
2019-01-25 15:18:29 +00:00
Christian Bernard
cadb193e3b Update to convert pairs to hash k=>v during to_a in Cask::DSL::ConflictsWith#to_a 2019-01-25 08:05:13 -07:00
Win Treese
04cb8f2a78 Fix regexp to allow multiple digits in Mac OS minor version.
The regular expression check for the -mmacosx-version-min value only
looked at a single digit in the minor version number, so it did not
compare correctly if the option was setting the minimum version
to (say) 10.11.
2019-01-24 16:30:00 -05:00
Mike McQuaid
382e0ed7b4
azure-pipelines-yml: early exit on errors.
We don't want to silently ignore failing commands.

Also, while we're editing the `tap-new` generated `azure-pipelines.yml`
also add the changes missed here from #5600.
2019-01-24 20:45:00 +00:00
Mike McQuaid
40bfc39912
Merge pull request #5601 from vitorgalvao/cask-cleanup-man
Removed cleanup from cask manpage
2019-01-24 12:45:04 +00:00
Mike McQuaid
c1d5a601c7
Merge pull request #5595 from vitorgalvao/CaskSha256MismatchError-link-to-fix
CaskSha256MismatchError: link to fix
2019-01-24 12:44:48 +00:00
Mike McQuaid
2dce15e9e2
Merge pull request #5590 from GauthamGoli/search-args-docs
search: Add descriptions to option declarations
2019-01-24 12:44:37 +00:00
Mike McQuaid
51f3dd315b
Merge pull request #5589 from GauthamGoli/gist-logs-args
gits-logs: Use CLI::Parser to parse args
2019-01-24 12:44:28 +00:00
Mike McQuaid
b4d02d0e2b
Merge pull request #5587 from GauthamGoli/deps-args
deps: Use CLI::Parser to parse args
2019-01-24 12:44:14 +00:00
Vítor Galvão
44e998a59b Removed cleanup from cask manpage 2019-01-24 00:37:56 +00:00
Mike McQuaid
eed1444d61
Update deprecations and cleanup
- Move `odeprecated` to `odisabled`
- Remove `odisabled`
- Enable automatic cleanup on install/reinstall/upgrade.
2019-01-23 21:57:40 +00:00
Christian Bernard
57fd624d25 Fix style issues based on brew style guide 2019-01-23 12:21:15 -07:00
Mike McQuaid
b221a46af2
Merge pull request #5593 from MikeMcQuaid/missing-env-var-exception
brew.rb: duplicate MissingEnvironmentVariables exception.
2019-01-23 19:10:54 +00:00
Vítor Galvão
ffe4c6bcef CaskSha256MismatchError: link to fix 2019-01-23 18:57:19 +00:00
Christian Bernard
e722a906f4 Added missing method to_a to Cask::DSL:ConflictsWith class. 2019-01-23 11:45:19 -07:00
Mike McQuaid
02a70496b6
style: better handle file arguments.
Fixes #5588.
2019-01-23 15:46:03 +00:00
Mike McQuaid
57d7d4c9dd
brew.rb: duplicate MissingEnvironmentVariables exception.
Fixes #5592.
2019-01-23 15:40:44 +00:00
Mike McQuaid
e43d400fd2
gist-logs: add missing install require.
Fixes #5586
2019-01-23 08:37:28 +00:00
Gautham Goli
e2e4f93f06
search: Add descriptions to option declarations 2019-01-23 10:14:31 +05:30
Gautham Goli
382b5447d8
gits-logs: Use CLI::Parser to parse args 2019-01-23 09:20:49 +05:30
Gautham Goli
7b6d1f774d
deps: Use CLI::Parser to parse args 2019-01-23 08:34:24 +05:30
Mike McQuaid
550202d005
Merge pull request #5584 from MikeMcQuaid/svn-remote-mojave
utils: fix SVN remote test on Mojave.
2019-01-22 18:35:07 +00:00
Mike McQuaid
281d77a202
Merge pull request #5583 from MikeMcQuaid/tweak-audits
Tweak audits
2019-01-22 14:22:54 +00:00
Mike McQuaid
8bfde013f6
utils: fix SVN remote test on Mojave.
For some reason Mojave needs the SSL args always set otherwise this
will always fail waiting for interactivity.

Also, while debugging this I noticed that `utils.rb` had a failure
expecting an integer so fix that too.
2019-01-22 14:20:24 +00:00
Mike McQuaid
6899478901
Merge pull request #5567 from GauthamGoli/command-args
command: Use CLI::Parser to parse args
2019-01-22 14:02:57 +00:00
Mike McQuaid
db7fd7b7a2
Tweak audits
- Ensure that new formulae problems aren't duplicated
- Now that homebrew/core will imminently not have options adjust the
  various audits so they make more sense (and exclude taps)
- Exclude taps from more preferential audits
2019-01-22 13:30:24 +00:00
Gautham Goli
66ed68f4eb
Merge pull request #5576 from GauthamGoli/sh-args
sh: Use CLI::Parser to parse args
2019-01-22 19:00:03 +05:30
Gautham Goli
aea6bb78f2
Merge pull request #5569 from GauthamGoli/config-args
config: Use CLI::Parser to parse args
2019-01-22 18:59:38 +05:30
Gautham Goli
4cf2bd2269
Merge pull request #5568 from GauthamGoli/commands-args
commands: Use CLI::Parser to parse args
2019-01-22 18:59:01 +05:30
Gautham Goli
8c8eec1b1e
Merge pull request #5566 from GauthamGoli/analytics-args
analytics: Use CLI::Parser to parse args
2019-01-22 18:57:35 +05:30
Mike McQuaid
80c2ed310c
Merge pull request #5581 from Homebrew/dependabot/bundler/Library/Homebrew/vendor/rubocop-0.63.1
Bump rubocop from 0.63.0 to 0.63.1 in /Library/Homebrew/vendor
2019-01-22 10:17:23 +00:00
Mike McQuaid
07676344ef
Merge pull request #5582 from Homebrew/dependabot/bundler/Library/Homebrew/vendor/i18n-1.5.3
Bump i18n from 1.5.2 to 1.5.3 in /Library/Homebrew/vendor
2019-01-22 10:17:09 +00:00
Mike McQuaid
620294c2b6
brew vendor-gems: commit updates. 2019-01-22 09:38:36 +00:00