197 Commits

Author SHA1 Message Date
Jack Nagel
a57e49db39 brew-test-bot: use path-limited diff 2014-06-15 20:23:21 -05:00
Jack Nagel
4e29bab683 brew-test-bot: make git commands shell-safe 2014-06-15 20:23:20 -05:00
Jack Nagel
299b272c6c brew-test-bot: make test commands shell-safe 2014-06-15 20:23:20 -05:00
Adam Vandenberg
53826bdb0e Migrate readall 2014-06-15 15:48:14 -07:00
Jack Nagel
d487c3d978 brew-test-bot: remove dead code 2014-06-14 21:46:26 -05:00
Jack Nagel
03488424cb Handle non-ASCII output encoded as ASCII
Some tool involved in `brew install node` is emitting UTF-8 even though
LANG and LC_ALL are unset. Since the external encoding is US-ASCII, we
need to guard against bad data here.
2014-06-14 00:07:24 -05:00
Mike McQuaid
eebef9b2d4 brew-test-bot: strip bell/alert character. 2014-06-04 16:21:42 +01:00
Jack Nagel
104b725c88 String isn't enumerable in 1.9+ 2014-06-03 11:04:06 -05:00
Jack Nagel
4a5462cfa8 Switch to "Current" Ruby framework symlink
Closes Homebrew/homebrew#29795.
Closes Homebrew/homebrew#29819.
2014-06-03 11:03:53 -05:00
Jack Nagel
84251bd44f Fix formula path usage in brew-gist-logs
Formula#path can no longer be a symlink.
2014-05-26 11:19:16 -05:00
Alex Burka
840a5c7418 fix HTTP 422 when gist-logs sends an empty file
Closes Homebrew/homebrew#29476.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-05-22 20:49:26 -05:00
Adam Vandenberg
c6f1ccc215 make tests an internal command 2014-05-21 08:27:13 -07:00
Jack Nagel
fbf1c189a7 Move brew-unpack to core 2014-05-17 17:12:40 -05:00
Adam Vandenberg
0aedcebb33 Remove brew-dirty
Replaced with `brew list --versions --multiple`.
2014-05-17 10:07:42 -07:00
Adam Vandenberg
558378ffb2 Remove brew-grep 2014-05-17 10:07:36 -07:00
Adam Vandenberg
631a5a3a0b remove empty file 2014-05-15 20:29:58 -07:00
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