Mike McQuaid
b70b5429d0
Deprecate default_formula Requirement DSL
...
This has been a nightmare in terms of the complexity to our dependency
system and the whack-a-mole required on bugs. If a Requirement resolves
to a Formula it should just use `depends_on "formula"` instead. This
matches the effective behaviour all users of bottles (the vast majority
of users and installs) and what we're doing in Homebrew/homebrew-core.
2018-01-14 13:27:43 +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
Andrew Janke
9464616897
Merge pull request #3646 from apjanke/cask-bash-completion
...
Cask bash completion
2018-01-09 14:19:16 -05: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
Mike McQuaid
311aa724dd
Merge pull request #3650 from MikeMcQuaid/audit-allow-std
...
audit: allow env :std in custom taps.
2018-01-09 18:12:15 +00: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
5fe2ca2a83
Merge pull request #3647 from apjanke/bash-null-completion
...
bash completion: add null completion where appropriate
2018-01-09 15:04:56 +00:00
Alyssa Ross
5dfc1ab5ac
Merge pull request #3645 from mchao409/master
...
add a few missing periods
2018-01-09 14:54:46 +00:00
Andrew Janke
bf574012bc
bash completion: integrate xyb's cask bash completion with core brew completion
2018-01-09 09:00:11 -05:00
xyb
f5c68a6fe3
Pull in "brew cask" completions from xyb.
2018-01-09 09:00:11 -05:00
Andrew Janke
cb34102459
bash completion: add null completion where appropriate
2018-01-09 04:16:41 -05:00
Mike McQuaid
9ed1ed3c05
upgrade: fix UnsatisfiedRequirements exit code.
2018-01-09 09:07:37 +00:00
mchao409
8bc58997f8
add a few missing periods
2018-01-08 21:10:52 -05:00
ilovezfs
987805d3dc
Merge pull request #3644 from MikeMcQuaid/upgrade-skip-failed-reqs
...
upgrade: skip formula if upgrade fails due to unsatisfied requirement.
1.4.3
2018-01-08 07:10:35 -08: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
Mike McQuaid
13998f5e63
Merge pull request #3643 from scpeters/hgpath_3628
...
Use hgpath instead of "hg" to fix --HEAD hg builds
2018-01-08 13:10:18 +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
3e99504578
Merge pull request #3637 from alyssais/python-docs
...
docs: fix audit warning in Python formula example
2018-01-07 18:00:45 +00:00
Mike McQuaid
c6167c3ca9
Merge pull request #3639 from alyssais/update_formula.brew.sh
...
Update formulae.brew.sh URL
2018-01-07 17:59:47 +00:00
Alyssa Ross
144ae56c02
Update formulae.brew.sh URL
...
The Homebrew/formulae.brew.sh repo implies that this is now the
preferred URL.
2018-01-07 17:28:27 +00:00
Alyssa Ross
22a74b69c6
docs: fix audit warning in Python formula example
...
Auditing a formula with this structure (plus a `desc` statement)
results in an audit warning:
> * C: 12: col 3: `include` (line 12) should be put before `desc` (line 2)
2018-01-07 17:09:09 +00: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
Mike McQuaid
4438fe1175
Merge pull request #3635 from commitay/audit-sort
...
audit: pass explicit sort to handle APFS
2018-01-07 09:41:32 +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
Mike McQuaid
b9cb6ccca8
Merge pull request #3626 from sjackman/ld64
...
LD64Dependency is needed on macOS only
2018-01-03 21:12:59 +00: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
4e08da95c3
Merge pull request #3622 from MikeMcQuaid/deprecate-science
...
Deprecate Homebrew/homebrew-science
1.4.2
2018-01-01 09:45:36 +00: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
Vítor Galvão
04bcf69287
Merge pull request #3617 from commitay/manpage
...
cask manpage: upgrade
2017-12-31 00:50:45 +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