1701 Commits

Author SHA1 Message Date
Jack Nagel
a699eeb468 Don't use a regexp to match paths, just compare them for equality 2014-04-24 20:45:36 -05:00
Jack Nagel
ccd31a2dd2 Pass arguments instead of reopening Pathname 2014-04-24 18:26:05 -05:00
Jack Nagel
dcb9ae1bcc Using existing method to make tap symlinks 2014-04-24 18:06:11 -05:00
Tsukasa OMOTO
54004a4759 Make the on-disk representation of taps unambiguous
This commit supports "-" and "_" in names of user and repository.

Closes Homebrew/homebrew#28203.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-04-24 17:10:41 -05:00
Dan Martinez
4303817ec7 separate the brew info for multiple formulae
Closes Homebrew/homebrew#27311.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-04-23 20:41:24 -07:00
Mike McQuaid
d30b118631 Migrate apple-gcc42 back to homebrew/versions.
Closes Homebrew/homebrew#28418.
2014-04-23 12:27:24 +01:00
Jack Nagel
72d83adaf3 Adjust link command for updated error handling 2014-04-21 12:43:06 -05:00
Mike McQuaid
daa7b7b6db search: move nginx to Homebrew organisation. 2014-04-18 10:59:12 +01:00
Jack Nagel
9d02c39e23 Fix syntax error 2014-04-15 11:37:20 -05:00
Jack Nagel
a55e670a8a Remove yet another xcode-select check 2014-04-15 11:28:01 -05:00
Adam Vandenberg
7fe9413cf1 audit: use .diff instead of .patch for github diffs 2014-04-11 07:31:56 -07:00
Mike McQuaid
513a1f2ebd Migrate homebrew-php to Homebrew organization. 2014-04-10 16:22:24 +01:00
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