1701 Commits

Author SHA1 Message Date
Jack Nagel
50b900daf3 Don't warn about tap conflicts during pruning
Fixes Homebrew/homebrew#32710.
2014-09-27 12:17:22 -05:00
Jack Nagel
799a2a456e Use Dir.glob and array operations to remove whitelisted files 2014-09-24 19:58:10 -05:00
Jack Nagel
586756209c Dir.exist? is not in 1.8 2014-09-24 17:51:36 -05:00
Jack Nagel
612da7c3b0 Make sure the directory exists before chdir 2014-09-24 17:40:17 -05:00
Jack Nagel
0d370bc329 Revert "Revert "Whitelist MacFuse headers""
This reverts commit e81b82cc725ede00c1292a50a076bb8a652ccecd.
2014-09-24 17:40:17 -05:00
Jack Nagel
e603704e41 Revert "Revert "Simplify unbrewed file whitelists""
This reverts commit 338a451a47c884eb9ca96d7b0023417a1eaa4d3d.
2014-09-24 17:40:17 -05:00
Jack Nagel
1bd76b9a6e Revert "Revert "Whitelist OSXFuse headers""
This reverts commit f96ed45fe19855d0f8acc37d5d77d16d607dfce3.
2014-09-24 17:40:16 -05:00
Jack Nagel
ad8556ccea Revert "Revert "Match whitelisted files using fnmatch""
This reverts commit 91be9f5344d5931ddae6e4f905c18a607fa9e9f1.
2014-09-24 17:40:16 -05:00
Mike McQuaid
dfce2bb7c7 brew-man: Rubify, make an internal command.
Closes Homebrew/homebrew#32472.
2014-09-24 15:23:33 -07:00
Mike McQuaid
86ded7833c brew-cleanup-installed: Rubify, make internal cmd. 2014-09-24 15:22:59 -07:00
Mike McQuaid
3b8a6c0724 brew-tap-readme: make an internal command. 2014-09-24 15:22:51 -07:00
Mike McQuaid
af8a9ff502 brew-aspell-dictionaries: make a developer command 2014-09-24 15:22:51 -07:00
Mike McQuaid
ce6d76ed1c brew-switch: make an internal command. 2014-09-24 15:22:51 -07:00
Mike McQuaid
3a432bcc2a brew-pull: make an internal command. 2014-09-24 15:22:46 -07:00
Mike McQuaid
706e8abe29 brew-gist-logs: make an internal command. 2014-09-24 15:22:46 -07:00
Mike McQuaid
7989b2169f brew-test-bot: fix error detection logic. 2014-09-24 15:22:46 -07:00
Mike McQuaid
b7c9025d93 brew-test-bot: make an internal command. 2014-09-24 15:22:37 -07:00
Mike McQuaid
2df9b0e7ff Revert "Match whitelisted files using fnmatch"
This reverts commit f9c8b5e1da7ac09c85a6ebf9a94624bb9c60bed5.

Closes Homebrew/homebrew#32609.
Closes Homebrew/homebrew#32613.
2014-09-24 15:03:07 -07:00
Mike McQuaid
bc5117b88d Revert "Whitelist OSXFuse headers"
This reverts commit f05d29e3fd0d056b78da6a0b0247e64f91014e04.
2014-09-24 15:03:06 -07:00
Mike McQuaid
068b21db19 Revert "Simplify unbrewed file whitelists"
This reverts commit 2885a92612173f480303b03da1da739eb68550d7.
2014-09-24 15:03:05 -07:00
Mike McQuaid
f9bc7788d2 Revert "Whitelist MacFuse headers"
This reverts commit 6319cac687fa722a1d005fe056e0dac22d91ef9c.
2014-09-24 15:03:04 -07:00
Jack Nagel
959327958c Whitelist MacFuse headers 2014-09-24 15:09:26 -05:00
Jack Nagel
892d7dc130 Simplify unbrewed file whitelists
Only the keys of the hashes are used, so we can just use arrays and
comments instead.
2014-09-24 15:08:19 -05:00
Jack Nagel
f9d5dbb19b Whitelist OSXFuse headers 2014-09-24 14:00:39 -05:00
Jack Nagel
71b0c773ec Match whitelisted files using fnmatch 2014-09-24 14:00:39 -05:00
Jack Nagel
e5c42895a8 Add doctor check for unbrewed header files 2014-09-24 13:16:33 -05:00
chdiza
22d8380b05 audit: make has_DATA? ignore commented-out lines
Before this change, audit would detect commented-out lines
containing the string 'DATA' as if there were no commenting.
Then it could complain, e.g., problem "'DATA' was found, but no
'__END__'", which would be a false alarm in that circumstance.

Closes Homebrew/homebrew#32568.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-09-23 15:19:13 -05:00
Jack Nagel
d7dddc8f08 Audit for outdated devel versions 2014-09-23 13:04:55 -05:00
Jack Nagel
2dfc8c8352 Whitelist oxsfuse files since we support externally installed oxsfuse 2014-09-19 23:20:12 -05:00
Jack Nagel
d6bceebeca Clarify "could not tap" warning
Closes Homebrew/homebrew#31451.
Closes Homebrew/homebrew#32223.
2014-09-19 18:22:48 -05:00
Jack Nagel
fef8b0871d Remove obsolete nil guard
This was added in 3a7a3619f7016c75c3e53e944221bf7f6354a63b to make the
tests pass, but this method is now stubbed out in the tests, so we can
assume $? will be non-nil.
2014-09-18 21:56:48 -05:00
Jack Nagel
56dd575f96 Pass command and arg list into ErrorDuringExecution constructor 2014-09-18 20:32:50 -05:00
Jack Nagel
79a6e59e6e Implement brew test --debug 2014-09-18 14:16:07 -05:00
Jack Nagel
e717508b7b audit: access the homepage attribute once 2014-09-14 15:43:20 -05:00
Jack Nagel
f3b7c3236b Consistently call name on formula instead of relying on to_s 2014-09-14 11:19:30 -05:00
Jack Nagel
976bb9b057 Print each line of --env output atomically 2014-09-14 01:39:38 -05:00
Jack Nagel
529b060dbb Remove unnecessary conditional
If ARGV.named.empty?, then ARGV.formulae.map(&:name) == [].
2014-09-14 01:26:45 -05:00
Jack Nagel
909c2bd59e Replace loop + delete with array difference 2014-09-13 20:04:05 -05:00
Jack Nagel
c5885757e5 Store the object itself in the failed download set
Patches don't respond to "name".
2014-09-10 22:09:15 -05:00
Mike McQuaid
9531ecc72a Use bundler for test gem dependencies.
Closes Homebrew/homebrew#31986.
References Homebrew/homebrew#31981.
2014-09-10 13:29:14 +01:00
Michael Hackner
8d23a43f12 Fix brew list when combining --pinned and --versions
Fixes Homebrew/homebrew#32067
Closes Homebrew/homebrew#32099.
Closes Homebrew/homebrew#32134.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-09-07 18:55:02 -05:00
Jack Nagel
269405995e Simplify getting the list of doctor checks 2014-09-07 14:20:37 -05:00
Josh Larson
a316a07251 Fix comma splice in outdated brew message
Closes Homebrew/homebrew#32123.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-09-06 00:29:16 -05:00
Jack Nagel
6638d08489 doctor: print values of DYLD_* env vars 2014-09-04 17:33:33 -05:00
Mike McQuaid
d3150f3a06 audit: fix line number typo.
Closes Homebrew/homebrew#32031.
2014-09-02 11:50:00 +01:00
Jack Nagel
fe1bf57a15 audit: fix line number off-by-one 2014-09-01 23:25:16 -05:00
Jack Nagel
7bfb12aa45 Install dependencies before an interactive install
Closes Homebrew/homebrew#29121.
2014-08-30 15:02:47 -05:00
Jack Nagel
b46f8caa8f Object#methods returns an array of symbols on 1.9+
Fixes Homebrew/homebrew#31926.
2014-08-27 15:47:09 -05:00
Mike McQuaid
4db0aa19c1 install: search when formula isn't found.
If you do `brew install blah` it currently doesn't search for it. This
seems to be unintentional looking at this code as the exception thrown
by ARGV.formulae.each is not caught and handled. Instead, let's handle
this case and provide a little more usability around our taps.

Closes Homebrew/homebrew#31761.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-08-25 09:24:30 +01:00
Jack Nagel
3a96a1a594 Use a set to track failed downloads 2014-08-22 22:55:10 -05:00