4632 Commits

Author SHA1 Message Date
Jack Nagel
d8bdcf84af Remove obsolete guards around canonical_name return value 2014-04-05 22:03:49 -05:00
Jack Nagel
ce1f598e98 Avoid realpath where it is not necessary
Symlinks in opt and LinkedKegs point directly at a keg in the cellar, so
only resolving one symlink should suffice, and make it clear what path
we are actually interested in.
2014-04-05 12:17:19 -05:00
Jack Nagel
63da62c6d0 Revert "Audit gnome URLs, prefer download.gnome.org"
This reverts commit 557ef8df05a8ea28ed903f08b2009ebc0e218f5a.
2014-04-03 09:29:23 -05:00
Jack Nagel
0d3121f781 Batch up mdfind calls when possible 2014-04-01 20:47:26 -05:00
Mike McQuaid
bf8ff2dcb7 audit: check the use of Dir[]
Sometimes `Dir[]` is used with single files/directories unnecessarily.
2014-03-31 11:52:59 -05:00
Jack Nagel
94f324d778 Audit gnome URLs, prefer download.gnome.org 2014-03-30 18:00:00 -05:00
Jack Nagel
cb9ee747e0 Fix Keg#find so we don't have to deal with it everywhere
lol inheritance
2014-03-27 17:06:05 -05:00
Jack Nagel
1f0d424459 link: fix output ordering when exceptions are raised 2014-03-27 16:27:46 -05:00
Jack Nagel
3a48d7ab9b link: print wrapper is not always required 2014-03-27 16:27:46 -05:00
Jack Nagel
714bfee8d9 Add missing newline to link and unlink in verbose mode 2014-03-26 21:53:34 -05:00
Mike McQuaid
6e86976920 Revert "doctor: use double quotes for setting PATH."
I'm an idiot.

This reverts commit f890e4973840a66a522189c8e5530bff61d17162.
2014-03-25 16:20:53 +00:00
Mike McQuaid
7846ed4f76 audit: don't warn about tarball in non-GitHub URL. 2014-03-25 16:14:03 +00:00
Mike McQuaid
0d898edc37 doctor: use double quotes for setting PATH.
Closes Homebrew/homebrew#27619.
2014-03-25 16:02:19 +00:00
Jack Nagel
a72061c59a Check existence of target keg instead of hiding exceptions 2014-03-24 11:00:55 -05:00
Jack Nagel
543f2a68e9 Don't send, just call the method directly 2014-03-22 13:16:16 -05:00
Jack Nagel
f760ee2751 audit: #{prefix}/Frameworks -> #{frameworks} 2014-03-21 20:09:56 -05:00
Ian Lancaster
58456a5469 audit: suggest proper if build.with(out) usage
Closes Homebrew/homebrew#27759.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-03-21 17:07:27 +00:00
Jack Nagel
dc8218fdb5 audit: catch new style gist URLs 2014-03-19 18:24:10 -05:00
Geoff Nixon
9bbe38aa59 audit: fix gist patch URL regex
Closes Homebrew/homebrew#27255.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>

Conflicts:
	Library/Homebrew/cmd/audit.rb
2014-03-19 18:24:08 -05:00
Jack Nagel
c613ff0fad Fix copy/paste error
Fixes Homebrew/homebrew#27685.
2014-03-18 22:59:44 -05:00
Jack Nagel
4353f4fc97 Detect absolute symlinks during bottle relocation check 2014-03-18 19:03:24 -05:00
Jack Nagel
088c774d87 diy: warn when detected name is an alias
cf. Homebrew/homebrew#22778.
2014-03-15 12:55:14 -05:00
Jack Nagel
30b4961dde Modernize brew diy 2014-03-15 12:55:14 -05:00
Jack Nagel
eab90dcb56 Rewrite brew reinstall
Fixes Homebrew/homebrew#23928.
2014-03-15 10:53:03 -05:00
Jack Nagel
4f051abc3e Teach audit about new patches implementation 2014-03-13 21:35:41 -05:00
Jack Nagel
86cdd812a2 Teach fetch to download patches 2014-03-13 21:35:41 -05:00
Jack Nagel
3b68723fa8 Make FormulaInstaller setup more readable 2014-03-13 15:59:54 -05:00
Jack Nagel
ce5e2aa65c Make debug an installer mode 2014-03-13 15:59:54 -05:00
Jack Nagel
4d02849d43 Make verbose an installer mode 2014-03-13 15:59:54 -05:00
Jack Nagel
908d2ba792 Make interactive an installer mode 2014-03-13 15:59:53 -05:00
Jack Nagel
60caf14ce2 Don't set installer options to their default
ignore_deps and show_header default to false.
2014-03-13 15:59:53 -05:00
Mike McQuaid
0e52cc6188 bottle: remove pyc files before bottling.
Allows more `cellar :any` bottles.
2014-03-13 10:05:20 +00:00
Jack Nagel
da26203912 Fix brew bottle --merge 2014-03-11 09:16:14 -05:00
Jack Nagel
2dbd5fd509 Drop executable bit from linkapps.rb 2014-03-10 16:25:08 -05:00
Jack Nagel
85ee742737 Update --cache command for generalized bottle implementation 2014-03-10 14:56:03 -05:00
Jack Nagel
0129542ede Update bottle command for generalized bottle implementation 2014-03-10 14:56:02 -05:00
Jack Nagel
a8fe989733 Update fetch command for generalized bottle implementation 2014-03-10 14:56:02 -05:00
Jack Nagel
7f875419c6 Update info command for generalized bottle implementation 2014-03-10 14:56:02 -05:00
Jack Nagel
a96c1a2afc Make force_bottle an explicit installer mode 2014-03-10 14:56:02 -05:00
Jack Nagel
97dd5f61c4 install: explicitly pass used options to the installer 2014-03-10 14:56:02 -05:00
Jack Nagel
a911dd5066 Make build_from_source an explicit installer mode 2014-03-10 14:56:02 -05:00
Jack Nagel
42e60f7c59 Make build_bottle an explicit installer mode 2014-03-10 14:56:01 -05:00
Mike McQuaid
9850e84f3b fetch: fix --retry with resources. 2014-03-08 17:21:37 +00:00
Ian Lancaster
9c345bfc03 audit: Raise problem with non-https Google Code download urls 2014-03-08 09:10:54 -08:00
Adam Vandenberg
85c93ad22c remove brew info --all
Closes Homebrew/homebrew#27322.
2014-03-08 07:43:36 -08:00
Mike McQuaid
a5bed1ea31 audit: check for good with/without usage.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-03-08 00:54:35 +00:00
Mike McQuaid
1070acfe7a audit: don't use GitHub zip files.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-03-08 00:54:35 +00:00
Mike McQuaid
1fd8e7fd75 audit: better handle formulae whitelisting.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-03-08 00:54:35 +00:00
Jaime Marquínez Ferrándiz
342ed1d163 uses: fix --installed with outdated versions
With that option iterate only over `Formula.installed`, otherwise
iterate over `Formula`. This is faster than iterating over all the
formulae and checking if it's installed.

Fixes Homebrew/homebrew#27259.
Closes Homebrew/homebrew#27295.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-03-07 18:47:34 -06:00
Mike McQuaid
cb047a223b fetch: fix overloading Homebrew.failed. 2014-03-06 21:17:52 +00:00