aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula_installer.rb
AgeCommit message (Collapse)Author
2014-05-20Don't try to lock the same formula more than onceJack Nagel
Fixes Homebrew/homebrew#28765.
2014-04-26Explicitly pass key-value options to the build processJack Nagel
Fixes Homebrew/homebrew#28695.
2014-04-21Adjust installer for updated link error handlingJack Nagel
2014-04-10Add hooks for pouring bottles.Mike McQuaid
This should give us a bit of control over what e.g. Boxen are doing whilst at the same time stopping us from accidentally breaking each other's stuff every so often. I'm aware this may be somewhat controversial so I'm open to other approaches.
2014-04-05Guard against nil in inherited_options hashJack Nagel
Fixes Homebrew/homebrew#28188.
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-04Need to still check formula build state for some reasonJack Nagel
2014-04-04Fix universal option inheritance during upgradesJack Nagel
2014-04-03formula_installer: check pour from requirements.Mike McQuaid
2014-03-29Future-proof the build process fork/waitJack Nagel
2014-03-26Tab#write always overwrites, no need to unlinkJack Nagel
2014-03-25Failing to install plist shouldn't prevent linkingJack Nagel
2014-03-25Write plists atomicallyJack Nagel
2014-03-25Don't load the full debugger when readline is the formula being installedJack Nagel
Fixes Homebrew/homebrew#27842.
2014-03-24Check existence of target keg instead of hiding exceptionsJack Nagel
2014-03-19Always build from source when given --interactiveJack Nagel
Closes Homebrew/homebrew#27716.
2014-03-13Don't ignore dependencies when actually building a dependencyJack Nagel
Since the primary FormulaInstaller instance handles the entire dependency tree, we set ignore_deps to true when instantiated the class for each dependency in over to avoid repeated work. However, now that arguments for the build process are whitelisted instead of blacklisted, we have begun adding "--ignore-dependencies" if ignore_deps is true. This isn't quite right when we are installing a dependency. We want to skip the calculation and installation of *its* dependencies, since the primary installer takes care of that, but we still want to consider them in the build process, so that they are available in the build environment.
2014-03-13Revert "Roll ignore_deps change back temporarily"Jack Nagel
This reverts commit 067f4d474cb158debb8ad7d19d664fb2540cb09f.
2014-03-13Roll ignore_deps change back temporarilyJack Nagel
2014-03-13Rewrite postfix conditionalJack Nagel
2014-03-13Make FormulaInstaller setup more readableJack Nagel
2014-03-13Make debug an installer modeJack Nagel
2014-03-13Make verbose an installer modeJack Nagel
2014-03-13Make interactive an installer modeJack Nagel
2014-03-13Add predicate methods for inspecting the installer modeJack Nagel
2014-03-13Remove unnecessary check for pour_bottle?Jack Nagel
@start_time will be nil if we're pouring a bottle, so we don't need to also check pour_bottle?.
2014-03-13Whitelist arguments that are passed to build processJack Nagel
2014-03-13Don't set installer options to their defaultJack Nagel
ignore_deps and show_header default to false.
2014-03-10Make force_bottle an explicit installer modeJack Nagel
2014-03-10Inline install_bottle? logic into the installerJack Nagel
2014-03-10Remove some obsoleted hacks from the installerJack Nagel
2014-03-10Make build_bottle an explicit installer modeJack Nagel
2014-03-08Pass build_from_source value to dependency installerJack Nagel
2014-03-08Add stubs for build_from_source and build_bottle installer modesJack Nagel
2014-03-08Remove "--fresh" option from installerJack Nagel
Turns out that this doesn't really work at all. `brew install` _never_ reuses options in the first place, and using this option with `brew upgrade` results in some nasty corner cases in passing options to dependencies.
2014-03-08Don't remove --only-dependencies since it is meaninglessJack Nagel
When only_deps is true, this method is never called.
2014-03-08Sanitize ARGV options that are reflected in the installer modeJack Nagel
2014-03-04Let commands decide what mode the installer should useJack Nagel
2014-03-04Extract installer setup to prelude methodJack Nagel
2014-03-04Show full name when a installing a tap dependencyJack Nagel
2014-03-02Stop mutating build options in upgradeJack Nagel
2014-03-02Remove unnecessary parameter from inherited_options_forJack Nagel
2014-03-02Revert "Let commands decide what mode the installer should use"Jack Nagel
I'd still like to make this change, but at least for now the initializer requires ignore_deps to be set correctly. This reverts commit 881a8855b944fa9bd7dfd598bb9197f79f7a13f0.
2014-03-02Let commands decide what mode the installer should useJack Nagel
2014-03-02Reduce the number of ways options can be passed to the installerJack Nagel