aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/global.rb
AgeCommit message (Collapse)Author
2012-03-16Homebrew 0.90.9Max Howell
2012-03-16HOMEBREW_LIBRARYMax Howell
I got fed up writing HOMEBREW_REPOSITORY/"Library" and also correcting mistakes when I did HOMEBREW_PREFIX instead.
2012-03-14Use /Library/Caches/HomebrewMax Howell
We don't penalise existing users; if ~/Library/Caches/Homebrew already exists and is writable, we select that. This is the correct choice, the cache should be the same directory whichever user is used and whatever instance of brew is invoked. The Cache directory is set to 0777 this allows any user to write to it and fixes Homebrew/homebrew#10857.
2012-03-09Tell the user when build logs are copiedAdam Vandenberg
2012-03-07Protect against unwritable cache locationMax Howell
2011-12-21Homebrew 0.8.10.8.1Adam Vandenberg
This version number is arbitrary, and only used to differentiate versions in bug reports. There have been enough changes to compiler detection since 0.8 that it makes sense to bump the version here.
2011-12-11'CHANGES' is also a meta fileJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-08Ignore $HOME/.curlrc when invoking curlJack Nagel
Several issues have been caused by conflicts between the options Homebrew passes to curl and those read from $HOME/.curlrc. Passing '-q' will force curl to ignore settings in that file. Suggested in Homebrew/homebrew#9027. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-08-31Save config.log to ~/Library/Logs/HomebrewMax Howell
Also tidied error output. Still could be tidied quite a lot but I am still considering how best to go about it.
2011-08-24HOMEBREW_CURL_ARGS so that tests can be more silentMax Howell
2011-08-02Improve compatibility for old formulaMax Howell
Allow compatibility to be disabled with --no-compat or HOMEBREW_NO_COMPAT environment variable.
2011-06-21Make bottle path.Mike McQuaid
2011-06-16Fix issue checklist linkAdam Vandenberg
2011-06-08Better support for brew install <url>Adam Vandenberg
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-07Add HOMEBREW_CACHE to let the user specify a cache directoryDan Loewenherz
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-12Homebrew 0.80.8Adam Vandenberg
2011-03-12Use + instead of /.Adam Vandenberg
2011-03-12Revised bug report textMax Howell
2011-03-12Some CleanupMax Howell
2011-03-12Refactor the brew command into one file per commandMax Howell
The code was sucking. To the extent that maintenance was hard. It's a lot easier to work with code that is sensibly split at sensible boundaries. So now it is more like that. But the refactor is minimal. Because we don't want you to have more merge hell than absolutely necessary. If you merge you will need to pay attention to brew.h.rb (as it is deleted) and bin/brew (as command logic is gone). It will be painful, but you will just have to help git out by moving any changes around manually. Note compatibility.rb. It ensures that any function renames or removals don't break anything. We're pretty serious about backwards compatibility. And that's because we encourage you to hack around with the innards. And we couldn't do that if we would then just make stuff disappear behind your back.
2010-10-31Bump Homebrew to 0.7.10.7.1Adam Vandenberg
The Homebrew version number is mainly useful for bug reports. Since it is included in "brew --config" output, it is an easy way to see roughly how new the a user's version of Homebrew is. Bumping the micro version now, in anticipation of some more version-changing events in the near future.
2010-09-07Bump Xcode recommendation to 3.2.3Adam Vandenberg
2010-08-07Homebrew now at version 0.70.7Adam Vandenberg
Changes in this version include: * Aliases are now defined by relative symlinks rather than in the formulae themselves. Many commands are faster now that they don't have to read every formula to find aliases. * "url" now supports the same features as "head", including ":using" and version specifiers for VCS systems. * Files and methods marked for deprecation in 0.7 have been removed. * The Formula DSL now supports "skip_clean :all" and "keg_only 'reason'"
2010-07-21Bump Xcode recommendation to 3.2.2Adam Vandenberg
2010-07-08Clarify cellar commentAdam Vandenberg
2010-07-08Move exceptions from global to utils; remove duplicate defintionsAdam Vandenberg
2010-06-10Fix: attr doesn't take a list.Adam Vandenberg
2010-06-10Failures during ./configure should mention config.log.Adam Vandenberg
2010-04-06Change homepage. Fixes Homebrew/homebrew#105.Adam Vandenberg
2010-03-16Move recommended compiler versions into constants.Adam Vandenberg
2010-03-11Add a snapshot of ENV to BuildError and show some flags with the stack trace.Adam Vandenberg
2010-03-08Homebrew is now at version 0.60.6Adam Vandenberg
We've bumped the version number, as Homebrew no longer tries to use LLVM by default (on Snow Leopard.)
2010-03-07String.undent for prettier HEREDOCsMax Howell
2010-03-01Move license block to separate LICENSE file.Adam Vandenberg
2010-01-16Stop raising during the raise ctorMax Howell
2010-01-13Print quotes around executed arguments with spacesMax Howell
Eg: ['foo', 'bar la'] -> "foo 'bar la'"
2009-11-18Fix HOMEBREW_BREW_FILE for unit tests.Adam Vandenberg
2009-11-11It's about time we bumped the version eh?0.5Max Howell
2009-11-08Set ENV[HOMEBREW_BREW_FILE]Max Howell
Thus install.rb gets the path to the instantiating brew process rather than whichever is first in the PATH. Not to mention Homebrew doesn't *have* to be in the PATH.
2009-11-08Rename BREW_FILE HOMEBREW_BREW_FILEMax Howell
Because it's a global.h constant and that file can be included by other projects.
2009-11-07Propagate exit status in ExecutioError exceptionMax Howell
2009-11-07Move BuildError and ExceutionError to global.hMax Howell
More sensible, and fixes brew
2009-11-07Don't require hardware.rb globallyMax Howell
2009-11-04Tweak code to locate Cellar path.Adam Vandenberg
I think this tweak to finding the Cellar path addresses one of mxcl's concerns over supported install scenarios.
2009-11-04Rewrite of HOMEBREW_ folder locationsAdam Vandenberg
This rewrite attempts to sort out where the Prefix, Cellar, and Repository are relative to the real and symlinked 'brew' command. Also included is a --config option which dumps all of these variables. Any top-level script must define a "BREW_FILE" that gives the path to brew as it exists in the path. 'brew' itself just uses __FILE__ and install.rb does a `which brew` (there may be a better way?) The Prefix is always relative to the location of brew as it exists in the path. Thus, whether or not /usr/local/bin/brew is a symlink or real file, the Prefix is always /usr/local. If you have brew in some other prefix, such as /nonstandard/bin/brew, then '/nonstandard/ will be managed by brew instead. The Repository, Cellar, and "Library/Homebrew" required code is always found relative to the "real" path or brew. If brew is a real file in /usr/local/bin/brew, then everything else will be found in /usr/local and we'll expect a /usr/local/.git Otherwise, we dereference brew's symlink and look for everything else relative to that path instead.
2009-10-15Some subdirs and renames to aid homebrew n00bsMax Howell
The classes better reflect their contents. I'm sure this change may be contentious, but I am a sucker for trying to create source bases that are easy to get to grips with and easy to navigate. brewkit.rb is now a deprecated file.
2009-09-30Determine the repo path in a symlink-friendly way.Steve Losh
The Contributions/selflink.sh script does not symlink the .git directory, so 'brew update' will fail because the prefix (/usr/local/) is not a git repository. To determine the actual location of the git repo we can get the realpath of the Library (to expand any symlinks) and take the parent of that.
2009-09-30Fixes Homebrew/homebrew#68, let's not break fresh Homebrew installsMax Howell
Thanks to boztek for spotting this. I'll commit a test shortly.
2009-09-29Add HOMEBREW_REPOSITORY prefix for `brew up`Andre Arko
Signed-off-by: Max Howell <max@methylblue.com> I removed whitespace changes and changed readlink to realpath as readlink raises if it's not a link.
2009-09-25Add full version and build numbers to user agentPiotr Usewicz
Signed-off-by: Max Howell <max@methylblue.com> I adapted it slightly based on the user agent that Safari gives.