aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2009-11-11It's about time we bumped the version eh?0.5Max Howell
2009-11-11Include macports or fink info with brew --configMax Howell
2009-11-11Include HEAD SHA with brew --configMax Howell
2009-11-11Tty.em; bold white underlinedMax Howell
2009-11-11Disable watch_out_for_spill temporarilyMax Howell
It's a great feature but it seems to conflict with our new system() replacement. Clearly the bug is still in our system() but what exactly it is is not clear and this bug sucks. See Homebrew/homebrew#124
2009-11-11Ignore spill in all /*/Library/CachesMax Howell
2009-11-09My idea of tidy, sorry Adam…Max Howell
2009-11-09DRY gcc_build and llvm_buildMax Howell
2009-11-09Add OS X, Ruby, compiler & hardware info to --configAdam Vandenberg
2009-11-09Ignore stdout during GitDownloadStrategy.stageMax Howell
2009-11-09Don't ignore interupts during Formula.systemMax Howell
As I understand it (I tested too), signal propogation is handled by the parent Ruby process. However this was working mostly anyway. So I don't fully understand what is going on. However this seems to not hang in Process.wait where it was before for one test case.
2009-11-09Don't use Kernel.system muchMax Howell
It just seems to behave strangely with SIGINT. Eg. SIGINT causes tar to exit, but the SIGINT is ignored by our process. This is not the case when used with curl.
2009-11-09Don't error out if .DS_Store is in a kegMax Howell
2009-11-08Don't watch for spill for Quicktime stuffMax Howell
2009-11-08Don't error out before Cellar is createdMax Howell
We need a test for this.
2009-11-08Warn users about Xcode versions that are too oldMax Howell
Closes Homebrew/homebrew#116
2009-11-08Ignore spill for certain system pathsMax Howell
2009-11-08Reap the process or make zombiesMax Howell
2009-11-08Simplify the library path determination code a littleMax 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-08Ensure BREW_FILE is an absolute pathMax Howell
It's a constant and Dir.getwd can change.
2009-11-08List --HEAD/-H in brew usageMax Howell
2009-11-08Use our own popen implementation in Formula.systemMax Howell
The rationale here is that the --verbose mode had a bug where it didn't escape its parameters properly. Which caused ocassionally cryptic issues.
2009-11-07Propagate exit status in ExecutioError exceptionMax Howell
2009-11-07Include /Library in watch_out_for_spillMax Howell
2009-11-07Blacklist RubyGems creationMax Howell
2009-11-07brew edit works if the file in question won't parseMax Howell
2009-11-07Solve the brew install, brew rm, brew install problem for HEAD formulaMax Howell
The problem was that git checkout -b doesn't work the second time. This simple solution works by never creating a local branch.
2009-11-07adding zsh completionErik Kastner
2009-11-07Move BuildError and ExceutionError to global.hMax Howell
More sensible, and fixes brew
2009-11-07Provide system info for build errorsMax Howell
2009-11-07Fix ENV.m32 when LDFLAGS already existsMax Howell
2009-11-07Don't require hardware.rb globallyMax Howell
2009-11-07Typo correctionMax Howell
2009-11-07Fixed SIGINT handling, so we can have our newlineMax Howell
We trap the INT in the install process now so the newline race condition is avoided. Much neater and more polished now.
2009-11-07Better error for unknown brew commandsMax Howell
2009-11-07Use HOMEBREW_REPOSITORY for brew logMax Howell
2009-11-07Raise if ARGV.next is out of boundsMax Howell
2009-11-07Slightly better ARGV.usage for contributionMax Howell
2009-11-07Better errors if missing keg or formula argumentsMax Howell
2009-11-07Don't throw if named.empty?Max Howell
Generally this isn't desired or useful.
2009-11-07brew install improvementsMax Howell
Couldn't make this atomic, apologies. Fixes a few things, like deps failing to build not aborting the install. --force now works properly again. Overall more robust code. I went back over it all and gave it a lot of thought. Cleaner separation of logic. Less code in brew, now the only code there is ARGV handling, and basic sanity checks. Not extending ARGV or ENV in global now as that would propagate to other tools or utilities you may write.
2009-11-04More useful Macports/Fink detection functionMax Howell
2009-11-04Faster uninstallMax Howell
Only unlink the keg, don't prune. That's enough, we shouldn't do general maintenance anyway.
2009-11-04Fixes Homebrew/homebrew#106; Don't downcase ARGV.namedMax 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-24Marshal install.rb exceptions back to the parent processMax Howell
Using an error pipe. The use of ENV[HOMEBREW_ERROR_PIPE] feels wrong, but I wasn't sure how else to proxy the file descriptor to the child process since the fork immediately calls exec.
2009-10-24Better md5 mismatch exceptionMax Howell