Jack Nagel
9f3a74096d
unlink: prefer "symlinks" since that's how it is reported by link
...
cf. Homebrew/homebrew#28244 .
2014-04-08 13:54:53 -05:00
Jack Nagel
872f46dc1e
Restore documented behavior of brew uses foo bar
...
`brew uses foo bar` is supposed to return the intersection of formulae
that use foo and bar. However, this was broken by changes made to
support requirements that can coerce to regular dependencies.
2014-04-07 13:07:04 -05:00
Jack Nagel
574fc99258
uses: only check ARGV for recursive flag once
2014-04-07 13:07:04 -05:00
Jack Nagel
a9461dd01b
doctor: fix typo
...
Fixes Homebrew/homebrew#28221 .
2014-04-07 10:03:44 -05:00
Jack Nagel
a2a75aca1a
Mirror unlink logic when checking for linked keg-only formulae
2014-04-06 13:56:26 -05:00
Lee Hanxue
af4aff8c13
brew audit: show line number for whitespace
...
Closes Homebrew/homebrew#24481 .
Closes Homebrew/homebrew#24490 .
2014-04-06 10:30:36 -07:00
Jack Nagel
cfee535786
Remove now unnecessary realpath calls
2014-04-06 00:31:07 -05:00
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