aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2011-08-24Prettier brew uses output (columnate)Max Howell
2011-08-24HOMEBREW_CURL_ARGS so that tests can be more silentMax Howell
2011-08-24oh1 stdout display functionMax Howell
2011-08-24Constants that are used once are dumbMax Howell
It just means nobody knows what is being done without scrolling up and down, up and down the file like a doofus on a pogo stick.
2011-08-24Revise cleanup text, we're removing, not uninstallingMax Howell
2011-08-22Fix uninstall.rb `brew remove --force` "Directory not empty" errorDave Bayer
Finder activity such as moving the position of an icon can create an unexpected .DS_Store file in a Cellar directory. This causes `brew remove --force` to throw an error that is reported as Error: Directory not empty - /usr/local/Cellar/<formula> This fix avoids that error, by calling rmtree rather than rmdir. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-22Specify that they are symlinksMax Howell
2011-08-19Blacklist MacRubyMax Howell
For now we don't support this kind of thing because our formula is a worse option, even though you have to update it yourself. Closes Homebrew/homebrew#6174
2011-08-17Only error out for `sudo brew install`Max Howell
Note this only happens if Homebrew is *not* installed sudo. Which is most of the time true. Fixes Homebrew/homebrew#6899
2011-08-11Add keg-only text to `brew info` outputJack Nagel
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-07brew doctor: do not check TMPDIR if it is not setAdam Vandenberg
2011-08-06Reset --hard after the first git initMax Howell
We don't know what revision the tarball was when homebrew was installed, so all we can do really is hard reset. In theory some set of git commands should suffice, but apparently --soft and --mixed resets ended up putting stuff in the index which would break subsequent `brew updates`. Fixes Homebrew/homebrew#6851
2011-08-04Fix Xcode 4 compiler paths for --use-gccCharlieRoot
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-02Prettier `brew versions` outputMax Howell
2011-08-02Bump copyright yearMax Howell
2011-08-02Fix `brew doctor` if sbin directory doesn't existMax Howell
2011-08-02Fix `brew update` local changes bugJack Nagel
Users were seeing local changes in their repository after updating, even though they had made no local changes. The repository setup sequence should use `git reset --soft` rather than vanilla `git reset`, which defaults to '--mixed'. '--soft' updates _only_ HEAD, leaving the index as-is, allowing future incantations of `brew update` to proceed without errors. Fixes Homebrew/homebrew#6732.
2011-08-02Oops, show proper git checkout commandMax Howell
2011-08-02Improvements to `brew versions`Max Howell
The output happens as it is determined, rather than all at once, which is preferable for CLI commands. This meant I had to hard-code the left-justification. The pre-amble warning is removed. Instead the command outputs the git checkout command for each she that you can type to get that old formula. I decided that reseting the one file will work 99% of the time and that it is too risky to reset the whole repo, this will roll-back bug fixes. Instead we should add functionality to compat/ in order to support old formula as required. Sometimes deps may have to be rolled-back too, but the user will have to figure this out on an ad-hoc basis. We are assuming a failure sophisticated user anyway, one who would like to get old versions of stuff. I moved most of the functions into Formula since IMO this makes more conceptual sense. I made the she get abbreviated by git (using --abbrev-commit) itself so it as short as can be.
2011-08-02Improve compatibility for old formulaMax Howell
Allow compatibility to be disabled with --no-compat or HOMEBREW_NO_COMPAT environment variable.
2011-08-02Added new command "versions"Sebastian Staudt
2011-07-31Fix brew update on LeopardAdam Vandenberg
2011-07-31Don't install bottles in non-default HOMEBREW_PREFIX.Mike McQuaid
2011-07-30fix doctor on 10.5Adam Vandenberg
2011-07-30Fix stripping of keg-only reasonsAdam Vandenberg
2011-07-30Remove "boring" args from the pretty_args onlyMax Howell
Dumb mistake. Sorry. Closes Homebrew/homebrew#6722
2011-07-30Strip keg_only? text to avoid double newlinesMax Howell
2011-07-30Exclude brew manpages from unbrewed.Max Howell
2011-07-30Don't abort if /usr/local is not writableMax Howell
Since this is our new policy for /usr/local.
2011-07-29Build from source (for now) unless on Lion.Mike McQuaid
Longer-term we'll try and use install_name_tool to fix Lion bottles so they run fine on 10.5 and/or 10.6. Closes Homebrew/homebrew#6699.
2011-07-29audit: make version checks strict onlyAdam Vandenberg
2011-07-29Emphasise the consequence of not installing to /usr/localMax Howell
2011-07-29Writability for /usr/local is no longer requiredMax Howell
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-29Make the check for a valid git repo betterMax Howell
Because the new installer creates the .git directory when it installs.
2011-07-29Don't mention the sbin PATH issue unless files are thereMax Howell
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-29Fix cache extension for github tarballsMax Howell
2011-07-29Don’t display boring configure argumentsMax Howell
2011-07-28check for a valid $TMPDIR path in brew doctorrisk
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-27Coerce flags to an array in `remove_make_var!`Trevor Wennblom
This is needed for Ruby 1.9.x compatibility, but we still don't support running Homebrew with anything other than a system provided 1.8.[67]. Fixes Homebrew/homebrew#6546 Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-27Add MacOS.lion? for MACOS_VERSION == 10.7Samuel Cochran
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-27Set origin remote URL when updating git clonesMax Howell
Thus the url we use can change. This only works provided the urls both contain git repos with the same blobs. But this should always be true.
2011-07-27Raise if mirror can’t be determinedMax Howell
Adjust mirror ohai slightly.
2011-07-27Detect Apache mirror system and parse out the closest mirror.Jan Lehnardt
All Apache Formulae should be updated to use the closer.vgi script to specify downloads rather than a random mirror that could be out of date or compromised. Apache's closer.cgi does periodic health checks. The base URL for the mirror system is http://www.apache.org/dyn/closer.cgi?path=#{filepath} e.g.: http://www.apache.org/dyn/closer.cgi?path=/couchdb/1.0.3/apache-couchdb-1.0.3.tar.gz Note: The addition of the "Actually downloading..." message is sub-optimal as the message should probably be emitted in _fetch() rather than fetch(), but I didn't want to change the way Homebrew works today, so I'm leaving this for mxcl & team to sort out or adopt :)
2011-07-26Fix brew doctor when no Xcode is detected.Adam Vandenberg
2011-07-25doctor: be more forgiving about GREP_OPTIONSJack Nagel
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-22Fix typo in `brew doctor` commandBrant Bobby
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-21Retire check for GCC 4.0 under XCode 4.xCharlie Sharpsteen
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-10doctor: don't report wrong location of autoconf if it's missingMislav Marohnić
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-05sandybridge hardware identifier for brew --configAustin Seipp
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-04Fix install names for keg-only brews tooMax Howell
Fixes Homebrew/homebrew#6065. Fixes Homebrew/homebrew#6218.