16336 Commits

Author SHA1 Message Date
Adam Vandenberg
b643d105eb Allow underscore with these suffixes for version detection 2011-06-16 06:47:13 -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
Mislav Marohnić
5fdb145e76 enable updater tests to be run on their own
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-14 14:47:33 -07:00
Adam Vandenberg
db76c21aee brew audit: check for git://github.com/ urls and warn 2011-06-13 14:20:55 -07:00
Mike McQuaid
31dea3b800 Add changes to Homebrew internals for bottling. 2011-06-08 22:19:10 +01:00
Adam Vandenberg
760bbb4e36 Remove debugging puts 2011-06-08 11:34:01 -07:00
Adam Vandenberg
5d5a8ed32f Better support for brew install <url>
Brews installed via URL are now checked from the cache when
other commands are run. This allows for instance:

    brew install <vim-url>
    brew info vim
2011-06-08 11:13:50 -07:00
Dan Loewenherz
6495505f88 Add HOMEBREW_CACHE to let the user specify a cache directory
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-07 13:38:15 -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
Adam Vandenberg
1a5cf082d7 Edit universal_binary comment 2011-06-05 08:07:17 -07:00
Adam Vandenberg
f7c7fae0ed Also find versions in zipballs 2011-06-04 17:29:21 -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
Samuel Cochran
c893c3aec9 Better explanation of libxml2 and libxslt in blacklists.
Bundling explanation of X11 and libxslt is a bit odd and confusing, bundle libxml2 and libxslt instead extracted from X11 and /usr/lib requirements.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-30 18:13:38 -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
Charlie Sharpsteen
85d7d4e16c Add method to ENV for setting up a debug build
`ENV.Og` clears all optimization flags and adds `-g -O0`.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-26 07:53:06 -07:00
Adam Vandenberg
206c370d74 Move gz-only strategy into core. 2011-05-19 07:37:24 -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
6c51402141 fix_install_names fix for 10.5 2011-05-05 09:48:28 -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
Humza
cfd3bc0b7e Fix name of Mercurial in blacklist
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-01 08:50:39 -07:00
Adam Vandenberg
d7b50a5820 brew doctor: hard-code full path to mount command 2011-04-29 09:15:39 -07:00
Adam Vandenberg
950440dd06 No really, fix llvm_build_version and xcode_prefix 2011-04-26 14:13:53 -07:00
Adam Vandenberg
3ad0e634a3 Fix llvm_build_version to handle xcode_prefix output. 2011-04-26 13:43:41 -07:00
Adam Vandenberg
cfdca92630 Remove reference to 'brew install pip' 2011-04-25 13:13:16 -07:00
Adam Vandenberg
175228b416 Fix audit for new universal handling 2011-04-23 09:06:41 -07:00
Adam Vandenberg
4dbb08a6d8 Add ARGV.build_universal? 2011-04-23 08:36:38 -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
Adam Vandenberg
80ba991324 Edit keg-only message 2011-04-18 10:33:37 -07:00
Adam Vandenberg
90bacc913f ENV: Use /usr/X11 instead of symlink 2011-04-18 10:25:51 -07:00
Birger J. Nordølum
5a10cc8e76 Added SHA-256 to the fetch command.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-14 15:43:58 -07:00
Adam Vandenberg
d6382efdeb Add brew fetch --deps
`brew fetch --deps` will also cache the dependencies of any listed formulae.
2011-04-14 15:09:15 -07:00
Adam Vandenberg
bfd75db803 brew deps: add hidden option -n
-n means 'natural order' instead of alpha-order, and will show
the order in which the deps will be installed.
2011-04-13 13:48:31 -07:00
Kevin Ballard
8bb40e30e9 Remove 'sudo' from the npm installation instructions
Using 'sudo' should not be required to install npm, and isn't if the
user has used the default Homebrew installation process.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-12 16:05:15 -07:00
Adam Vandenberg
e3c6d9bf00 Handle complex $EDITOR values. 2011-04-12 10:09:41 -07:00