Commit Graph
3918 Commits
Author SHA1 Message Date
Misty De Meo c32ab0a35a 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 #26555.
2014-02-09 15:44:49 -08:00
Jack Nagel 26d7b09d15 X11Dependency: style 2014-02-09 14:23:56 -05:00
Jack Nagel ce3ae1fd92 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 d8076311bc bottle: fix --write messages. 2014-02-09 14:34:50 +00:00
Mike McQuaid 7c8f922afd bottle: make --write handle both quotes styles. 2014-02-09 14:34:50 +00:00
Jack Nagel 0e13b9ea36 Use GitHub wrapper for private tap check 2014-02-08 20:41:11 -05:00
Jack Nagel 849d6a0fb5 Pin GitHub module to v3 API 2014-02-08 20:41:11 -05:00
Jack Nagel 27402354d1 Switch to v3 search API 2014-02-08 20:41:11 -05:00
Jack Nagel 4ff62bd42f Drop unnecessary map + compact in search_tap 2014-02-08 17:53:08 -05:00
Jack Nagel 0cb0c280d5 Don't let issue search kill install process 2014-02-08 16:04:53 -05:00
Jack Nagel e742019114 Prevent repeated warnings when GitHub API rate limit is exceeded 2014-02-08 16:04:53 -05:00
Jack Nagel 7e5b15efc7 Preserve original backtrace when raising GitHub::Error 2014-02-08 16:04:53 -05:00
Jack Nagel 013482bf94 Raise only GitHub::Error from GitHub.open 2014-02-08 16:04:53 -05:00
Jack Nagel 0a7767b247 Parse JSON early in GitHub module 2014-02-08 16:04:53 -05:00
Jack Nagel 813cad6e1d Don't mutate argument in search_tap 2014-02-08 16:04:52 -05:00
Adam Vandenberg 6e2873f6ed Move colormake to headonly
Closes #25226.
2014-02-06 22:57:01 -08:00
Mike McQuaid 0c67d4db30 formula_installer: print bottle failure exception. 2014-02-02 21:29:06 +00:00
Camillo Lugaresi 9f3c074e12 Correctly find Homebrew-installed fortran
Fixes #26338.
Closes #26352.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-02-02 14:13:53 -05:00
Misty De Meo c3a331dfbf C++ stdlibs: issue warning, don't fail the build 2014-02-02 11:04:30 -08:00
Misty De Meo 3d82b7303c 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 cb97f3e5d5 caveats: tweak app bundle message. 2014-02-02 10:11:48 +00:00
Mike McQuaid 65931499f6 bottle: improve bottle commit writing. 2014-01-31 19:07:57 +01:00
Mike McQuaid 11be9bd8bf bottle: show diff before trying to commit. 2014-01-30 16:58:12 +01:00
Mike McQuaid e3b4c51eef language_module_dependency: don't use build_env.
This is so a e.g. brewed Python's modules can be found by superenv.

References #26229.
Closes #26197.
2014-01-30 09:51:42 +01:00
Adam Vandenberg a5b5b03a3a 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 #26277.
2014-01-29 21:24:30 -08:00
Mike McQuaid 9ead3a1b08 python_dependency: cleanup and fix build env.
* Only set PYTHONPATH for Python 2.
* Set the Python binary for superenv.

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

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

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2014-01-26 10:55:49 -08:00
Frizlab 222864afc8 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 #26157.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-01-26 18:04:20 +01:00
Mike McQuaid 01ec337f06 mac: note that we only track stable Xcode versions. 2014-01-22 17:48:47 -08:00
Mike McQuaid 5fc088cf46 caveats: tweak python site-packages wording.
References #25789.
2014-01-21 09:02:06 -08:00
Mike McQuaid fc518378ab python_dependency: cleanup, fix satisfy.
Closes #26067.
2014-01-20 23:30:32 -08:00
Mike McQuaid 6e5afe9705 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 #26032.
2014-01-20 17:58:50 -08:00
Mike McQuaid b3f4929f9d PythonDependency: massive refactoring.
Closes #24842.
2014-01-20 15:42:52 -08:00
Mike McQuaid 0313168fc9 bottle: only print relocations with --verbose. 2014-01-20 15:26:31 -08:00
Mike McQuaid 5b72d68d0d caveats: print .app caveats if installed to keg. 2014-01-19 14:19:07 -08:00
Mike McQuaid f6abf315eb keg: add function to detect if .app(s) installed. 2014-01-19 14:19:07 -08:00
Mike McQuaid 0d2c3d6d01 bottle: use new quoting style. 2014-01-19 10:06:46 -08:00
Misty De Meo 3e9e630783 Only search open pull requests, not closed
Refs #25962.
2014-01-16 13:04:15 -08:00
David Larson ed9127c593 LICENSE: copyright 2014.
Closes #25917.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-01-15 09:07:18 +00:00
Jack Nagel 620cf657e1 Fix typo 2014-01-11 21:28:25 -06:00
Jack Nagel fdc977a330 Fix tokenizing openssl style versions
Fixes #25736.
2014-01-11 20:00:34 -06:00
Jack Nagel 30e4e4c1a9 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 c41fa02b2d Escape issue search string
Fixes #25779.
2014-01-10 17:32:15 -06:00
Mike McQuaid 7c95914a41 search: handle tap not found and suggest update.
Closes #25706.
Closes #25682.
2014-01-09 17:20:54 +00:00
Mike McQuaid b4055243ee Revert "detect_cxx_stdlibs: ignore executables."
This reverts commit 1cd636d368.
2014-01-08 07:33:32 +00:00
Christian Moritz 2796223bef create: fix typos
Closes #25709.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-01-07 12:10:11 +00:00
Mike McQuaid 1cd636d368 detect_cxx_stdlibs: ignore executables. 2014-01-07 08:49:37 +00:00
Mike McQuaid 2ed303f323 create: always use double quotes. 2014-01-07 08:11:02 +00:00