aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2013-07-22Extract version_from_pkgutilJack Nagel
2013-07-22Extract version_from_mdlsJack Nagel
2013-07-22Extract guess_system_versionJack Nagel
2013-07-22Extract bundle_path from XQuartz.versionJack Nagel
2013-07-21Cache pkgutil results at the sourceJack Nagel
2013-07-21Eliminate nested conditionalJack Nagel
2013-07-21Extract bundle_path method from Xcode#prefixJack Nagel
2013-07-21Existence of directory is implied by existence of executablesJack Nagel
2013-07-21Pull another unwieldy condition into a methodJack Nagel
2013-07-21Update comment about CLTJack Nagel
This was worded in a confusing way, and made an assumption about future OS X versions that we don't know to be true. Also, it's probably wrong to state that the CLT location is dependent on the OS X version; surely there will be a newer CLT for 10.8 that gets installed in the same location as on 10.9. But we don't know any better yet.
2013-07-21Split up unreadable conditionalJack Nagel
2013-07-21These should be integersJack Nagel
2013-07-20Remove unnecessary use of globals in compiler version methodsJack Nagel
2013-07-20Don't report llvm-gcc if it's actually clangJack Nagel
2013-07-19Add String#end_with?Jack Nagel
I'm tired of not remembering if start_with?/end_with? are portable, so just add them both if they're not defined.
2013-07-19Fix String#start_with? implementationJack Nagel
It is supposed to accept a variable number of prefixes, and also to check if they are convertible to strings. This matches behavior documented in RubySpec.
2013-07-18upgrade: put exit statements in both conditional branchesAdam Coffman
This check was only occurring in one branch of the conditional. As a result, if you ran `brew upgrade` with no args and there were no packages to upgrade, the nonsensical message "==> Upgrading 0 outdated package, with result:" would be printed. Closes #21316. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-07-18Warn more about failing bottle version detection.Mike McQuaid
This is needed for local bottle installation and also possible when detecting bottle versions from URLs.
2013-07-18Move getting formula names from bottles to method.Mike McQuaid
2013-07-18Formula: temporarily set PYTHONPATH.Mike McQuaid
Needs a less hacky fix but at least this will stop failing tests.
2013-07-17check_PATH: return early if (s)bin doesn't exist.Mike McQuaid
2013-07-17Remove stray quotation markJack Nagel
2013-07-17Escape interpolation examplesJack Nagel
2013-07-17audit: skip an audit for mongodbAdam Vandenberg
2013-07-17audit: ARGV.find is a warning, .value is allowedAdam Vandenberg
2013-07-17add ARGV.valueAdam Vandenberg
2013-07-17doctor: Using Xcode-only is no longer experimentalSamuel John
In 10.9 we'll probably have to use that code path anyways and by now we have adapted all formulae to be able to build on Xcode-only.
2013-07-17Typo in commentsSamuel John
2013-07-16Fix SYMROOT auditJack Nagel
2013-07-16add full lib path to auditAdam Vandenberg
2013-07-16More linewise auditsJack Nagel
2013-07-16Audit text linewiseJack Nagel
2013-07-16Audit conditional deps that can be made declarativeJack Nagel
2013-07-16Fix some false-positive build-time dep auditsJack Nagel
2013-07-16audit: use FormulaCellarChecks module.Mike McQuaid
Perform post-installation checks if a formula is installed. Added for brew test-bot to be able to fail on bad Cellar installation.
2013-07-16FormulaInstaller: move Cellar checks to module.Mike McQuaid
2013-07-16FormulaInstaller: cleanup check_/audit_ functions.Mike McQuaid
2013-07-16Audit LanguageModuleDependency for pythonSamuel John
LanguageModuleDependency.new(:python,...) is deprecated now. Replace it by depends_on :python => ['module' => 'name-on-PyPi']
2013-07-16Allow specifying version in depends_on :pythonSamuel John
Note, in the explict form: PythonInstalled.new('2.7') => :recommended the tag :recommended is ignored (not a limitation of PythonInstalled itself). One solution was to write PythonInstalled.new('2.7', [:recommended]) but that is not as beautiful as we like it. Therefore, now it is possible to: depends_on :python => ['2.7', :recommended] Only the first tag is attempted to be parsed as a version specifyer "x" or "x.y" or "x.y.z"...
2013-07-15upgrade: don't rely on return value of 'onoe'Jack Nagel
2013-07-15upgrade: make condition clearerJack Nagel
2013-07-15upgrade: move require out of method bodyJack Nagel
2013-07-15upgrade: remove redundant conditionalJack Nagel
Since e1c62c35465eb6149688c745e4309438c08c410b, we exit early if the outdated array is empty, so we no longer need to check this before proceeding.
2013-07-15Fix multiple execution of python do ... end blocksSamuel John
Only run the `python do ... end` loop once even if multiple `depends_on :python => 'module-name'` are present.
2013-07-15Clarify behavior of `brew search` without an argumentJack Nagel
As documented in the man page, when given no arguments, `brew search` will list all formulae. This is different than giving an *empty* argument.
2013-07-15GitHub API access may result in SSL errorsJack Nagel
Closes #21216.
2013-07-14bottle: fix cellar output.Mike McQuaid
2013-07-13Handle NULs in link targets in Pathname#resolved_path_exists?Jack Nagel
Fixes #19475. Fixes #21184.
2013-07-13keg: more gnome foldersAdam Vandenberg
2013-07-12audit: improve commentAdam Vandenberg