aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2012-02-04Warn the user of required argumentsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-03uses: do nothing if no argsAdam Vandenberg
2012-02-03don't complain if args are emptyAdam Vandenberg
2012-02-03Move old ENV.use_foo? compiler methods to compatJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-03Remove aka warningAdam Vandenberg
2012-02-03Add and use plist helper methodsJack Nagel
These will be used to unify the label namespaces in embedded plists, i.e. 'homebrew.mxcl.<formula>'. plist_path returns the full path to a plist file located at the top level of the keg; plist_path.basename can be used if just the filename is needed. c.f. #9346. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-03Suppress output of `which` commandsJaeho Shin
Added missing -s option to which for hg, bzr, fossil. Closes #9954. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-02Show which Perl, Python and Ruby are in the path.Adam Vandenberg
2012-02-02doctor: remove gcc-4.2 warning on Xcode 4.2+Misty De Meo
Re: #9925, many others.
2012-02-02devel: reset mirrors when building develMisty De Meo
Otherwise stable mirrors will be considered when the devel download fails. Fixes #9910.
2012-02-01prune: remove info dir entries for pruned filesJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-01keg: make locale directory regexp a constantJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-01link: add missing newline in verbose modeJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-01keg: handle the info directory file properlyNicolas Despres
If HOMEBREW_KEEP_INFO environment variable is set: - Do not symlink the info directory file (aka 'share/info/dir') otherwise it gets overwritten by next installed brew. - Install an entry in the directory for each linked info file when the brew is linked. - Uninstall the entry when the brew is unlinked. Closes #9700. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-01Pathname: remove trailing spacesNicolas Despres
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-01CVSDownloadStrategy: correctly stage all filesColin Hebert
The FileUtils.cp_r function with a wildcard doesn't copy hidden files (starting with a dot) Instead of copying everything selected by *, select all the folder content. See: http://www.ruby-doc.org/core-1.9.3/Dir.html#method-c-glob Closes #8873. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-01keg: mkpath directories in share/localeJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-31create: punt on bad URLsJack Nagel
When we can't detect a name from the URL, just ask the user. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-30mkpath directories under lib/ocamlJack Nagel
Ocaml packages that need to install here will cause the site-lib directory to be created, and the symlink in the ocaml keg will work as intended. This is necessary for the ocaml bottle to work properly. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-29versions: ignore NameError and ArgumentErrorJack Nagel
Fixes #9856. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-29Bottles should care about cellar and prefixMike McQuaid
2012-01-29Bottles should care about cellar path not prefix.Mike McQuaid
Closes #9844.
2012-01-28audit: make boost-jam a build-time dependencyAdam Vandenberg
2012-01-27versions: fix up error handlingJack Nagel
Now we handle some things more explicitly and in the process get rid of the blanket rescue on the mktemp block, which is something of an antipattern. By unloading the class *after* determining the version, we avoid the case where the class had previously been unloaded but Formula.factory failed, and trying to unload the nonexistent class results in a NameError. Doing it this way, we avoid having to rescue NameError and thereby avoid hiding other cases where it may occur. We also rescue TypeError which gets us past a few more bad formula in the history in some instances. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-26versions: silence 'aka' warning and syntax errorsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-26Strip escaping from queryKonstantin Shabanov
Regexp#source retains escape sequences as is, so searching for formulae like 'pure-ftpd' doesn't work. Closes #9597. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-25audit: reorganize some checksJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-25audit: make devel check more specificJack Nagel
There are a few false positives where the string 'devel' occurs in other contexts. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-25Add `devel` to the DSL, + stable and bottle blocksMisty De Meo
This commit adds a `devel` entry to the DSL, allowing formulae to specify an unstable branch. `devel` takes a block, which should contain standard `url` and `md5` fields (and `version`, if necessary). This must come after the standard DSL fields. This commit also migrates over all formulae currently using `devel` to the new syntax, as well as formulae which used `head` for non-VCS urls. The new syntax is also available for `stable` and `bottle`. `stable` is an option alongside the old syntax. `bottle` replaces the old syntax. Note that the @stable ivar in Formula has been renamed to @standard, and the @bottle ivar has been renamed to @bottle_url. Closes #9735. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-01-25Fix failing ENV testsJack Nagel
We need the ARGV extension now that we call ARGV.build_bottle? in set_cpu_cflags. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-24doctor: reset should be done in HOMEBREW_REPOSITORYJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-24Make brew doctor reset instructions clearer.Mike McQuaid
Fixes #9739.
2012-01-24versions: don't print 'nil' when stdout is not a ttyDylan Smith
Closes #8960. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-23RubyismsAdam Vandenberg
2012-01-19Don't append an empty value to CFLAGSJack Nagel
Appending an empty string results in an extraneous space character. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-17audit: check for mercurial dependencyJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-16Store in tab whether --build-bottle flag was used.Mike McQuaid
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-01-16Use more generic cflags when building bottles.Mike McQuaid
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-01-16Add option for building bottles.Mike McQuaid
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-01-16Don't try and use GCC on Xcode 4.2: it's gone Jim.Mike McQuaid
Closes #9622. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-01-16Bump highest seen LLVM version.Mike McQuaid
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-01-15Unlink old keg when upgrading dependenciesJack Nagel
Installing a formula via `brew install` may trigger upgrades of its dependencies if the dependencies are installed but outdated. However, we never unlinked the existing keg in FormulaInstaller#install_dependency which caused the link step to fail. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-13search: return results while parsingMisty De Meo
Instead of returning a full list of results after parsing, yield and print each result as it's found for a snappier user experience. Closes #9576. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-01-14Fix libinet version detectionMax Howell
2012-01-13search: use v2 APIMisty De Meo
The v3 API currently lacks a search feature. Use the v2 API instead for much faster pull request filtering. Closes #9592. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-01-14Use the basename of which_editorMax Howell
I had EDITOR set to /usr/local/bin/mate set and got the whole of /usr/local opened in TextMate which takes fricking forever!
2012-01-12pathname: recognize ".cpio.*" double extensionsJack Nagel
Just a cosmetic nicety. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-12search: don't try to escape nilJack Nagel
Fixes #9575. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-12versions: use the actual class name when unloadingJack Nagel
And document a bit more why this hack is present. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-11ENV.gcc: search HOMEBREW_PREFIX/bin for gcc-4.2Misty De Meo
Allow the use of a Homebrewed gcc-4.2 in order to support homebrew-alt's apple-gcc42 formula. This also removes the :force filtering for the gcc-4.2 check error. Closes #9384. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>