aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-05-16linkapps: deal only with kegs, not formulaeJack Nagel
Fixes Homebrew/homebrew#19873.
2013-05-16Formula#fetch: always return the cached pathJack Nagel
This allows us to remove some type checks that were protecting against potential nils.
2013-05-16Adjust semantics of Formula#fetchJack Nagel
It doesn't really make logical sense that this method returns both the fetched path (or sometimes nil!) and the downloader, so just return the path (again, or nil!) and callers that want the downloader can ask for it separately.
2013-05-16fetch: rename 'tarball' to 'download'Jack Nagel
2013-05-16fetch: use concat rather than << and flattenJack Nagel
2013-05-15Simplify uninstall --forceJack Nagel
2013-05-15uninstall: stop assuming kegs always map to formulaeJack Nagel
2013-05-15cleanup: enable prune during dry-run modeJack Nagel
Closes Homebrew/homebrew#19826.
2013-05-15prune: add dry-run modeJack Nagel
2013-05-15cleanup: cleanup_all => cleanup_cellarJack Nagel
2013-05-15cleanup: refactor cleanup_cacheJack Nagel
2013-05-15cleanup: rename variableJack Nagel
2013-05-15cleanup: refactor cleanup_formulaJack Nagel
2013-05-15cleanup: only map dirs to kegs onceJack Nagel
2013-05-15cleanup: use Pathname#rmtree instead of FileUtilsJack Nagel
2013-05-15cleanup: use subdirs, avoid .directory? checksJack Nagel
2013-05-15cleanup: remove redundant conditionJack Nagel
If f.installed? is true, f.rack.directory? will always be true as well.
2013-05-15cleanup: rename method for consistencyJack Nagel
2013-05-15cleanup: use early return rather than method-spanning conditionalJack Nagel
2013-05-15cleanup: factor out unqualified cleanup codeJack Nagel
2013-05-15Methods that end in _formula should only accept a formulaJack Nagel
2013-05-15brew_bash_completion: complete --force for brew linkJaime Marquínez Ferrándiz
Closes Homebrew/homebrew#19828. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-05-14audit: fix version audit for Version subclassesJack Nagel
The version isn't redundant if a subclass of Version is specified.
2013-05-14outdated: always do comparisons with a Formula as the receiverJack Nagel
It is possible for the object returned by Formula#version to be a subclass of Version with special behavior, so we want to use that for the comparison.
2013-05-14test_keg: reduce noise by including FileUtilsJack Nagel
2013-05-14test_keg: make mode an ivarJack Nagel
2013-05-13Retry downloads if a server doesn't support byte rangesAdam Vandenberg
If an incomplete download exists, and the HTTP server doesn't support byte ranges, delete the incomplete download and retry once. Tested with freeling, whose server does not support byte ranges. Closes Homebrew/homebrew#19757.
2013-05-11Use Hash#each_value rather than discarding keyJack Nagel
2013-05-11Fix --build-bottle CFLAGS.Mike McQuaid
The CFLAGS were previously not generic enough. References Homebrew/homebrew#18944. References Homebrew/homebrew#19179.
2013-05-10info: simplify keg listingJack Nagel
2013-05-10deps: fix --1 outputJack Nagel
Fixes Homebrew/homebrew#17550. Closes Homebrew/homebrew#19668.
2013-05-10info: improve dependency listingJack Nagel
2013-05-10Add type accessors to DependenciesJack Nagel
2013-05-10Use Enumerable#grepJack Nagel
2013-05-10Refactor Dependency.expandJack Nagel
2013-05-10Reorganize compatJack Nagel
2013-05-10Remove ancient global methods from compatJack Nagel
2013-05-10Allow requirements to specify a default formula.Mike McQuaid
This allows default resolution of requirements without user intervention. Closes Homebrew/homebrew#19627.
2013-05-09Overwrite broken symlinks with --overwriteDesmond Brand
Closes Homebrew/homebrew#19480. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2013-05-08Add gcc-4.0 to fails_withMisty De Meo
2013-05-07doctor: update ruby version checkJack Nagel
2013-05-07doctor: update git version checkJack Nagel
2013-05-07audit: only generate aliases list onceJack Nagel
2013-05-07audit: only set up the build environment onceJack Nagel
2013-05-06ArchRequirement: takes a single archMisty De Meo
Fixes Homebrew/homebrew#19646.
2013-05-06Fix type error in conflict_requirementJack Nagel
Fixes Homebrew/homebrew#19636.
2013-05-06Avoid extra array allocationsJack Nagel
2013-05-06Reduce allocations in dependency constructionJack Nagel
By always passing around a single, unnested array rather than splatting and then defensively flattening and compacting things, we can avoid allocating a bunch of unnecessary arrays. This gives a performance boost of roughly 4% when enumerating 2500 formulae, and has the side effect of cleaning up the dependency API.
2013-05-06TypeError is appropriate hereJack Nagel
2013-05-06Check Requirement before DependencyJack Nagel
It's much more likely that an instance of Requirement is passed.