1589 Commits

Author SHA1 Message Date
Mike McQuaid
4d584d37f7 test-bot: don't try to retap TapDependency taps. 2014-12-29 12:28:43 +00:00
Mike McQuaid
95ccf53a49 test-bot: tap TapDependency's tap. 2014-12-29 12:20:30 +00:00
Mike McQuaid
eb51f8a5fa test-bot: init added/modified formulae arrays. 2014-12-29 07:55:01 +00:00
Mike McQuaid
bff259330c test-bot: clean up harder on failure (before). 2014-12-29 07:51:50 +00:00
Misty De Meo
d57fe3eded search: add homebrew-x11 to default taps 2014-12-28 18:42:20 -08:00
Mike McQuaid
8c19b2a13e test-bot: clean harder if first clean fails. 2014-12-28 18:17:12 +00:00
Mike McQuaid
af4a156885 test-bot: tweak readability. 2014-12-28 18:17:02 +00:00
Mike McQuaid
b5439b6f7a test-bot: check if dependents are installed.
Before fetching or installing with no args.
2014-12-28 18:16:49 +00:00
Jack Nagel
9e335fa0b8 Revert "audit (strict): check for use double-quotes."
This reverts commit 8fe14451842dea92bca04116ba043421b4f44a6b.

Conflicts:
	Library/Homebrew/cmd/audit.rb
2014-12-27 17:07:30 -05:00
Jack Nagel
ba48d8c5b9 Use version attribute directly in cache comparisons
The bug that prompted the two relevant commits has since been addressed.

Squashed commit of the following:

commit ecca17ede8324efd1175a42300ace8e1e2df30fa
Author: Jack Nagel <jacknagel@gmail.com>
Date:   Sat Dec 27 16:16:12 2014 -0500

    Revert "Don't use pkg_version when cleaning the cache"

    This reverts commit 4d511b5169d78a5d44bbf6c36c17f0c28014a614.

commit e8935de08f6440ae1874ce523f93b19da6b68df3
Author: Jack Nagel <jacknagel@gmail.com>
Date:   Sat Dec 27 16:16:12 2014 -0500

    Revert "Fix cleanup for head-only formulae"

    This reverts commit 510267ffd314c296c0b0969dd27d130a249f16e2.
2014-12-27 16:16:16 -05:00
Mike McQuaid
e1c6a4614f Rename HEAD only tap. 2014-12-27 20:55:21 +00:00
Mike McQuaid
8458540afb audit: simplify test defined check. 2014-12-27 20:46:01 +00:00
Mike McQuaid
13239276f0 audit: improve FileUtils check.
Match the parens properly and only interpolate once.

Closes Homebrew/homebrew#35288.
Closes Homebrew/homebrew#35291.
2014-12-27 20:35:26 +00:00
Mike McQuaid
b43876d4a2 create: recommend brew audit --strict. 2014-12-27 16:51:53 +00:00
Mike McQuaid
c4f7217811 audit (strict): add require formula check. 2014-12-27 16:31:44 +00:00
Mike McQuaid
f3a5a83452 audit (strict): check a test is present. 2014-12-27 16:31:44 +00:00
Mike McQuaid
d263c73cc4 audit (strict): whitelist 32-bit in options check. 2014-12-27 16:31:43 +00:00
Mike McQuaid
5cd8f62865 audit (strict): check for use double-quotes. 2014-12-27 16:31:43 +00:00
Mike McQuaid
c82e48b904 audit (strict): check for use of spaces in system. 2014-12-27 16:31:43 +00:00
Mike McQuaid
3e3a4cad50 audit: check for use of FileUtils methods. 2014-12-27 16:31:43 +00:00
Mike McQuaid
b3a15ad6ef test-bot: use audit --strict on added formulae. 2014-12-27 13:03:40 +00:00
Mike McQuaid
5fdb89aed9 uses: harden against missing formulae. 2014-12-27 13:03:13 +00:00
Mike McQuaid
fca32ee7cc audit: check options when in strict mode. 2014-12-27 12:38:58 +00:00
Mike McQuaid
24f183dd12 audit: add strict mode, argument. 2014-12-27 12:38:04 +00:00
Mike McQuaid
f22aeb14f6 tap-readme: tweak the format. 2014-12-27 11:05:11 +00:00
Jack Nagel
dbfbe76ac1 Fix warning 2014-12-26 15:39:34 -05:00
Mike McQuaid
f9917768a9 test-bot: fix use of select!. 2014-12-23 20:19:45 +00:00
Mike McQuaid
f475f750f9 test-bot: test bottled dependents.
Test everything that `brew uses` a formula, has a bottle and a test.

This should allow some quick gains in terms of spotting formulae that may need
revisioned to avoid problems with shifting dependencies. As the test-bot lives
in a data centre with (very) fast internet the fetch and extraction time
shouldn't slow things down much.

Closes Homebrew/homebrew#35092.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-12-23 19:14:30 +00:00
Kevin Sjöberg
73ff739583 Convert dependencies to formulas for name matching
Dependency names are prefixed with the tap location, therefore
dependency names do not match formula names. We convert dependencies
into formulas to ensure proper name checking.

Closes Homebrew/homebrew#35058.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-12-23 14:08:40 -05:00
Misty De Meo
62addcfce8 uninstall: improve grammar for multiple version message 2014-12-23 00:50:46 -08:00
Jack Nagel
7c4324d5ea Fix formula template comment audit 2014-12-22 01:12:44 -05:00
Jack Nagel
cd7004b579 Deprecate appending the CVS module name to the URL string 2014-12-22 00:52:10 -05:00
Jack Nagel
0344d243e4 Deprecate made-up URL schemes
This deprecates URLs that begin with the following fake URL schemes:
  bzr://
  cvs://
  hg://
  fossil://
  svn+http://

Despite their appearance, they are not actually accepted by the
corresponding tools. They exist only as hints to the download strategy
detection code, and are stripped from the URL before the URL is handed
off to the VCS program.

This is not documented, and may lead one to believe it is a valid URL
that can be used elsewhere, when it actually only works inside Homebrew.

We have a better mechanism for specifying the download strategy that is
straightforward and explicit:
  :using => :hg

Recommend that instead.

Closes Homebrew/homebrew#35114.
2014-12-19 12:28:18 -05:00
Xu Cheng
fff4b83a52 (un)linkapps: allow unlink/link specific formulae.
Closes Homebrew/homebrew#35080.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-12-19 16:35:45 +00:00
Jack Nagel
ef48a5e7d7 Deprecate UnsafeSubversionDownloadStrategy 2014-12-18 16:45:15 -05:00
Jack Nagel
8c0928ccca Use quiet_system to avoid the shell 2014-12-16 15:27:36 -05:00
Kyungdahm Yun
a70a805111 Capitalize descriptions of --HEAD, --devel
Closes Homebrew/homebrew#35027.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-12-16 12:22:29 -05:00
Mike McQuaid
2cb5da6916 create: remove formula include. 2014-12-15 07:50:14 +00:00
Mike McQuaid
612230a705 doctor: check cache directory is writable.
Fixes Homebrew/homebrew#32304.
Fixes Homebrew/homebrew#34933.
2014-12-14 10:17:29 +00:00
Xu Cheng
a3000f3ea9 tap-readme: fix indent
Closes Homebrew/homebrew#34953.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-12-13 18:14:49 -05:00
Xu Cheng
5310d16686 brew-doctor: warning the external commands with conflicting names
Closes Homebrew/homebrew#34755.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-12-09 12:59:04 +00:00
Jack Nagel
c06fe57b04 Use FileUtils instead of shelling out to cp 2014-12-07 14:38:42 -05:00
Jack Nagel
f0e01a0578 Use add_attribute method instead of accessing attributes hash 2014-12-02 21:14:53 -05:00
Jack Nagel
b9474dfc42 Simplify appending CDATA 2014-12-02 21:14:53 -05:00
Jack Nagel
a463caae36 Combine conditionals 2014-12-02 21:14:52 -05:00
Mike McQuaid
52cda8fd80 Allow searching/installing Homebrew Casks.
People want to install things like GIMP using Homebrew so let's make it
easier for them to find a decent installation method.

Closes Homebrew/homebrew#34496.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-11-30 17:59:02 +00:00
Mike McQuaid
eae7363934 uninstall: notify on multiple versions removed.
Closes Homebrew/homebrew#34398.

Closes Homebrew/homebrew#34445.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-11-27 11:36:11 +00:00
Misty De Meo
6017811397 doctor: handle non-extent methods passed as arguments 2014-11-26 17:54:53 -08:00
Mike McQuaid
13b770246a test-bot: more support for bottling taps. 2014-11-24 08:26:43 +00:00
Mike McQuaid
8581330d3a bottle: use --root-url instead of --root_url 2014-11-24 08:25:05 +00:00