Jack Nagel
94736a8b1d
Add doctor check for OS X > 10.8
2013-06-11 10:18:24 -05:00
Misty De Meo
691fcf0377
doctor: add check for osx-gcc-installer
...
This might not detect all cases, but should detect the two most
common ones.
2013-06-11 08:13:24 -05:00
Jack Nagel
a377cad783
doctor: check git SSL settings on <= 10.5
2013-05-27 10:06:45 -05:00
Jack Nagel
95119c2deb
doctor: combine git origin checks
2013-05-26 17:55:34 -05:00
Jack Nagel
1f699a6902
doctor: combine git existence and version checks
2013-05-26 17:48:12 -05:00
Jack Nagel
a22fc2e015
doctor: style nits
2013-05-24 19:53:39 -05:00
Jack Nagel
976147833b
Directory, not folder
2013-05-23 23:33:36 -05:00
Jack Nagel
c08d8dce56
doctor: reorganize check_for_macgpg2
2013-05-23 23:28:16 -05:00
Jack Nagel
9f2f3a305b
doctor: simplify trailing slash checks
2013-05-23 23:07:20 -05:00
Jack Nagel
a6005715b8
doctor: extract helper from stray file checks
2013-05-23 22:57:00 -05:00
Jack Nagel
e8cec18e30
doctor: fix check_for_broken_symlinks
...
Fixes #20000 .
2013-05-23 11:28:16 -05:00
Jack Nagel
22523c502b
doctor: remove stale OS version check
...
Closes #19959 .
2013-05-22 23:33:22 -05:00
Jack Nagel
950c9b0bee
Refactor Xcode/CLT version checks
2013-05-22 22:30:38 -05:00
Jack Nagel
b29193d3b9
Use Hash#each_value rather than discarding key
2013-05-11 16:06:18 -05:00
Jack Nagel
738d39285b
doctor: update ruby version check
2013-05-07 19:45:10 -05:00
Jack Nagel
7c79f7ac48
doctor: update git version check
2013-05-07 19:45:10 -05:00
Misty De Meo
9b4310b362
doctor: don't shell out in coreutils check
2013-04-25 18:23:43 -05:00
Misty De Meo
2b34a9c612
doctor: add default-names findutils check
...
Fixes #19265 .
2013-04-25 18:23:43 -05:00
Jack Nagel
bc33a40907
Avoid repeated interpolation here too
2013-04-14 23:48:20 -05:00
Jack Nagel
f0f1bdf1a2
doctor: 'raring' => 'ready'
...
It was pointed out that 'raring' is a rare word can be confusing to
non-native speakers.
Closes #18659 , see that for details.
2013-04-12 19:32:23 -05:00
Jack Nagel
fd11f138bd
doctor: consolidate directory access checks
...
Also include a writability check for lib.
Closes #18571 .
2013-04-12 19:32:02 -05:00
Geoff Petrie
222b9ebc1b
doctor: suggest brew update in outdated warning
...
Closes #19106 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com >
2013-04-11 02:12:59 -05:00
Jack Nagel
17379509ed
Use #grep where it will suffice
2013-04-05 22:00:36 -05:00
Jack Nagel
332e0fb20c
Simplify destructuring this array
2013-03-30 15:16:44 -05:00
Jack Nagel
9e3ef197fe
Use each_key instead of keys.each
2013-03-29 21:59:02 -05:00
Adam Vandenberg
b8380793c0
doctor: restore newlines between checks
...
Closes #18060 .
2013-03-29 11:14:46 -07:00
Adam Vandenberg
333f3cf007
doctor: check for all DYLD env vars
2013-03-26 16:19:55 -07:00
Samuel John
5da30fa1f9
doctor: Tweak git-clean suggestion for empty dirs
...
git clean -f is not enough. Needs `-d` somtimes to
handle cases when we rename a dir.
Fixes #18544 and fixes #14224
2013-03-18 12:09:15 +01:00
Adam Vandenberg
fa54679a1b
doctor: add check for coreutils in path
2013-03-13 10:22:09 -07:00
Adam Vandenberg
a75b095fe5
doctor: mess with indentation
2013-03-13 09:45:55 -07:00
Misty De Meo
7a7ba86d76
doctor: skip git origin check without brew repo
...
Likely fixes #18324 .
2013-03-11 10:30:08 -05:00
Misty De Meo
7219530514
doctor: Update Mono pkg-config warning
2013-02-25 11:17:19 -06:00
Jack Nagel
4d341f2115
Don't shadow outer local variables
2013-02-18 12:13:36 -06:00
Mike McQuaid
d2273d3223
brew-doctor: fix autocrlf warning (again).
...
Closes #17843 .
2013-02-18 10:42:14 +00:00
Adam Vandenberg
52b8be1fb0
doctor: make brew link more clear
...
Closes #17805 .
2013-02-12 22:30:49 -08:00
Samuel John
238a2f02bc
brew doctor: Check for CaSe SeNsItIvE fs
...
Closes #16658 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com >
2013-01-31 21:48:28 -08:00
Mike McQuaid
fbbfc7474c
Improve brew doctor autocrlf message.
...
Better version of ed357d.
References #15711 .
References #17361 .
References #17437 .
2013-01-30 21:29:19 -08:00
Jack Nagel
eff8a61254
doctor: core.autocrlf can be empty
...
c.f. #17361 .
2013-01-30 01:26:28 -06:00
Mike McQuaid
ed357d9847
Improve brew doctor autocrlf check.
...
Closes #15711 .
2013-01-29 17:14:00 -08:00
Misty De Meo
cf0c4e90a6
Don't print git origin check without git repo
2013-01-29 09:48:43 -06:00
Jack Nagel
b9210d30de
doctor: fix typo
2013-01-28 23:02:25 -06:00
Sema
4767bb572a
doctor: fix transposed git command
...
Closes #17338 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com >
2013-01-27 13:17:19 -06:00
Jack Nagel
85a77eb1d0
missing: ignore unused optional and recommended deps
2013-01-26 12:14:48 -06:00
Adam Vandenberg
926e0ee120
Check ownership of logs folder
...
Closes #16607 .
2013-01-23 20:12:55 -08:00
Jack Nagel
f44954a1af
doctor: loosen git origin regexp
...
If the repository is set up by `brew update`, the remote URL is
https://github.com/mxcl/homebrew.git , but if it is set up by the install
script, the .git suffix is omitted.
2013-01-17 21:46:02 -06:00
Simon Sigurdhsson
6bbb92f138
Doctor check for origin
...
Added checks on doctor.rb for:
* Missing git origin
* git origin not pointing at mxcl/homebrew
Tests use `git config --get remote.origin.url`.
Also added printout of origin to --config.rb.
Fixes #14399 .
Closes #17117 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com >
2013-01-17 17:18:15 -06:00
Misty De Meo
9643ba6014
doctor: use -V for python version
...
`python --version` doesn't work in some (very) old versions of
python. While I doubt this is going to come up very often, it's
theoretically possible someone has an old python first in their
path. (python -V works on all versions I'm aware of, including
python3, and comes before --version in the --help anyway.)
Also skips the warning in case the regexp matches nothing, which
probably shouldn't happen. But if it does we shouldn't produce the
wrong warning.
2013-01-09 17:09:28 -06:00
Jack Nagel
30dc1bea9a
Prune LinkedKegs relative to correct path
...
Fixes #16948 .
2013-01-08 11:03:13 -06:00
Jack Nagel
caa4876735
doctor: add helper for printing file listings
2012-12-22 12:48:53 -06:00
Jack Nagel
33465bbec9
doctor: f.prefix is already a pathname
2012-12-21 19:33:24 -06:00