Mike McQuaid
51a260cf1c
deps: accept formula options.
...
Also, cleanup usage of `<formula>`.
As requested in comments of #5587 .
2019-01-30 13:18:02 +00:00
Mike McQuaid
867b155479
Add missing conflicts to command options.
2019-01-29 19:39:41 +00:00
Mike McQuaid
9eabcdad7d
Make install/reinstall/upgrade options more consistent.
2019-01-29 19:25:59 +00:00
Gautham Goli
22c2b06fa5
cmd/upgrade: Use CLI::Parser to parse args
2019-01-29 16:58:44 +00:00
Mike McQuaid
3bdc4c294d
Merge pull request #5201 from GauthamGoli/fetch-args
...
fetch: Use CLI::Parser to parse args
2019-01-29 14:11:36 +00:00
Mike McQuaid
618f75c071
Merge pull request #5619 from GauthamGoli/install-args
...
install: Use CLI::Parser to parse args
2019-01-29 14:11:22 +00:00
Gautham Goli
c3ba863a30
cmd/install: Add description for --fetch-HEAD
option
2019-01-29 18:35:22 +05:30
Mike McQuaid
fe8f3218d3
cmd/fetch: add missing --build-bottle
argument.
2019-01-29 11:35:41 +00:00
Gautham Goli
a6a3ed1cee
fetch: Use CLI::Parser to parse args
2019-01-29 11:35:40 +00:00
Mike McQuaid
49d3849507
cmd/install_spec: test new invalid option behaviour.
2019-01-29 10:48:39 +00:00
Mike McQuaid
36016f18a8
cmd/install: fix style.
2019-01-29 09:38:20 +00:00
David
ad4b3b0e7f
Fix printf error on bash launch
2019-01-29 04:10:16 -05:00
Mike McQuaid
24eb8e8e54
Remove (now) unused invalid_option_names.
...
This is handled by `OptionParser` now instead in `cmd/install`.
2019-01-29 08:31:45 +00:00
Mike McQuaid
fd74ce2de6
cmd: remove misrendered markdown link.
2019-01-29 08:31:10 +00:00
Mike McQuaid
9126a5cf8d
cmd/install: fix missing formula handling.
2019-01-29 08:30:22 +00:00
Mike McQuaid
1226470b07
cmd/install: tweak formula option code/output.
2019-01-29 08:30:07 +00:00
Mike McQuaid
5a95d80b5e
cmd/install: fix --keep-tmp description.
2019-01-29 08:29:39 +00:00
Markus Reiter
a198b0ef43
Merge pull request #5628 from reitermarkus/conflicts-with
...
Refactor `ConflictsWith` to be a `DelegateClass(Hash)`.
2019-01-28 22:31:08 +01:00
Mike McQuaid
d18bab042b
Merge pull request #5639 from MikeMcQuaid/os-mac-cpu-requires
...
version: add CPU tests.
2019-01-28 20:02:19 +00:00
Mike McQuaid
28fa8a7c97
version: add CPU tests.
...
Add a new API inspired by discussion in
https://github.com/Homebrew/homebrew-core/pull/36435 to query if a given
CPU option is supported by a version of macOS.
2019-01-28 19:31:21 +00:00
Mike McQuaid
d5adf87cf4
cleanup: better handle edge cases.
...
- don't complain about "skipping" kegs when `brew cleanup` runs
automatically
- better handle orphaned directories
- output a better error message when a keg cannot be removed
Fixes #4989
Fixes #5627
Fixes https://github.com/Homebrew/homebrew-core/pull/35958#issuecomment-458031634
2019-01-28 16:08:23 +00:00
Mike McQuaid
5866c2b00a
Merge pull request #5635 from Homebrew/dependabot/bundler/Library/Homebrew/vendor/rubocop-rspec-1.32.0
...
Bump rubocop-rspec from 1.31.0 to 1.32.0 in /Library/Homebrew/vendor
2019-01-28 14:40:28 +00:00
Mike McQuaid
d284090a62
brew vendor-gems: commit updates.
2019-01-28 14:03:51 +00:00
Claudia
c2bbd9df7e
Remove unneeded curl_openssl_or_deps
invocation
...
This fixes a regression introduced in #5626 [1], which removed `curl_openssl_or_deps` and left a single call in the code.
[1]: https://github.com/Homebrew/brew/pull/5626
2019-01-28 08:10:37 +01:00
dependabot[bot]
a2b4ea08b3
Bump rubocop-rspec from 1.31.0 to 1.32.0 in /Library/Homebrew/vendor
...
Bumps [rubocop-rspec](https://github.com/rubocop-hq/rubocop-rspec ) from 1.31.0 to 1.32.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.31.0...v1.32.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-28 05:25:08 +00:00
Markus Reiter
d22c2eca9e
Refactor ConflictsWith
to be a DelegateClass(Hash)
.
2019-01-27 21:48:12 +01:00
Mike McQuaid
76b3c3dbe2
Merge pull request #5626 from MikeMcQuaid/audit-no-http
...
audit: no longer need openssl/curl HTTP mirrors.
2019-01-27 20:36:18 +00:00
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
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