246 Commits

Author SHA1 Message Date
Mike McQuaid
621c44dbd2 CLT is just CLT now; not "for Xcode".
References Homebrew/homebrew#17383.
2013-07-01 19:02:32 +01:00
Jack Nagel
5b75c73df6 Do this in a saner way 2013-06-29 21:36:04 -05:00
Jack Nagel
936f9487b1 doctor: don't pass pathnames to Formula.factory
Fixes Homebrew/homebrew#20908.
2013-06-29 21:26:49 -05:00
Adam Vandenberg
1cd3149677 Be explicit about passing formulae names or instances to Tab 2013-06-26 19:58:08 -07:00
Samuel John
d456d42813 doctor: share/python no longer needed in PATH
Check for HOMEBREW_PREFIX/share/python and python3
in PATH and tell about the new location and that
files from there can be removed. Also instructions
on how to upgrade python packages are given.
2013-06-19 12:27:50 +02:00
Jack Nagel
652e0982f0 Add doctor check for OS X > 10.8 2013-06-11 10:18:24 -05:00
Misty De Meo
ef054a2d02 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
52d84ba7cf doctor: check git SSL settings on <= 10.5 2013-05-27 10:06:45 -05:00
Jack Nagel
00548b81ce doctor: combine git origin checks 2013-05-26 17:55:34 -05:00
Jack Nagel
255c6e7c3f doctor: combine git existence and version checks 2013-05-26 17:48:12 -05:00
Jack Nagel
6f6d4e5894 doctor: style nits 2013-05-24 19:53:39 -05:00
Jack Nagel
04d0cea01c Directory, not folder 2013-05-23 23:33:36 -05:00
Jack Nagel
8b98e83347 doctor: reorganize check_for_macgpg2 2013-05-23 23:28:16 -05:00
Jack Nagel
187b9c9d59 doctor: simplify trailing slash checks 2013-05-23 23:07:20 -05:00
Jack Nagel
6a020239d1 doctor: extract helper from stray file checks 2013-05-23 22:57:00 -05:00
Jack Nagel
1194880cf2 doctor: fix check_for_broken_symlinks
Fixes Homebrew/homebrew#20000.
2013-05-23 11:28:16 -05:00
Jack Nagel
42c02a894d doctor: remove stale OS version check
Closes Homebrew/homebrew#19959.
2013-05-22 23:33:22 -05:00
Jack Nagel
3755b33a97 Refactor Xcode/CLT version checks 2013-05-22 22:30:38 -05:00
Jack Nagel
46f8be1d9e Use Hash#each_value rather than discarding key 2013-05-11 16:06:18 -05:00
Jack Nagel
f61a4f8893 doctor: update ruby version check 2013-05-07 19:45:10 -05:00
Jack Nagel
14bc883750 doctor: update git version check 2013-05-07 19:45:10 -05:00
Misty De Meo
f4cf04b95e doctor: don't shell out in coreutils check 2013-04-25 18:23:43 -05:00
Misty De Meo
814b969963 doctor: add default-names findutils check
Fixes Homebrew/homebrew#19265.
2013-04-25 18:23:43 -05:00
Jack Nagel
010a1461f7 Avoid repeated interpolation here too 2013-04-14 23:48:20 -05:00
Jack Nagel
7f9bd7a067 doctor: 'raring' => 'ready'
It was pointed out that 'raring' is a rare word can be confusing to
non-native speakers.

Closes Homebrew/homebrew#18659, see that for details.
2013-04-12 19:32:23 -05:00
Jack Nagel
d25767b354 doctor: consolidate directory access checks
Also include a writability check for lib.

Closes Homebrew/homebrew#18571.
2013-04-12 19:32:02 -05:00
Geoff Petrie
79c745cc76 doctor: suggest brew update in outdated warning
Closes Homebrew/homebrew#19106.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-04-11 02:12:59 -05:00
Jack Nagel
62a0b3f18d Use #grep where it will suffice 2013-04-05 22:00:36 -05:00
Jack Nagel
ec7dc78ba4 Simplify destructuring this array 2013-03-30 15:16:44 -05:00
Jack Nagel
4a52bf1c31 Use each_key instead of keys.each 2013-03-29 21:59:02 -05:00
Adam Vandenberg
3320b15609 doctor: restore newlines between checks
Closes Homebrew/homebrew#18060.
2013-03-29 11:14:46 -07:00
Adam Vandenberg
d9f64a1574 doctor: check for all DYLD env vars 2013-03-26 16:19:55 -07:00
Samuel John
ac68de8a7e 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 Homebrew/homebrew#18544 and fixes Homebrew/homebrew#14224
2013-03-18 12:09:15 +01:00
Adam Vandenberg
69c8ed1a1e doctor: add check for coreutils in path 2013-03-13 10:22:09 -07:00
Adam Vandenberg
7b7268c065 doctor: mess with indentation 2013-03-13 09:45:55 -07:00
Misty De Meo
feb836e1ea doctor: skip git origin check without brew repo
Likely fixes Homebrew/homebrew#18324.
2013-03-11 10:30:08 -05:00
Misty De Meo
6b96102fad doctor: Update Mono pkg-config warning 2013-02-25 11:17:19 -06:00
Jack Nagel
f037be5148 Don't shadow outer local variables 2013-02-18 12:13:36 -06:00
Mike McQuaid
7766505348 brew-doctor: fix autocrlf warning (again).
Closes Homebrew/homebrew#17843.
2013-02-18 10:42:14 +00:00
Adam Vandenberg
37b28741f2 doctor: make brew link more clear
Closes Homebrew/homebrew#17805.
2013-02-12 22:30:49 -08:00
Samuel John
e851e88863 brew doctor: Check for CaSe SeNsItIvE fs
Closes Homebrew/homebrew#16658.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-01-31 21:48:28 -08:00
Mike McQuaid
27700390b4 Improve brew doctor autocrlf message.
Better version of ed357d.

References Homebrew/homebrew#15711.
References Homebrew/homebrew#17361.
References Homebrew/homebrew#17437.
2013-01-30 21:29:19 -08:00
Jack Nagel
b6631ac23f doctor: core.autocrlf can be empty
c.f. Homebrew/homebrew#17361.
2013-01-30 01:26:28 -06:00
Mike McQuaid
92a5c765a9 Improve brew doctor autocrlf check.
Closes Homebrew/homebrew#15711.
2013-01-29 17:14:00 -08:00
Misty De Meo
14bb39b898 Don't print git origin check without git repo 2013-01-29 09:48:43 -06:00
Jack Nagel
1ca5b7a204 doctor: fix typo 2013-01-28 23:02:25 -06:00
Sema
667b53ffb0 doctor: fix transposed git command
Closes Homebrew/homebrew#17338.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-01-27 13:17:19 -06:00
Jack Nagel
fe802f05ef missing: ignore unused optional and recommended deps 2013-01-26 12:14:48 -06:00
Adam Vandenberg
2c6a7bdca8 Check ownership of logs folder
Closes Homebrew/homebrew#16607.
2013-01-23 20:12:55 -08:00
Jack Nagel
6b59e610f0 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