Sebastian Staudt
6726fe090f
Added new command "versions"
2011-08-02 10:35:30 +01:00
Adam Vandenberg
f30893a968
Fix brew update on Leopard
2011-07-31 10:32:09 -07:00
Adam Vandenberg
733e280e61
fix doctor on 10.5
2011-07-30 22:24:19 -07:00
Max Howell
630c77a362
Exclude brew manpages from unbrewed.
2011-07-30 11:04:04 +01:00
Max Howell
1cfad8f502
Don't abort if /usr/local is not writable
...
Since this is our new policy for /usr/local.
2011-07-30 11:03:34 +01:00
Adam Vandenberg
8c50cb54c0
audit: make version checks strict only
2011-07-29 08:34:00 -07:00
Max Howell
76745610ec
Emphasise the consequence of not installing to /usr/local
2011-07-29 15:21:10 +01:00
Max Howell
01a779655c
Writability for /usr/local is no longer required
...
Provided the user installed with our installer anyway. It creates all the directories that Homebrew will need during its life thus negating the need for root writability.
2011-07-29 14:56:59 +01:00
Max Howell
98ffbeb8f5
Make the check for a valid git repo better
...
Because the new installer creates the .git directory when it installs.
2011-07-29 14:55:41 +01:00
Max Howell
36ce83fd8d
Don't mention the sbin PATH issue unless files are there
...
Because the new installer will always create /usr/local/sbin. Because we must keep /usr/local root:wheel unless we want to be considered bad citizens.
2011-07-29 14:54:42 +01:00
risk
a10aa12f29
check for a valid $TMPDIR path in brew doctor
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-28 19:50:39 -07:00
Adam Vandenberg
e2b21b0b4a
Fix brew doctor when no Xcode is detected.
2011-07-26 16:01:30 -07:00
Jack Nagel
5b06a27e99
doctor: be more forgiving about GREP_OPTIONS
...
Currently, `brew doctor` complains about GREP_OPTIONS being set,
regardless of its value. The cmake formula, for which this check was
introduced, is more specific about what actually makes it fail.
GREP_OPTIONS='--color=auto' will not cause the build to fail, so don't
warn about this.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-25 16:25:44 -07:00
Brant Bobby
113eaf26e4
Fix typo in brew doctor
command
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-22 11:47:13 -07:00
Charlie Sharpsteen
fbff2ee853
Retire check for GCC 4.0 under XCode 4.x
...
XCode 4.x only includes GCC 4.2. Therefore, having `brew doctor` report that
GCC 4.0 is missing only spreads fear, uncertainty and doubt over a situation
that is status quo.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-21 08:10:33 -07:00
Mislav Marohnić
f0eab140f8
doctor: don't report wrong location of autoconf if it's missing
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-10 12:18:55 -07:00
Adam Vandenberg
cee1003782
brew-doctor: use String.start_with?
2011-06-19 21:32:54 -07:00
Les Hill
0d44609dfb
doctor: check /usr/local for writablity
...
- Airfoil during the install of InstantOn changes /usr/local to
root:wheel ownership
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-19 09:46:57 -07:00
Max Howell
1587c70357
Don’t output "nothing" messages
...
This is how we do it in general in Homebrew.
2011-06-17 09:30:25 +01:00
Adam Vandenberg
be63ae9b14
Inclue HOMEBREW_USE_CLANG in --env output
2011-06-16 20:58:06 -07:00
José Martínez
2763fc6f5a
Add clang compiler option
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-16 20:45:52 -07:00
Adam Vandenberg
ea35d749af
be more ruby-like
2011-06-16 20:35:09 -07:00
Adam Vandenberg
00b7e07f45
audit: check for redundant 'version'
2011-06-16 20:31:55 -07:00
Jack Nagel
4b6de22cf2
Fix brew-info when on branch master and github.user set
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-16 19:30:19 -07:00
Adam Vandenberg
0523f66bec
deps: document -n switch
2011-06-15 09:02:18 -07:00
Max Howell
a656243377
Don’t error out if the Cellar doesn’t yet exist
2011-06-15 13:04:06 +01:00
Max Howell
08f31bc573
Fix first brew update
with Git 1.7.4+; Fixes Homebrew/homebrew#5128
...
Behaviour for git checkout was changed such that the update would fail because it refused to checkout files on to existing files in the working directory.
This was bad behaviour anyway, we should make efforts to keep any local modifications to the Homebrew checkout. Everything is neatly resolved if we just do a --soft reset.
Closes Homebrew/homebrew#6017 .
2011-06-15 13:02:48 +01:00
Mislav Marohnić
8c521ca3d0
refactor update
command to use git diff instead of parsing pull
output
...
This fixes reporting of which formulae changed in git versions where `pull`
output is not compatible.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-14 14:47:39 -07:00
Adam Vandenberg
db76c21aee
brew audit: check for git://github.com/ urls and warn
2011-06-13 14:20:55 -07:00
Adam Vandenberg
b15be6965d
brew-doctor: do not complain about trailing slashes
2011-06-07 13:18:00 -07:00
Adam Vandenberg
5bc0625fc3
Reformat minimum Xcode check
2011-06-06 08:03:07 -07:00
Adam Vandenberg
fd533881a6
brew audit: also check for spaces in Amazon formulae
2011-06-06 07:25:00 -07:00
Mislav Marohnić
04b90610a3
the doctor
command exits with status "1" if there are warnings
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-03 21:16:02 -07:00
Mislav Marohnić
129b80fb9b
simplify the $stdout hijack in doctor
command
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-03 21:15:58 -07:00
Mislav Marohnić
bcb8fcf6dc
fix doctor
command in case Cellar dir doesn't yet exist
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-03 21:15:55 -07:00
Adam Vandenberg
884048c52a
brew-doctor: only check sbin if it exists
2011-06-02 09:27:11 -07:00
Adam Vandenberg
cf13c6ddf3
brew-audit: do not abort after first brew with errors
2011-05-31 13:32:47 -07:00
Jack Nagel
8f59c84ab2
audit exits with status 1 if there are problems
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-27 22:03:20 -07:00
Adam Vandenberg
7e132a8c46
brew doctor: update autoconf message
2011-05-26 22:19:22 -07:00
Mike McQuaid
f8127143cf
Create method for accessing Xcode version.
2011-05-18 17:04:00 +01:00
Adam Vandenberg
3718a60c90
brew doctor: find suspicious git newline configs
2011-05-12 08:47:51 -07:00
Adam Vandenberg
d44a0561ea
brew doctor: check for stray .la files
2011-05-12 08:10:47 -07:00
Adam Vandenberg
8fea11e764
brew doctor: warn about Mono and CMake
2011-05-12 07:24:10 -07:00
Adam Vandenberg
f4cd85aa49
brew doctor: add check for stray .pc files
2011-05-09 17:23:35 -07:00
Jack Nagel
4e65175564
Fix misspelled method name: Formula.canonical_name
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-07 21:50:37 -07:00
Adam Vandenberg
f253cf3b10
brew doctor: check for stray static libs too
...
CMake will pick up static libs in /usr/local.
2011-05-05 09:40:03 -07:00
Adam Vandenberg
d7b50a5820
brew doctor: hard-code full path to mount command
2011-04-29 09:15:39 -07:00
Adam Vandenberg
175228b416
Fix audit for new universal handling
2011-04-23 09:06:41 -07:00
Sebastian Staudt
be482fb9ab
Fixed reading branch name
...
The git command now uses --git-dir instead of --work-tree.
Using --work-tree won't work if you are inside another Git repository.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-18 22:30:48 -07:00
Adam Vandenberg
e08ef940be
Add --force to brew cleanup
2011-04-18 21:11:08 -07:00