aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2014-04-07GithubGistFormula doesn't need to know the exact signature of initializeJack Nagel
2014-04-07Restore recursive tap searchJack Nagel
Fixes Homebrew/homebrew#28234.
2014-04-07Document behavior of `deps` and `uses` when given multiple argumentsJack Nagel
2014-04-07Restore documented behavior of `brew uses foo bar`Jack Nagel
`brew uses foo bar` is supposed to return the intersection of formulae that use foo and bar. However, this was broken by changes made to support requirements that can coerce to regular dependencies.
2014-04-07uses: only check ARGV for recursive flag onceJack Nagel
2014-04-07doctor: fix typoJack Nagel
Fixes Homebrew/homebrew#28221.
2014-04-06Initialize cxxstdlib set lazilyJack Nagel
This is used rarely and only at build-time, so we don't need to create it when instantiating the formula.
2014-04-06drop unnecessary nil checksJack Nagel
2014-04-06add linkapps completionAdam Vandenberg
2014-04-06Clean up test classesJack Nagel
2014-04-06Drop conditional that is always falseJack Nagel
2014-04-06show formula version in failed build outputAdam Vandenberg
2014-04-06Mirror unlink logic when checking for linked keg-only formulaeJack Nagel
2014-04-06Recognize and extract xar filesJack Nagel
2014-04-06brew audit: show line number for whitespaceLee Hanxue
Closes Homebrew/homebrew#24481. Closes Homebrew/homebrew#24490.
2014-04-06pathname: use ln_sf in install_symlink.Mike McQuaid
Closes Homebrew/homebrew#28136.
2014-04-06Extract common decompression code to a methodJack Nagel
2014-04-06Handle untarred bzip2 filesJack Nagel
Fixes Homebrew/homebrew#28187.
2014-04-06Use a case statement in Pathname#compression_typeJack Nagel
2014-04-06Use SVG Gittip badge in READMESean Linsley
Closes Homebrew/homebrew#28186. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-04-06python caveats: use `>` instead of `>>`Samuel John
The `homebrew.pth` should be a file with a single line in it. Also (at least on zsh) if the file does not exist, `>>` will result in an error. The `>` works in both, bash and zsh and creates the file with the `echo`ed contet. Closes Homebrew/homebrew#28201. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-04-06Remove now unnecessary realpath callsJack Nagel
2014-04-06Always resolve one symlink when loading formula filesJack Nagel
This means that tapped formula will always have the correct path, and we can stop calling realpath everywhere.
2014-04-06Fall back to open/write when atomic_write failsJack Nagel
Fixes Homebrew/homebrew#28190.
2014-04-05Remove obsolete guards around canonical_name return valueJack Nagel
2014-04-05Implement canonical_name in FormularyJack Nagel
2014-04-05Drop support for passing incomplete pathsJack Nagel
`brew install ./foo` treats `./foo` like `./foo.rb`. This requires a confusing special case in the name resolution logic and doesn't make a whole lot of sense from a UX perspective. Drop support for this. The argument should be an absolute path, a relative path, or a formula name, rather than a hybrid. cf. https://github.com/Homebrew/homebrew/issues/23430#issuecomment-26776962
2014-04-05Extract alias resolution to a separate loader classJack Nagel
2014-04-05Use StandardLoader when we know the path alreadyJack Nagel
2014-04-05Drop readable? check since we don't do that for any other caseJack Nagel
2014-04-05Simplify tap formula loadingJack Nagel
2014-04-05Pass path directly to StandardLoader when possibleJack Nagel
Now we can avoid computing the path twice in the common case.
2014-04-05Eliminate repeated work in Formulary.factoryJack Nagel
Much of the name resolution done in Formula.canonical_name is repeated Formulary.factory. Here we eliminate the repeated work by duplicating the code from canonical_name. Later we will refactor it so that both methods can share the bulk of the logic.
2014-04-05Remove unnecessary usage of Formula.canonical_nameJack Nagel
2014-04-05Guard against nil in inherited_options hashJack Nagel
Fixes Homebrew/homebrew#28188.
2014-04-05Combine conditional branches that do the same thingJack Nagel
2014-04-05FromPathLoader already calls expand_pathJack Nagel
2014-04-05Prefer File.extname to regexpJack Nagel
2014-04-05More correct "symlink already exists" checkJack Nagel
2014-04-05Avoid realpath where it is not necessaryJack Nagel
Symlinks in opt and LinkedKegs point directly at a keg in the cellar, so only resolving one symlink should suffice, and make it clear what path we are actually interested in.
2014-04-05Ignore interrupts while cleaning upJack Nagel
2014-04-05Automatically reinstall up-to-date dependencies that are missing optionsJack Nagel
Closes Homebrew/homebrew#21223.
2014-04-05Rename outdated_keg to linked_kegJack Nagel
2014-04-05Load install receipt before performing any operations on existing kegsJack Nagel
2014-04-05Ensure build deps are installed for deps with inherited optionsJack Nagel
Fixes Homebrew/homebrew#28144.
2014-04-05Add Xcode 5.1.1 (=Golden master build) clang versionClemens Gruber
Closes Homebrew/homebrew#28173. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-04-04Clean up some concatentation inside interpolationJack Nagel
2014-04-04Xcode.prefix: remove osx-gcc-installer hackMisty De Meo
This hack is starting to outlive its usefulness, and produces false positives. Fixes Homebrew/homebrew#28147.
2014-04-04Need to still check formula build state for some reasonJack Nagel
2014-04-04Fix universal option inheritance during upgradesJack Nagel