aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
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 #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-05Guard against nil in inherited_options hashJack Nagel
Fixes #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 #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 #28144.
2014-04-05Add Xcode 5.1.1 (=Golden master build) clang versionClemens Gruber
Closes #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 #28147.
2014-04-04Need to still check formula build state for some reasonJack Nagel
2014-04-04Fix universal option inheritance during upgradesJack Nagel
2014-04-04python_dependency: don't block pour when :build.Mike McQuaid
2014-04-040644 is not executableJack Nagel
2014-04-03Remove need for class name cache by only computing it once per formulaJack Nagel
2014-04-03python_dependency: only pour with system python.Mike McQuaid
This is as Python bindings are not build in a way that can have system or Homebrew Python used interchangeably.
2014-04-03formula_installer: check pour from requirements.Mike McQuaid
2014-04-03requirement: add pour_bottle? method.Mike McQuaid
Allows disabling bottles from requirements.
2014-04-03Build the version scanner regexp onceJack Nagel
2014-04-03Add missing '`' to message of blacklisted rubiniusClemens Müller
As pointed out by @mikemcquaid in http://git.io/Q5b9wg Closes #28106. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-04-03Revert "Audit gnome URLs, prefer download.gnome.org"Jack Nagel
This reverts commit 557ef8df05a8ea28ed903f08b2009ebc0e218f5a.
2014-04-03Add keg-only reason symbols for Xcode 4.3 and Xcode 5Jack Nagel
Closes #28095.
2014-04-03Remove special behavior of autotools symbol depsJack Nagel
Closes #28094.
2014-04-02Cache MacOS.version comparison resultsJack Nagel
MacOS.version#<=> is called many, many times during formula loading with the same half dozen or so arguments. A typical call to this method involves: * a hash lookup to convert a symbol argument to a string * creation of a throw-away Version object wrapping the argument * the actual version comparison, which is not cheap This makes it a prime candidate to be memoized.
2014-04-02Add fast path for CVS depJack Nagel
The search mechanism in MacOS::Xcode is very slow. It requires shelling out at least twice, and possibly a third time (in the CLT-only case). Calling provides_cvs? activates this in order to determine the Xcode version. But if we know that there isn't an Xcode available for the current OS that meets the criteria, we can avoid this check entirely.
2014-04-01Remove dead codeJack Nagel
2014-04-01Make keg_only validation lazyJack Nagel
2014-04-01The argument to pkgutil_info is always a stringJack Nagel
2014-04-01Batch up mdfind calls when possibleJack Nagel
2014-04-01Avoid calling xcodebuild twiceJack Nagel
2014-04-01Remove unused parameterJack Nagel
2014-04-01Extract tag and checksum selection from DSL methodJack Nagel
2014-04-01Remove now unnecessary branching from bottle DSL methodsJack Nagel
2014-04-01Stop jumping through hoops to get at the collector objectJack Nagel