aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
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-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 #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 #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 #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
2009-10-19Allow svn+http:// urlsMax Howell
2009-10-19Reimplemented HttpDownloadStrategy needs 4 parameters nowMax Howell
2009-10-19Remove assignment to unused temporary variableMax Howell
2009-10-19Fix #52: Add ability to checkout a branch or tag.Jannis Leidel
GitDownloadStrategy and MercurialDownloadStrategy now can be used like this: head 'git://server/repo.git', :branch => 'stable' head 'hg://server/repo/', :tag => '1.0.4'
2009-10-19Allow formula names with '+' in themMax Howell
HFS+ handles the + fine. However the Ruby class name needs a s/+/x/g. I acknowledge that supporting + will make it harder to port to certain other filesystems. However that's your challenge! :D
2009-10-15Allow --force for blacklisted formula namesMax Howell
2009-10-15Blacklist brew create sconsMax Howell
2009-10-15Put colors in Tty classMax Howell
Changed format of Errors and Warnings slightly.
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-10-15Move verbose ARGV display to install.rbMax Howell
This works better as it comes after any keg-only deps change ENV, but also it needs to happen after brewkit is required and that only happens in install now.
2009-10-15s/require 'brewkit'/require 'formula'/gMax Howell
brewkit.rb changes ENV destructively, so lets not do that everytime a formula is required. Now it's possible for other tools to require a formula description without worrying about side-effects.
2009-10-12Introduce :provided_by_osx for keg_only?Max Howell
2009-10-12Use explicit path to LLVMMax Howell
Had a bug in channel where build script altered PATH for some reason and LLVM couldn't be found.
2009-10-09Revert copy pastaMax Howell
2009-10-09I believe in a world where unittests work with Ruby 1.8.6Max Howell