Commit Graph
4875 Commits
Author SHA1 Message Date
Jack Nagel 0b2c6e87f1 Implement equality for Dependencies collections 2014-02-13 16:31:12 -05:00
Jack Nagel 257a2206a4 Eliminate unnecessary arrays and call to flatten 2014-02-13 15:39:13 -05:00
Jack Nagel 8d5f0d8bb3 Delete unused method 2014-02-12 14:28:26 -05:00
Jack Nagel 345457b33e Pass the string instead of reconstructing it from a regexp 2014-02-12 13:59:18 -05:00
Jack Nagel 0a3794776e Let the API do more work for us 2014-02-12 12:17:32 -05:00
Jack Nagel 33f344bdd4 Drop TODO that nobody has ever worked on 2014-02-12 12:13:02 -05:00
Jack Nagel ff209c7b9c Drop unnecessary type check, we never pass a Formula instance 2014-02-12 12:10:44 -05:00
Jack Nagel f66eeec960 Return only open issues in GitHub.issues_for_formula 2014-02-12 12:10:41 -05:00
Mike McQuaid efb3868697 osmium: add to blacklist.
References Homebrew/homebrew#12652.
2014-02-12 15:17:53 +00:00
Matt Torok 3320f12f76 brew-graph: improve formatting.
This commit adds additional formatting options to the graph. Most noticeable is a top-to-bottom layout (rather than the previous left-to-right), and nicer fonts on everything.

More subtly, the ranking mechanism has been updated so that the "Safe to Remove" cluster is always at the highest rank (fixing a bug where non-leaf nodes could have been placed next to it,) and added better margins and padding. The rank separation was also decreased for a more compact graph.

Under the hood, the GraphViz output code was updated to support attributes with a list of sub-attributes (for example, 'graph [fontsize="11", fontname="Helvetica"]') and to not put quotes around HTML-like labels in clusters.

Closes Homebrew/homebrew#26651.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-02-12 11:40:40 +00:00
Adam Vandenberg ae69fa25cc Revert "Recognize --head as an alias for --HEAD"
This reverts commit c32ab0a35a2dfa9b593f759ef0ae8b7af077b0b7.

There are other hard-coded uses of HEAD, in build_options for instance.
These all need to be fixed before enabling this.
2014-02-11 21:25:26 -08:00
Chad Catlett 4d3dbba644 Use HOMEBREW_PREFIX/opt to find installs instead of symlinks in bin, lib, sbin.
Closes Homebrew/homebrew#25868.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-11 20:27:05 -08:00
Jack Nagel 18f3b9f6d1 ls-taps: search names only 2014-02-11 17:27:12 -05:00
Bo Jeanes 63e56fd4df brew-services: don't hardcode launchctl path
This change allows users to install the `launchctl` wrapper in the
`reattach-to-user-namespace` formula which makes the command work in
Tmux and other non-standard environments.

Closes Homebrew/homebrew#26609.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-02-11 19:40:56 +00:00
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
Jack Nagel 1eddc73472 Fix ls-taps for v3 API
This doesn't handle paginated results, but it fetches the 100 most
starred results so that's probably good enough for now.

Fixes Homebrew/homebrew#26566.
2014-02-10 11:27:54 -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
Welton Rodrigo 3805df0b44 Include buildpath info into example formula
The example formula had no information about how
to find the current bulding directory. Now it has ;)

Closes Homebrew/homebrew#26554.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-09 12:38:02 -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 18730f835d brew-test-bot: reset to origin for bottle upload. 2014-01-31 19:12:41 +01:00
Mike McQuaid d83ed0d793 bottle: improve bottle commit writing. 2014-01-31 19:07:57 +01:00
Mike McQuaid 7ed97b14fd brew-test-bot: strip more unicode crap from XML. 2014-01-30 18:05:25 +01:00
Mike McQuaid d307e5db96 brew-test-bot: handle git repositories for upload. 2014-01-30 17:15:16 +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
Manpreet Singh cf8cd9d4c2 pod2man: Fix for machines upgraded to Mavericks
Closes Homebrew/homebrew#24590.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-01-28 18:36:06 -08:00
Guillaume Algis 00cba6dc04 Fix comment error in example formula
Closes Homebrew/homebrew#26017.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-01-28 14:10:17 -06:00
Misty De Meo b7781c4571 Revert "Add python superenv wrapper"
This reverts commit 90e22e389c539b25fe7864645bfe5e2a9ce7452f.
2014-01-27 20:46:04 -08:00