aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2009-11-11It's about time we bumped the version eh?0.5Max 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-09DRY gcc_build and llvm_buildMax Howell
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-08Ignore spill for certain system pathsMax Howell
2009-11-08Reap the process or make zombiesMax 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-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-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-07Fix ENV.m32 when LDFLAGS already existsMax Howell
2009-11-07Don't require hardware.rb globallyMax 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-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
2009-10-23Implement inreplace natively in RubyMax Howell
I found yet another instance where the escaping wasn't perfect, so got fed up and just did it in Ruby. I hope this works for all existing usage. It should. The bonus here is that you can use RegExps now.
2009-10-23The tests need the actual optparse apparentlyMax Howell
2009-10-23Fixes Homebrew/homebrew#97: add fake optparse.rbAlexander Solovyov
2009-10-23Call to_s on ohai parametersMax Howell
2009-10-23Show backtrace during non fatal install steps if --debugMax Howell
2009-10-23Allow multiple formula to symlink the same directoryMax Howell
During the link step, if the destination symlink already exists, unlink it, and create a directory instead, then relink the original contents. Then continue linking the formula in question. Fixes Homebrew/homebrew#62
2009-10-23ENV.m32Max Howell
2009-10-23ENV.osx_10_5Max Howell
2009-10-23Remove mercurial and scons from the create blacklistMax Howell
Blacklist wxwidgets, it's in /usr/X11/lib.
2009-10-23Show where we cached the downloadMax Howell
2009-10-21Add separator param to ENV.append (to match prepend.)Adam Vandenberg
2009-10-20Allow revisions on SVN checkouts.Adam Vandenberg
2009-10-19Camelcase class names around the . from filenamesMax Howell
Eg. shell.fm -> ShellFm
2009-10-19ENV.universal_binaryMax Howell
Note, we still don't support PPC, this builds a 32 bit, 64 bit binary.
2009-10-19Add dependencies to 'brew info' outputMichael Stephens