13233 Commits

Author SHA1 Message Date
Mike McQuaid
02591bdf34
Merge pull request #3662 from MikeMcQuaid/curl-executable
curl: handle more non-executable curl edge-cases.
2018-01-11 19:41:23 +00:00
Mike McQuaid
924865ec7f curl: handle more non-executable curl edge-cases.
Address some additional issues mentioned in #3624.
2018-01-11 16:33:20 +00:00
Mike McQuaid
e903a5f655
formula: tweak more depends_on examples. 2018-01-11 13:33:54 +00:00
Michihito Shigemura
f5e8b2680e docs: Fix depends_on examples in Formula page
example:

Error: depends_on :mysql
Correct: depends_on "mysql"
2018-01-11 21:05:14 +09:00
Mike McQuaid
838a3f1996 reinstall/upgrade: stop unlinked kegs being sticky
It's not possible to determine the difference between a non-keg-only
keg that failed to link and one that wasn't linked by us intentionally.

To avoid additional complexity of storing this logic in another place
let's back out this relatively new functionality; sticky keg-only links
is a better and more desirable behaviour anyway.
2018-01-10 16:43:21 +00:00
Mike McQuaid
b66010605d
Merge pull request #3651 from MikeMcQuaid/deprecate-git-svn-requirements
Deprecate Git, Subversion requirements.
2018-01-10 13:40:55 +00:00
Mike McQuaid
27be33b245 Deprecate Git, Subversion requirements.
These rely on `default_formula` to be useful and are better following
the `*_dep_if_needed` pattern.
2018-01-10 13:19:50 +00:00
Mike McQuaid
b29213a663
Merge pull request #3655 from MikeMcQuaid/formula-cop-hash-match-array
formula_cop: match any values in hash match.
2018-01-10 09:09:50 +00:00
Mike McQuaid
69b38dd9db
Merge pull request #3654 from sjackman/check_install_sanity
check_install_sanity: Use formula.runtime_dependencies
2018-01-10 09:07:17 +00:00
Mike McQuaid
7f2fda104a formula_cop: match any values in hash match.
e.g. match an array or symbol or string.
2018-01-09 20:08:22 +00:00
Alyssa Ross
f06b54f1bb
Merge pull request #3653 from alyssais/installed_on_request
Preserve installed_on_request for dependencies
2018-01-09 20:02:45 +00:00
Shaun Jackman
95bf23404e check_install_sanity: Use formula.runtime_dependencies
Fix Error: wget contains conflicting version recursive dependencies:
openssl, openssl@1.1
2018-01-09 10:35:59 -08:00
Alyssa Ross
ef82b188f2
Preserve installed_on_request for dependencies
Fixes https://github.com/Homebrew/brew/issues/3642.
2018-01-09 16:37:59 +00:00
Mike McQuaid
50a84f2535 audit: allow env :std in custom taps.
This is a nicer experience than writing `Requirement`s by hand.
2018-01-09 15:26:54 +00:00
Mike McQuaid
9ed1ed3c05 upgrade: fix UnsatisfiedRequirements exit code. 2018-01-09 09:07:37 +00:00
Mike McQuaid
dbeebcaef5 upgrade: skip formula if upgrade fails.
Rather than blocking the rest of the formulae from being installed by
`brew upgrade` print the requirement failure messages (already done) and
an error stating requirements weren't satisfied and then continue to
upgrade the rest of the formulae.
2018-01-08 14:38:10 +00:00
Steven Peters
913ff483f0 Use hgpath instead of "hg" to fix --HEAD hg builds
Fixes #3628.
With environment filtering, hg was no longer in the path,
so make sure to provide the path when calling hg commands.
last_commit was the source of the problem in #3628
but I fixed source_modified_time as well.
I didn't see any others with this problem.
2018-01-08 00:24:02 -08:00
Mike McQuaid
09bfb2a8f0
Merge pull request #3633 from MikeMcQuaid/lines_cop_version
lines_cop: flag `depends_on :perl => "1.0"`.
2018-01-07 15:39:37 +00:00
Mike McQuaid
1bd7d7df04 Use parser 2.4.0.0
This matches the version that supports Ruby 2.3.3 syntax (which is the
version we use).
2018-01-07 14:29:19 +00:00
Mike McQuaid
4e29152603 formula_cop: use undeprecated add_offense form. 2018-01-07 14:25:07 +00:00
Mike McQuaid
c8b859faad lines_cop: flag depends_on :perl => "1.0".
This requires ignoring the version argument with a new `:any` mode
for this check.
2018-01-07 14:08:58 +00:00
commitay
8a419b4742 audit: pass explicit sort to handle APFS 2018-01-07 13:36:16 +10:00
Mike McQuaid
069b61029b
Merge pull request #3627 from sjackman/circleci
pathname: Use CI env variable rather than TRAVIS
2018-01-04 08:28:34 +00:00
Shaun Jackman
841dae4b8c pathname: Use CI env variable rather than TRAVIS 2018-01-03 13:17:23 -08:00
Shaun Jackman
5d9149a4b9 LD64Dependency is needed on macOS only
Move ld64_dependency.rb to os/mac/.
2018-01-03 10:52:12 -08:00
Mike McQuaid
fab0ea6fda Deprecate Homebrew/homebrew-science 2018-01-01 09:33:43 +00:00
Mike McQuaid
93a2e9fc25
Merge pull request #3612 from MikeMcQuaid/more-deprecations
requirements: move more to compat.
2017-12-31 16:11:21 +00:00
Mike McQuaid
c449bdb92c
Merge pull request #3616 from MikeMcQuaid/existing-install-options
reinstall/upgrade: document use of options.
2017-12-31 10:20:52 +00:00
Mike McQuaid
e048106624
Merge pull request #3614 from MikeMcQuaid/previously-deleted-month
missing_formula: check deleted in the last month.
2017-12-31 09:42:36 +00:00
Mike McQuaid
884a2f3667
Merge pull request #3618 from ilovezfs/python-teach-virtualenv-to-speak-@
language/python: handle python@* in virtualenv_install_with_resources
2017-12-31 09:42:23 +00:00
commitay
de4b126e5c cask manpage: upgrade 2017-12-31 09:39:47 +10:00
ilovezfs
5496a04dd9 language/python: handle python@* in virtualenv_install_with_resources 2017-12-30 15:11:14 -08:00
Mike McQuaid
7eb1fd6671 reinstall/upgrade: document use of options.
To avoid user confusion e.g. #3606.
2017-12-30 21:23:33 +00:00
Mike McQuaid
799312c5fc missing_formula: check deleted in the last month.
This speeds things up pretty dramatically and handles the case that
something was deleted recently and users haven't learned about it yet.

Fixes #3513.
2017-12-30 21:18:02 +00:00
Mike McQuaid
f9b6407110 lines_cop: deprecate 'needs :openmp'. 2017-12-30 20:56:55 +00:00
Mike McQuaid
4fff56ca4f lines_cop: check for more deprecated requirements. 2017-12-30 20:56:55 +00:00
Mike McQuaid
d54e670a64 requirements: move more to compat. 2017-12-30 20:56:55 +00:00
Mike McQuaid
faf2182495 gpg: move to compat. 2017-12-30 20:56:54 +00:00
Mike McQuaid
176ed97d42
Merge pull request #3609 from SeanPrashad/41372
Add brew cask upgrade initial documentation
2017-12-30 20:24:36 +00:00
Mike McQuaid
29aa317d77
Merge pull request #3611 from MikeMcQuaid/git-prefix-cd-warning
scm/git: hide prefix cd failure warning.
2017-12-30 20:15:10 +00:00
Mike McQuaid
73cb1ac265
Merge pull request #3613 from ilovezfs/allow-install-mixed-python-dependency-tree
formula_installer: allow version mismatched python deps
2017-12-30 20:14:53 +00:00
ilovezfs
ba76e06cff formula_installer: allow version mismatched python deps
Dependency trees with both python@2 and python@3 are not inherently
problematic.
2017-12-30 11:35:35 -08:00
Mike McQuaid
60362605de scm/git: hide prefix cd failure warning.
This may happen with certain checkout configurations (such as on our CI
boxes).

Also, rename the variables to be clearer about what they reference.
2017-12-30 17:36:37 +00:00
Sean Prashad
a83b2f21ba
Add brew cask upgrade initial documentation 2017-12-29 19:29:05 -05:00
Mike McQuaid
7f54c83911 audit: remove unneeded mercurial check. 2017-12-29 19:53:04 +00:00
Mike McQuaid
05329fc08d dependency_collector: don't use hg alias. 2017-12-29 17:51:02 +00:00
Mike McQuaid
51114139e1 formula: require gpg and make it a module. 2017-12-29 16:19:09 +00:00
Mike McQuaid
80769ae0c7
Merge pull request #3605 from DomT4/zshrc
utils: stop debug exploding when zsh is used
2017-12-29 15:54:30 +00:00
Mike McQuaid
c6eaa73db1
Merge pull request #3604 from alyssais/cask_no_arguments
cask: exit successfully when given no arguments.
2017-12-29 15:53:39 +00:00
Mike McQuaid
c2e1b3cccf
Merge pull request #3603 from MikeMcQuaid/deprecate-some-requirements
Deprecate more requirements.
2017-12-29 15:41:56 +00:00