aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2015-02-12Extract logging from the command classJack Nagel
2015-02-12Drop unnecessary call to compactJack Nagel
2015-02-12Get the basename and dirname onceJack Nagel
2015-02-11outdated: handle fully qualified tapped formulae.Mike McQuaid
Previously if I did `brew install boxen/brews/imagemagick` and then `brew upgrade boxen/brews/imagemagick` and the version of `imagemagick` in `boxen/brews` was older than the version in `Homebrew/homebrew` then it would install the correct version from the `boxen/brews` tap and then try to immediately upgrade it to the version from `Homebrew/homebrew`. I'd argue fairly strongly that this behaviour is pretty unintuitive; when you fully specify a formula from a tap then it should be prioritised by `brew upgrade` and `brew outdated. This commit makes `brew upgrade boxen/brews/imagemagick` only upgrade the version of `imagemagick` if the version in the `boxen/brews` tap is newer. Similarly `brew outdated imagemagick` and `brew outdated boxen/brews/imagemagick` will show different results if the newer version differs between `boxen/brews` and `Homebrew/homebrew`. Closes Homebrew/homebrew#36699. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-11pull: copy new subject when bumping.Mike McQuaid
2015-02-11gist-logs: show the formula origin for non core-formulaXu Cheng
Closes Homebrew/homebrew#36730. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-11brew uses: parse ARGV properlyXu Cheng
`ARGV.flag?` = `ARGV.include?` + `ARGV.switch?` Closes Homebrew/homebrew#36727. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-09test-bot: only test the runtime dependencies.Xu Cheng
Also add support to `brew uses` to ignore build or optional dependencies. Closes Homebrew/homebrew#36154. Closes Homebrew/homebrew#36656. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-09Update Example Formula documentation.Dominyk Tiller
I feel like we’re probably fighting a losing battle here, but here’s a bundle more updates to the example formula to cover some ground not already covered. Closes Homebrew/homebrew#36644. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-08Make compiler shim robust against missing environment variablesJack Nagel
Fixes Homebrew/homebrew#36217.
2015-02-08Get rid of cccfg? methodJack Nagel
2015-02-08Add predicate methods for compiler shim configurationJack Nagel
2015-02-08Quote entire path passed to checkout-indexJack Nagel
2015-02-08Revert "download_strategy: escape spaces in git submodule path."Jack Nagel
This is causing submodules to be checked out into a path with a literal "$path" component: $ find . | grep "\$path$" ./$path ./Carthage/Checkouts/Commandant/$path ./Carthage/Checkouts/Commandant/Carthage/Checkouts/Quick/$path ./Carthage/Checkouts/PrettyColors/$path ./Carthage/Checkouts/Quick/$path ./Carthage/Checkouts/ReactiveCocoa/$path ./Carthage/Checkouts/ReactiveCocoa/Carthage/Checkouts/Quick/$path ./Carthage/Checkouts/ReactiveTask/$path ./Carthage/Checkouts/ReactiveTask/Carthage/Checkouts/Quick/$path ./Carthage/Checkouts/ReactiveTask/Carthage/Checkouts/ReactiveCocoa/$path ./Carthage/Checkouts/ReactiveTask/Carthage/Checkouts/ReactiveCocoa/Carthage.checkout/Quick/$path This reverts commit 3a5f099297e9ab3b799af5f7a65edd8d64bc7bae.
2015-02-08cmd/info: prevent duplicate dependency display.Xu Cheng
Before: $ brew info llvm ==> Dependencies Build: xz ✔, xz ✔, xz ✔, xz ✔, xz ✔, xz ✔ $ brew info --json=v1 llvm ... "dependencies":["xz","xz","xz","xz","xz","xz"], ... After $ brew info llvm ==> Dependencies Build: xz ✔ $ brew info --json=v1 llvm ... "dependencies":["xz"], ... Closes Homebrew/homebrew#36653. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-08download_strategy: escape spaces in git submodule path.Kashif Rasul
for issue Homebrew/homebrew#36646 Closes Homebrew/homebrew#36649. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-08audit: catch more examples from example_formulaDominyk Tiller
See https://github.com/Homebrew/homebrew/pull/36629#discussion_r24293912 amongst other recent examples. The example formula isn’t as strongly policed as the ` brew create ` default, this tries to do something about that. Closes Homebrew/homebrew#36639. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-08Minimize test JPEG and PNGDavid Christenson
Losslessly compress with jpegoptim and optipng. Closes Homebrew/homebrew#36606. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-08Add test PDF and SVG.David Christenson
2015-02-07formula: sort installed version in to_hashXu Cheng
https://github.com/Homebrew/homebrew-brewdler/pull/43#discussion_r24248760 Closes Homebrew/homebrew#36611. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-07Use start_with? to simplify path sanity checkJack Nagel
2015-02-07Don't prune cellar paths when cellar is in /optJack Nagel
Fixes Homebrew/homebrew#35382.
2015-02-07Save and restore build attributeJack Nagel
This probably doesn't matter in practice, but I don't want to take any chances.
2015-02-07Always respect build options when invoking post_installJack Nagel
Fixes Homebrew/homebrew#36335.
2015-02-07Use a local instead of an instance variableJack Nagel
2015-02-06formula_cellar_checks: tweak postgresql on 10.8.Mike McQuaid
It shadows system headers sometimes (probably just Server.app?) but we don't really care.
2015-02-06brew.rb: fix help regex.Roberto Nibali
Don't match `help` at the end of every string because `brew installhelp` shouldn't really be running help. Closes Homebrew/homebrew#36559. Closes Homebrew/homebrew#36576. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-04audit_installed: give better Python adviceTim D. Smith
Update advice about easy-install.pth files. Closes Homebrew/homebrew#36547.
2015-02-04test-bot: don't try and bottle unstable formulae.Mike McQuaid
e.g. devel-only or head-only formulae.
2015-02-04pyenv-pip-rehash: boneyardedXu Cheng
Since pyenv v20141211, it bundles built-in pip-rehash feature. Closes Homebrew/homebrew#36524. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-03`brew list foo` should always error when foo is not installedJack Nagel
Fixes Homebrew/homebrew#36484.
2015-02-03GitDownloadStrategy: support submodule changesChristian Moritz
This commits adds support for updating a formula with changed git submodules with GitDownloadStrategy when the cloned repository is still in the cache. This is done by running git submodule sync --recursive before updating the submodules, so that git can reload the submodule config from the updated .gitmodules file. Fixes Homebrew/homebrew#36395. Closes Homebrew/homebrew#36466. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-02-03test-bot: optional requirements are satisfied.Mike McQuaid
2015-02-02AprRequirement should not generate a build-time dependencyJack Nagel
We want the apr requirement to act as a build-time requirement in case it is satisfied (that is, the CLT is installed), as the resulting binaries will link to the system libapr which is always present. When it is *not* satisfied by the CLT, and we need to install the formula, we have to treat it as a runtime dependency since the resulting binaries will link to it. Fixes Homebrew/homebrew#36301. Fixes Homebrew/homebrew#36438. Closes Homebrew/homebrew#36443.
2015-02-02AprRequirement should not short-circuit if apr is installedJack Nagel
If apr is installed, we still want to grab it during dependency resolution in case we need to pass options to the generated dependency. In other words, it doesn't make sense for the satisfiable condition to include the default formula, as the default formula is the fallback for when the requirement is *not* satisfied.
2015-02-02Remove message that is never displayedJack Nagel
Requirements with default formulae cannot fail the build.
2015-02-02AprRequirement's default formula should be apr-utilJack Nagel
This matches the recommendation in the message.
2015-02-01untap: Handle multiple argumentschdiza
Closes Homebrew/homebrew#36436. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-01ngircd: system openssl fixDominyk Tiller
Fix for linking into the system OpenSSL, strict audit fixes, and the plist. Closes Homebrew/homebrew#36386. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-01JavaDependency: ignore trailing + in the versionBaptiste Fontaine
2015-01-31Move mysqlreport to the boneyardJack Nagel
The project was deprecated in favor of percona-toolkit: http://blog.codenode.com/2015/01/hack-mysql-has-been-retired.html Closes Homebrew/homebrew#36342.
2015-01-31Move cdf to the boneyardJack Nagel
Closes Homebrew/homebrew#36009.
2015-01-31sitecopy: boneyardingDominyk Tiller
Sitecopy currently compiles against the insecure system OpenSSL, and won’t compile against our OpenSSL because it wants SSLv2 at runtime (Ouch) and it won’t compile against GnuTLS because GnuTLS have considerably changed the structure of their build since the last update of sitecopy (2008). Closes Homebrew/homebrew#36389. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-30Fix more version misdetections for URLs with archsBaptiste Fontaine
Closes Homebrew/homebrew#36368. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-29zenity moved into homebrew/x11Baptiste Fontaine
Closes Homebrew/homebrew#35626. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-28Fix version misdetections for URLs with OS/archsBaptiste Fontaine
Closes Homebrew/homebrew#36308. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-27test-bot: support --devel and/or --HEAD installDominyk Tiller
See discussion in https://github.com/Homebrew/homebrew-devel-only/pull/8 In essence, the test bot currently does this: ``` ==> brew install --verbose --build-bottle j2objc FAILED Error: j2objc is a devel-only formula Install with `brew install --devel j2objc` ``` I’m proposing that we pass that arg to the test-bot automatically to allow the bot to pass head-only and devel-only formulae without that failure message. I’ve also trimmed the arguments further down to prevent it duplicating the —devel install in formulae which define no stable block. Closes Homebrew/homebrew#36030. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-27config: be quieter with java_home.Mike McQuaid
References Homebrew/homebrew#36249.
2015-01-26audit: stop red-flagging devel-onlyDominyk Tiller
Currently the bot is failing certain devel-only formulae because it thinks having ` devel ` defined with an added ` head ` defined as well = a head-only formula. ``` ==> audit problems docker-machine: * Head-only (no stable download) ``` This is a pretty simple fix for that problem: ``` ==> brew style docker-machine 1 file inspected, no offenses detected ``` Closes Homebrew/homebrew#36197. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-25brew-config: check whether java exists in PATHXu Cheng
For OS X, we will call `/usr/libexec/java_home` to exam whehter java is installed. Also rename the method to follow the same naming pattern of other similar methods. Closes Homebrew/homebrew#36187. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>