1740 Commits

Author SHA1 Message Date
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
Jack Nagel
037acb81c8 Fix cleanup for head-only formulae
Fixes Homebrew/homebrew#27265.
2014-03-06 09:50:44 -06:00
Adam Vandenberg
5c51c85564 Finesse doctor message for /Library Python 2014-03-05 21:29:36 -08:00
Jack Nagel
bacf5d7137 Don't use pkg_version when cleaning the cache
Fixes Homebrew/homebrew#27245.
2014-03-05 21:45:07 -06:00
Jack Nagel
44dc21ca5d Prepare bottle tooling for formula revisions 2014-03-05 20:45:44 -06:00
Jack Nagel
17032a600c Teach commands to work with revisions 2014-03-05 20:12:51 -06:00
Adam Vandenberg
7e45cbafca audit: ...or quoted 2014-03-05 07:53:53 -08:00
Adam Vandenberg
d55dc8d01e audit: find env/export as a full word, not as a prefix
Closes Homebrew/homebrew#27219.
2014-03-05 07:53:19 -08:00
Troels Thomsen
fdf5ecf4bb Use name of formula rather than name of dependency
Closes Homebrew/homebrew#27192.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-03-04 16:00:25 -06:00
Jack Nagel
1ab5943fb2 Let commands decide what mode the installer should use 2014-03-04 14:06:25 -06:00
Jack Nagel
4c0db19538 Extract installer setup to prelude method 2014-03-04 14:06:25 -06:00
Mike McQuaid
21e5785652 bottle: fix bottling Git tag case. 2014-03-04 17:34:21 +00:00
Jack Nagel
de254f6cd6 Stop mutating build options in upgrade 2014-03-02 14:02:18 -06:00
Jaime Marquínez Ferrándiz
8a014b3221 audit: Raise a problem if the SourceForge download url uses http instead of https
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-02 09:16:53 -08:00
Jack Nagel
c534b1907d Revert "Let commands decide what mode the installer should use"
I'd still like to make this change, but at least for now the initializer
requires ignore_deps to be set correctly.

This reverts commit 881a8855b944fa9bd7dfd598bb9197f79f7a13f0.
2014-03-02 09:01:50 -06:00
Adam Vandenberg
95d7776a90 add check for /Library Python
Closes Homebrew/homebrew#24788.
2014-03-01 23:19:36 -08:00
Jack Nagel
47f22d20af Fix typo 2014-03-02 00:30:09 -06:00
Jack Nagel
ffbe5bf22c Let commands decide what mode the installer should use 2014-03-02 00:21:13 -06:00
Jack Nagel
ea85812c58 Reduce the number of ways options can be passed to the installer 2014-03-02 00:03:08 -06:00
Jack Nagel
7966b29ac6 reinstall: re-raise original exception after cleaning up 2014-03-01 18:27:30 -06:00
Jack Nagel
cf4e7e5954 reinstall: fix incorrect use of Formula.canonical_name
Fixes Homebrew/homebrew#27117.
2014-03-01 18:22:35 -06:00
Mike McQuaid
7f45c63468 fetch: add --retry option to retry fetch once.
Sometimes there may be intermittent failures with hosts that work if
immediately retried. Let's allow a single retry in this case with the
--retry flag. This also behaves nicely with the --force flag.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-03-01 16:45:31 +00:00
Jack Nagel
27de1257e3 audit: don't complain about missing cross-tap dependencies 2014-02-28 23:05:28 -06:00
Jack Nagel
26785dbe5d Use Formula.path 2014-02-28 16:51:15 -06:00
Jack Nagel
d0f43ad367 Remove "brew info <URL>"
Closes Homebrew/homebrew#27076.
2014-02-28 11:07:55 -06:00
Jack Nagel
26c71b19f6 Add audit check for system "xcodebuild" 2014-02-27 21:53:33 -06:00
Jack Nagel
4002abb146 deps: use Dependency objects in recursive_deps_tree 2014-02-27 12:56:59 -06:00
Jack Nagel
87cbe716d9 deps: keep "--all" output sorted 2014-02-27 12:56:42 -06:00
Adam Vandenberg
50b94ada1b add audit for Formula.factory 2014-02-27 08:21:14 -08:00
Mike McQuaid
09330dd83b doctor: tweak XQuartz check.
Sometimes (e.g. Homebrew/homebrew#27014) it may find an installed version but no prefix.

In this case we still want to tell users if it's outdated.
2014-02-26 12:40:25 +00:00
Adam Vandenberg
4a4b960558 fix typo in audit 2014-02-25 20:51:16 -08:00
Adam Vandenberg
758a601555 add audit for scons 2014-02-25 20:29:08 -08:00
Adam Vandenberg
c189dd6e20 only get counts if needed 2014-02-25 20:24:34 -08:00
Jack Nagel
9cd95bc0b7 Remove unused variable 2014-02-23 23:04:44 -05:00
Adam Vandenberg
1f86923ec2 ignore skip_clean :all 2014-02-23 15:53:26 -08:00
Adam Vandenberg
fab5e1d905 add doctor check for HOMEBREW_KEEP_INFO 2014-02-23 08:31:03 -08:00
Adam Vandenberg
bb5a2b587e Always keep info files
Closes Homebrew/homebrew#26659.
2014-02-23 08:30:50 -08:00
Jack Nagel
a836602024 create: make conditional more obvious 2014-02-22 20:17:04 -05:00
Jack Nagel
d1dd4b0e67 create: pull requires out of method 2014-02-22 20:17:04 -05:00
Jack Nagel
101066cf71 Update method call 2014-02-22 20:17:04 -05:00
Mike McQuaid
cf0a3fe93e bottle: detail what a new regex should match. 2014-02-22 17:15:28 +00:00
Jack Nagel
41a9ba8259 Move Formula.class_s to Formulary 2014-02-21 00:46:03 -05:00
Drew Rodman
d63ef14794 Add DownloadError to catch a broader range of resource download errors.
Adding a broader exception class allows for errors raised in Resource.fetch
to be caught in upgrade and prevent the process from being killed when
a download fails. This should resolve issue 18364.

Fixes Homebrew/homebrew#18364.
Closes Homebrew/homebrew#26618.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-02-18 15:08:03 -05:00