181 Commits

Author SHA1 Message Date
Wil Moore III
a04a6a399a add brew-bundle-dir contributed command
Closes Homebrew/homebrew#27258.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-05-13 11:02:48 -07:00
Adam Vandenberg
3722516f43 remove commented-out line of code 2014-05-13 10:06:10 -07:00
Misty De Meo
21c2bf40f7 brew-pull: update for new tap structure 2014-05-07 09:11:14 -07:00
Adam Vandenberg
d4b0599a86 --config -> config 2014-04-30 19:09:29 -07:00
Mike McQuaid
ec852045b1 brew-test-bot: handle failing devel requirements. 2014-04-30 13:07:06 +01:00
Jack Nagel
32b7c9ff15 unpack: use correct constant scope for DATA
Formula::DATA only worked by accident of implementation; DATA during the
build is actually Object::DATA, so we should mirror that here.

This reverts commit b12444ba6e1ac1d596a70ff4c777d9386d0791ac.
2014-04-29 15:41:23 -05:00
Charlie Sharpsteen
69573ba7a2 brew-unpack: Handle new style :DATA patches
Instances of `IOPatch` created by `patch :DATA` are not affected by re-setting
the `DATA` constant of the `Formula` instance. For these patches, we iterate
through the `patchlist` and use `instance_variable_set` to attach data.

A bit hacky, but `patchlist` has no write accessors so there isn't a clean way
to modify patch contents.
2014-04-29 10:46:02 -07:00
Jack Nagel
a31393f2cd Fix brew-readall for updated tap structure 2014-04-27 19:45:36 -05:00
Jack Nagel
99c275d03b Remove slow tab completion for brew tap
This requires hitting the network, which makes the first invocation
slow. The results are inaccurate as it only pulls down the first page of
results. It is also prone to false-positives.

A better implementation is welcome, but in the years since I wrote this
code I can't think of a single time where I found it useful.
2014-04-24 21:42:15 -05:00
Mike McQuaid
165fdf4617 Use gcc instead of apple-gcc42 when needed. 2014-04-23 08:15:30 +01:00
Mike McQuaid
5883f1675d brew-test-bot: check CompilerSelectionError twice.
It may be that even installing a new compiler doesn't fix things so
detect that case and skip the formula installation rather than erroring
out.
2014-04-15 08:29:30 +01:00
Jack Nagel
63d0a5bf75 Don't walk tap twice just to get the formula path again, it's slow 2014-04-14 19:08:09 -05:00
Mike McQuaid
2d155f2d41 readall: read formulae that aren't tapped.
This will allow the reading and checking of formulae that mirror
Homebrew core formulae (e.g. `git` in a tap) and, with the previous exit
code changes, is a reasonable check for "are all the formulae in taps
updated to the latest core DSL".

Closes Homebrew/homebrew#28328.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-04-13 19:18:38 +01:00
Mike McQuaid
f51bda9e0a readall: set Homebrew.failed on exception. 2014-04-11 16:02:41 +01:00
Jack Nagel
2616127a28 Remove unnecessary usage of Formula.canonical_name 2014-04-05 22:03:39 -05:00
Mike McQuaid
d3c8e2f9cb brew-pull: handle syntax errors in formulae. 2014-03-17 10:45:46 +00:00
Jack Nagel
db08d3017c brew-unpack: don't chdir further than a normal install would
If we want to generate usable patches from inside the unpacked source,
then we should start from the same directory that a normal install
would start from.
2014-03-13 11:29:48 -05:00
Jack Nagel
088c1b550a brew-unpack: separate args passed to system 2014-03-13 11:29:48 -05:00
Jack Nagel
fba5bf85b0 brew-unpack: use extend instead of reopening Formula 2014-03-13 11:29:48 -05:00
Mike McQuaid
bcb82edea0 brew-test-bot: set Git author/committer correctly. 2014-03-13 12:15:35 +00:00
Mike McQuaid
a6b46347a1 brew-test-bot: use install_args for building deps. 2014-03-13 10:31:22 +00:00
Mike McQuaid
ca0133cf5b brew-test-bot: hide --retry flag. 2014-03-13 10:30:49 +00:00
Jack Nagel
6e2a469e8b brew-unpack: remove obsoleted bottle workaround 2014-03-12 18:47:29 -05:00
Mike McQuaid
3c4da82ee9 pull: add --bump option. 2014-03-08 01:19:20 +00:00
Mike McQuaid
52658e793a pull: warn if not pulling bottles. 2014-03-08 01:12:02 +00:00
Mike McQuaid
aa15b265e5 pull: general cleanup/fixes. 2014-03-08 01:12:02 +00:00
Adam Vandenberg
e35adf1546 brew-man: view the target file directly 2014-03-04 18:22:24 -08:00
Mike McQuaid
281494c255 brew-test-bot: use fetch --retry.
Closes Homebrew/homebrew#27110.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-03-01 16:45:31 +00:00
Mike McQuaid
57769d7448 brew-test-bot: don't force-fetch deps. 2014-02-23 10:41:22 +00:00
Mike McQuaid
690060578c brew-test-bot: further tweak cleanup handling. 2014-02-23 10:34:22 +00:00
Jack Nagel
1d9e78f381 Remove brew-mirror-check command
This command uses removed API and is thus broken. It can always be
retrieved from the git history.
2014-02-22 20:17:04 -05:00
Mike McQuaid
bf57ddf302 brew-test-bot: only cleanup cache once. 2014-02-22 17:57:55 +00:00
Mike McQuaid
b33203604e brew-test-bot: push master with tags. 2014-02-22 17:27:04 +00:00
Mike McQuaid
a35fb6a192 brew-test-bot: force dep fetches on cleanup. 2014-02-22 17:01:38 +00:00
Mike McQuaid
52f3c3b9e3 pull: tap if necessary. 2014-02-17 19:10:15 +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
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
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
Mike McQuaid
18730f835d brew-test-bot: reset to origin for bottle upload. 2014-01-31 19:12:41 +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
8c6c644a6b brew-test-bot: install GCC if needed. 2014-01-25 22:02:35 +01:00
Stefan
0b3d7ddf71 gist logs: print last url
Closes Homebrew/homebrew#25514.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-01-14 08:23:17 +00:00
Stefan
2f679153ee gist logs: fix error message
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-01-14 08:23:17 +00:00
Mike McQuaid
ed613bb2f3 pull: fix --bottle to no longer use mxcl. 2014-01-09 20:12:44 +00:00
Mike McQuaid
8589a06539 brew-test-bot: output files removed from cache. 2014-01-07 16:45:21 +00:00
Mike McQuaid
6bf0433595 brew-test-bot: nuke cache on cleanup. 2014-01-07 16:40:30 +00:00
Christian Moritz
b50d5126ee brew-test-bot: check requirements default_formulae
With this brew-test-bot doesn't skip builds, if a requirement isn't
satisfied but a default_formula is specified.

This default_formula is already in dependencies, because of brew deps.

Closes Homebrew/homebrew#25398.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-12-23 18:35:50 +00:00