Jack Nagel
729ee39994
Add missing require
2014-07-02 21:50:07 -05:00
Jack Nagel
a60ea13c64
Use 1.8 has syntax
...
Fixes Homebrew/homebrew#30558 .
2014-06-30 01:03:11 -05:00
Jack Nagel
e60709e3c2
gist-logs: 1.8 compat
2014-06-28 17:38:11 -05:00
Jack Nagel
6b5c53b03f
gist-logs: fix up encoding before passing the response body to OkJson
...
Fixes Homebrew/homebrew#30519 .
2014-06-28 17:35:58 -05:00
Mike McQuaid
49658cd46b
brew-versions: move to Contributions.
...
Eventually we'll move Contributions to a tap too.
Closes Homebrew/homebrew#30298 .
2014-06-25 09:35:37 +01:00
Jack Nagel
4d9d01893e
Move deprecated Formula class methods to compat
...
These have all been moved to Formulary.
2014-06-22 15:03:17 -05:00
Adam Vandenberg
dfe1c47531
deprecate brew-which
...
Closes Homebrew/homebrew#30311 .
2014-06-21 06:49:12 -07:00
Jack Nagel
8976a960df
brew-test-bot: use Dir[] for globbing
2014-06-20 19:27:38 -05:00
Jack Nagel
0e3249e188
brew-test-bot: use multiple argument form of system
2014-06-20 19:01:04 -05:00
Misty De Meo
8667387bee
Revert "Removew brew-which"
...
This reverts commit c0a32c81eb1b176448cd41866f2d22427c729522.
Will add a deprecation notice and remove at a later point in time.
2014-06-20 12:09:39 -07:00
Adam Vandenberg
dc46c43e2a
Removew brew-which
...
This functionality is better handled by brew list --versions
and other official commands.
2014-06-20 07:31:35 -07:00
Jack Nagel
10a1952d2c
Only "extend self" once on the Homebrew module
2014-06-19 13:10:36 -05:00
Jack Nagel
1cd31db1a8
brew-test-bot: don't pass formula name to fetch twice
2014-06-18 23:33:32 -05:00
Jack Nagel
89ba5b2b0a
brew-test-bot: fix FormulaUnavailableError handling
2014-06-15 20:23:21 -05:00
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