7735 Commits

Author SHA1 Message Date
Xu Cheng
b18015a7e1 manpage: update list command
Closes Homebrew/homebrew#40921.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-22 22:17:10 +08:00
Xu Cheng
692795f82d list: support --full-name
Closes Homebrew/homebrew#29716.
2015-06-22 22:17:10 +08:00
Xu Cheng
0276c3c70c download_strategy: make sure the inspected url is used
Closes Homebrew/homebrew#40940.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-22 21:24:57 +08:00
Xu Cheng
b363175401 improve audit_formula_name performance
Closes Homebrew/homebrew#40939.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-22 21:24:50 +08:00
Jack Nagel
f1bf81dd55 Simplify gcc_version_formula 2015-06-21 21:18:24 -04:00
Jack Nagel
1ce04786d6 Inline variable 2015-06-21 21:18:24 -04:00
Jack Nagel
3f11f1a0de Eliminate special case for core gcc 2015-06-21 21:18:24 -04:00
Jack Nagel
2db59be452 Less code in begin/rescue block 2015-06-21 21:18:23 -04:00
Jack Nagel
1bba5fd88a Pass full match to warn_about_non_apple_gcc 2015-06-21 21:18:23 -04:00
Xu Cheng
2d8c307a3c README: add PGP key
Closes Homebrew/homebrew#40914.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-21 16:45:23 +08:00
Xu Cheng
37cd547d5c Formula: cache methods' output to reduce io
Closes Homebrew/homebrew#40855.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-21 15:20:37 +08:00
Larry Gilbert
adafb6c953 vobcopy: retire to boneyard
Closes Homebrew/homebrew#39854.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-06-20 22:42:23 +01:00
Xu Cheng
60b70c9931 download_strategy: remove extra colon
Closes Homebrew/homebrew#40920.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-21 01:47:09 +08:00
Baptiste Fontaine
8ef8f0f615 sudo_check: don't use a set
This is unnecessary here because we use it only once. The difference
won't be noticeable but the check is ~5 times faster now.

Closes Homebrew/homebrew#40901.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-06-20 12:13:26 +02:00
Xu Cheng
05d9622c02 download_strategy: don't check url if already downloaded
Closes Homebrew/homebrew#40859.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-20 14:44:09 +08:00
Jack Nagel
7c83e3ffe3 Remove workarounds for destructuring single-element hashes 2015-06-19 22:30:13 -04:00
Jack Nagel
ec1727a1be Remove backports for Ruby 1.8.6
refs. Homebrew/linuxbrew#438, mistydemeo/tigerbrew#327,
mistydemeo/tigerbrew#334
2015-06-19 22:20:47 -04:00
Jack Nagel
09f8c54f83 Move some constants from env to compiler constants 2015-06-19 21:38:39 -04:00
Jack Nagel
7edf3c88f6 Pass formula objects, not strings, into the build environment 2015-06-18 23:13:48 -04:00
Baptiste Fontaine
bd42901fa7 'brew man': abort if a formula is given
Closes Homebrew/homebrew#40735.

Closes Homebrew/homebrew#40736.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-06-18 20:06:11 +02:00
Xu Cheng
d770a874e4 audit: add benchmark inject code
Closes Homebrew/homebrew#40847.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-18 20:30:33 +08:00
Mike McQuaid
89b20cf61e tap_migrations: move some x11 to boneyard.
https://github.com/Homebrew/homebrew-boneyard/pull/53
2015-06-18 08:55:23 +01:00
Xu Cheng
2f44990ea9 Revert "audit: add benchmark inject code"
This reverts commit fb23d603ded2796299ed7fc2f4ffee22870b7ea6.
2015-06-18 15:26:11 +08:00
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