7812 Commits

Author SHA1 Message Date
Xu Cheng
6af47815b0 search: cache remote tap formulae
Closes Homebrew/homebrew#40775.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-18 14:46:29 +08:00
Xu Cheng
7a59a3ee37 audit: add benchmark inject code 2015-06-18 14:46:29 +08:00
Jack Nagel
44feb5b8f9 Add opt_frameworks helper 2015-06-17 21:31:27 -04:00
Jack Nagel
38974ed6b5 Run tests for both build environments 2015-06-17 20:04:21 -04:00
Baptiste Fontaine
7edf004ff4 Troubleshooting: better wording on formulae issues
Closes Homebrew/homebrew#40816.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-06-17 23:13:37 +02:00
Tom Schoonjans
ae3b815908 gtkglarea and qiv: migrating to homebrew/boneyard
victims of the transitioning to gtk-quartz-only: Homebrew/homebrew#39868
a PR has been opened in the boneyard: Homebrew/homebrew-boneyard#54

Closes Homebrew/homebrew#40792.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-06-17 19:37:45 +01:00
Baptiste Fontaine
4648aa54c0 search --desc: cache the query regexp
Closes Homebrew/homebrew#40795.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-06-17 08:43:01 +02:00
Jack Nagel
72cb403a56 Move 10.11 warning to doctor, pre-install, and post-failure
Fixes Homebrew/homebrew#40778.
2015-06-16 20:02:10 -04:00
Jack Nagel
f59b164733 Add explicit branch for 10.11 in Xcode version list 2015-06-16 20:02:10 -04:00
Jack Nagel
f4027cc9ac "Mac OS X" -> "OS X" in copy 2015-06-16 20:02:10 -04:00
Dominyk Tiller
f1fd1d3d79 tap_migrations: remove gupnp-tools
This formula was moved back to the core in Homebrew/homebrew#40483
2015-06-17 00:12:09 +01:00
Xu Cheng
d9b1fec14f doctor: fix __check_linked_brew
This fixes the case when multiple versions of a formula are installed.

Closes Homebrew/homebrew#40777.
Fixes Homebrew/homebrew#40781.
Fixes Homebrew/homebrew#40797.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-06-16 19:06:52 -04:00
Mike McQuaid
3f9a00dd58 compat/requirements: unduplicate JavaRequirement. 2015-06-16 10:20:16 +01:00
Xu Cheng
0e3c11ea07 doctor: use Formula.installed directly
Before
```
brew doctor  9.83s user 0.52s system 76% cpu 13.563 total
```

After
```
brew doctor  0.25s user 0.16s system 9% cpu 4.332 total
```

Closes Homebrew/homebrew#40770.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-16 16:08:52 +08:00
Mike McQuaid
1e86730289 Rename requirements named *Dependency.
Dependency is another similar, related class and it's super confusing
to have some Requirements that are named *Dependency.

Closes Homebrew/homebrew#38891.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-16 08:12:01 +01:00
Jack Nagel
f13ac9b0c8 Decouple the local bottle strategy from the formula 2015-06-15 21:32:15 -04:00
Jack Nagel
321476df08 Make CurlUnsafeDownloadStrategy a no-op 2015-06-15 21:32:15 -04:00
Jack Nagel
023bddbd04 Make UnsafeSubversionDownloadStrategy a no-op 2015-06-15 21:32:15 -04:00
Jack Nagel
8bdc7b92d8 Call expand_path on the value of HOMEBREW_CACHE
Fixes Homebrew/homebrew#40752.
2015-06-15 21:21:53 -04:00
Jack Nagel
7b733b4087 Add pkgconfig files for 10.11
Fixes Homebrew/homebrew#40656.
2015-06-15 20:43:24 -04:00
Jack Nagel
621a7ada95 Remove reference to "open" command
Closes Homebrew/homebrew#40706.
2015-06-15 20:08:46 -04:00
Larry Gilbert
87c75e5f4f kumofs: retire to boneyard
It has serious build issues, no dependents, and no updates upstream
since December 2010.

Closes Homebrew/homebrew#40756.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-15 21:30:56 +01:00
Misty De Meo
6d5632cd8f Formula: always print keg_only_text
Fixes Homebrew/homebrew#40724.

Closes Homebrew/homebrew#40725.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2015-06-15 08:21:08 -07:00
Xu Cheng
4c6da16221 audit: fix for no compat mode
Closes Homebrew/homebrew#40731.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-15 17:35:04 +08:00
Xu Cheng
74d99d647d cleanup: rescue TapFormulaAmbiguityError caused by Dependency#to_formula
Closes Homebrew/homebrew#40682.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-15 12:55:47 +08:00
Xu Cheng
3ded175241 uses: rescue TapFormulaAmbiguityError caused by Dependency#to_formula
Fixes Homebrew/homebrew#40636.
2015-06-15 12:55:47 +08:00
Jack Nagel
357648a8c4 Only look for libraries in lib if it exists
Fixes Homebrew/homebrew#40630.
2015-06-14 22:07:59 -04:00
Dominyk Tiller
a047fc08d6 audit: enforce http for gnu ftpmirror 2015-06-14 20:17:08 +01:00
Dominyk Tiller
778c25b458 brew: warn about 10.11 unsupported
Issue a warning about Homebrew's very basic support for 10.11 at this point
in time on each run of `brew`.

Closes Homebrew/homebrew#40536.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-06-14 18:38:55 +01:00
Dominyk Tiller
90c8b82d38 os: initial El Capitan support 2015-06-14 18:38:55 +01:00
Dominyk Tiller
8350e9c5ad man: fix typo
Re: ad92f10ec3 (commitcomment-11670008)
2015-06-14 18:36:16 +01:00
Xu Cheng
8f85238094 remove incorrect tag for Tap document 2015-06-14 21:40:53 +08:00
Peter Aronoff
5e3a1a7b21 Update tap documentation.
Closes Homebrew/homebrew#40481.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-14 14:35:13 +01:00
Xu Cheng
4564ea899e document Tap class
Closes Homebrew/homebrew#40608.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-14 21:28:37 +08:00
Xu Cheng
4101cef3c5 Tap: make remote a separate method to reduce initial overhead
Also make remote method only response to installed tap.
2015-06-14 21:28:36 +08:00
Xu Cheng
b88cb13718 add TapUnavailableError 2015-06-14 21:28:36 +08:00
Dominyk Tiller
696d7f3ba0 manpages: document new environmental variable
Closes Homebrew/homebrew#38835.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-14 13:20:07 +01:00
Dominyk Tiller
794b08fc0d download_strategy: declare insecure redirects
Fixes Homebrew/homebrew#38824
2015-06-14 13:20:07 +01:00
Jack Nagel
552755b3de Update minitest 2015-06-13 21:11:32 -04:00
Dominyk Tiller
f63e7a92bb audit: add npm path nudge 2015-06-13 22:25:26 +01:00
Jack Nagel
be9c5d5d16 Remove some 10.5 hacks 2015-06-13 17:18:17 -04:00
Mike McQuaid
9c7b3b02ce test-bot: always do a git clean -ffdx
This ensures that all nested Git repositories (e.g. taps) are also
deleted. Previously this wasn't needed as we could just rely on the
symlinks in `Library/Formula` being missing but since Xu's good work
this inadvertedly made the bot's `brew uses foo` start showing things
from taps we hadn't previously deleted.
2015-06-13 18:35:19 +01:00
Jack Nagel
bd0f179478 Remove obsolete doctor check
We don't support 10.5 anymore, and tigerbrew doesn't have this check
anymore, either.
2015-06-12 22:58:04 -04:00
Jack Nagel
c4dfacaf0c Fix linked keg-only check when only directories are linked 2015-06-12 20:37:20 -04:00
Jack Nagel
aad4ed7faa Undocument return value of ENV.deparallelize
It's not clear whether it returns MAKEFLAGS with or without -j<n>, and
neither is particularly useful behavior, given you can easily get the
exact value by calling ENV["MAKEFLAGS"]. So let's not commit to this
API.
2015-06-12 20:14:07 -04:00
Xu Cheng
c1fb7a8e4a tap_paths: prevent conflicted formulae happen in the same tap
Closes Homebrew/homebrew#40606.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-12 16:20:44 +08:00
Mike McQuaid
9c3a6a3f52 tap: taps don't need to be Git repositories.
For example e.g. Boxen uses just a managed directory and puts formulae
into it.
2015-06-11 21:54:00 +01:00
PikachuEXE
c704142590 Add tip about devel version bumps
Tip mentioned in https://github.com/Homebrew/homebrew/pull/40570

Closes Homebrew/homebrew#40578.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-06-11 20:52:09 +01:00
Xu Cheng
f2d0a88292 remove Pathname#find_formula
Closes Homebrew/homebrew#40486.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-11 15:28:30 +08:00
Xu Cheng
d8876a9da4 manpage: add tap-info 2015-06-11 15:28:30 +08:00