4470 Commits

Author SHA1 Message Date
Mike McQuaid
f42f4e45c1 python_dependency: only set PYTHONPATH for system. 2014-02-10 18:49:26 +00:00
Jack Nagel
b754ad0d0b Update vendored OkJson 2014-02-10 13:17:16 -05:00
Misty De Meo
b1c0380b7b Recognize --head as an alias for --HEAD
Homebrew currently recognizes "--head" during the install process, but
rather than actually fetch HEAD it just nags the user to use the
correct option.	Since we recognize the spelling anyway, this just
promotes the lowercase version to an official alias.

Closes Homebrew/homebrew#26555.
2014-02-09 15:44:49 -08:00
Jack Nagel
15db61f25a X11Dependency: style 2014-02-09 14:23:56 -05:00
Jack Nagel
f16003f58c X11Dependency: return nil instead of raising in #<=>
Returning nil is in the contract of the Comparable module, and a future
version of Ruby will no longer hide this error.
2014-02-09 14:23:56 -05:00
Mike McQuaid
e93792fdef bottle: fix --write messages. 2014-02-09 14:34:50 +00:00
Mike McQuaid
89e07d44f6 bottle: make --write handle both quotes styles. 2014-02-09 14:34:50 +00:00
Jack Nagel
25c4e336f4 Use GitHub wrapper for private tap check 2014-02-08 20:41:11 -05:00
Jack Nagel
3b818a19f9 Pin GitHub module to v3 API 2014-02-08 20:41:11 -05:00
Jack Nagel
e57894e0d8 Switch to v3 search API 2014-02-08 20:41:11 -05:00
Jack Nagel
d01c671d74 Drop unnecessary map + compact in search_tap 2014-02-08 17:53:08 -05:00
Jack Nagel
0b0d171566 Don't let issue search kill install process 2014-02-08 16:04:53 -05:00
Jack Nagel
7d4709d9d6 Prevent repeated warnings when GitHub API rate limit is exceeded 2014-02-08 16:04:53 -05:00
Jack Nagel
ee893fdd88 Preserve original backtrace when raising GitHub::Error 2014-02-08 16:04:53 -05:00
Jack Nagel
2e3871c076 Raise only GitHub::Error from GitHub.open 2014-02-08 16:04:53 -05:00
Jack Nagel
4d6df3e3bc Parse JSON early in GitHub module 2014-02-08 16:04:53 -05:00
Jack Nagel
f7e1244e6d Don't mutate argument in search_tap 2014-02-08 16:04:52 -05:00
Adam Vandenberg
dae221bdb8 Move colormake to headonly
Closes Homebrew/homebrew#25226.
2014-02-06 22:57:01 -08:00
Mike McQuaid
8108ccc374 formula_installer: print bottle failure exception. 2014-02-02 21:29:06 +00:00
Camillo Lugaresi
cbd14fde1e Correctly find Homebrew-installed fortran
Fixes Homebrew/homebrew#26338.
Closes Homebrew/homebrew#26352.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-02-02 14:13:53 -05:00
Misty De Meo
d885d98164 C++ stdlibs: issue warning, don't fail the build 2014-02-02 11:04:30 -08:00
Misty De Meo
edf474cb63 C++ stdlib check: don't check executables for deps
This avoids some possible false positives, as happens with, e.g., qt4.
2014-02-02 11:04:30 -08:00
Mike McQuaid
8b969e981c caveats: tweak app bundle message. 2014-02-02 10:11:48 +00:00
Mike McQuaid
d83ed0d793 bottle: improve bottle commit writing. 2014-01-31 19:07:57 +01:00
Mike McQuaid
2e7c423609 bottle: show diff before trying to commit. 2014-01-30 16:58:12 +01:00
Mike McQuaid
a42ac924dd language_module_dependency: don't use build_env.
This is so a e.g. brewed Python's modules can be found by superenv.

References Homebrew/homebrew#26229.
Closes Homebrew/homebrew#26197.
2014-01-30 09:51:42 +01:00
Adam Vandenberg
92203ceaca don't trigger VCS when patching
When patching read-only files, patch can try to check-out from
a VCS system when other conditions are met, such as environmental
variables being set.

Homebrew never wants to trigger this behavior, so pass --get=0.

Closes Homebrew/homebrew#26277.
2014-01-29 21:24:30 -08:00
Mike McQuaid
ed53bb333b python_dependency: cleanup and fix build env.
* Only set PYTHONPATH for Python 2.
* Set the Python binary for superenv.

References Homebrew/homebrew#24842.
Closes Homebrew/homebrew#26197.
Closes Homebrew/homebrew#26216.
Closes Homebrew/homebrew#26218.
Closes Homebrew/homebrew#26228.
2014-01-29 17:49:57 +01:00
Misty De Meo
b7781c4571 Revert "Add python superenv wrapper"
This reverts commit 90e22e389c539b25fe7864645bfe5e2a9ce7452f.
2014-01-27 20:46:04 -08:00
aereal
91524a384d Make brew tap error message more clear
Closes Homebrew/homebrew#25813.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-01-26 17:33:12 -06:00
Misty De Meo
ee76cf75af Add python superenv wrapper
Closes Homebrew/homebrew#26140.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2014-01-26 10:55:49 -08:00
Frizlab
5de3686cd2 upgrade: fix output when no packages to upgrade.
When upgrading, if the only package to upgrade is a
pinned package, the output looked like that:
	==> Upgrading 0 packages, with result:

	==> Not upgrading 1 pinned package:
	<<package_name & version>>

The blank line is not beautiful. This commit fixes
the output and replaces with:
	==> No packages to upgrade
	==> Not upgrading 1 pinned package:
	<<package_name & version>>

Closes Homebrew/homebrew#26157.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-01-26 18:04:20 +01:00
Mike McQuaid
2a2c9402b9 mac: note that we only track stable Xcode versions. 2014-01-22 17:48:47 -08:00
Mike McQuaid
63fcca2fc4 caveats: tweak python site-packages wording.
References Homebrew/homebrew#25789.
2014-01-21 09:02:06 -08:00
Mike McQuaid
689be66203 python_dependency: cleanup, fix satisfy.
Closes Homebrew/homebrew#26067.
2014-01-20 23:30:32 -08:00
Mike McQuaid
a65f649cf5 utils: improve issue searching.
* issues_matching now returns an array
* prints issues titles and URLs
* find_pull_requests shows closed PRs if no matching PRs are open

Closes Homebrew/homebrew#26032.
2014-01-20 17:58:50 -08:00
Mike McQuaid
28143fb653 PythonDependency: massive refactoring.
Closes Homebrew/homebrew#24842.
2014-01-20 15:42:52 -08:00
Mike McQuaid
cb024e222c bottle: only print relocations with --verbose. 2014-01-20 15:26:31 -08:00
Mike McQuaid
f4cd66a88f caveats: print .app caveats if installed to keg. 2014-01-19 14:19:07 -08:00
Mike McQuaid
d8d76da55f keg: add function to detect if .app(s) installed. 2014-01-19 14:19:07 -08:00
Mike McQuaid
91f7f68ec4 bottle: use new quoting style. 2014-01-19 10:06:46 -08:00
Misty De Meo
a506053b98 Only search open pull requests, not closed
Refs Homebrew/homebrew#25962.
2014-01-16 13:04:15 -08:00
David Larson
ddce205f3f LICENSE: copyright 2014.
Closes Homebrew/homebrew#25917.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-01-15 09:07:18 +00:00
Jack Nagel
8f89db4882 Fix typo 2014-01-11 21:28:25 -06:00
Jack Nagel
0f5a80a97b Fix tokenizing openssl style versions
Fixes Homebrew/homebrew#25736.
2014-01-11 20:00:34 -06:00
Jack Nagel
92ac63fd94 LanguageModuleDependency: remove code that only worked by accident
The array elements here are individual arguments to exec, not a string
to pass to the shell; this only appeared to work. In reality, `opam
list` accepts "|" as valid argument, and the command works fine without
grepping the output.
2014-01-11 19:37:19 -06:00
Jack Nagel
0d42601872 Escape issue search string
Fixes Homebrew/homebrew#25779.
2014-01-10 17:32:15 -06:00
Mike McQuaid
30e409adfd search: handle tap not found and suggest update.
Closes Homebrew/homebrew#25706.
Closes Homebrew/homebrew#25682.
2014-01-09 17:20:54 +00:00
Mike McQuaid
30503cebaa Revert "detect_cxx_stdlibs: ignore executables."
This reverts commit 1cd636d368c66d1346adc1c38633c8f204c759f4.
2014-01-08 07:33:32 +00:00
Christian Moritz
3651c0cb58 create: fix typos
Closes Homebrew/homebrew#25709.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-01-07 12:10:11 +00:00