5820 Commits

Author SHA1 Message Date
Mike McQuaid
5cff7efc56 manpage: document brew audit --strict. 2014-12-27 16:51:43 +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
9bd8229ba2 tap_migrations: add missed x3270 formula 2014-12-27 16:29:16 +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
a1ba5a5da6 Migrate some formula with hard-X11 dependencies.
We have the homebrew-x11 tap for this reason so let's migrate everything
without any reverse dependencies. Ideally I'd also like to migrate
everything that's :recommended and the GTK formulae through there too
(or to a dedicated homebrew-gtk).
2014-12-27 11:09:32 +00:00
Mike McQuaid
f22aeb14f6 tap-readme: tweak the format. 2014-12-27 11:05:11 +00:00
Jack Nagel
0b8cf49386 Remove unnecessary code from debugger 2014-12-26 22:58:36 -05:00
Jack Nagel
6dd242e2df Refactor patching tests 2014-12-26 20:51:43 -05:00
Jack Nagel
f14e38de2f Commit test updates that were supposed to be part of b76e26c9cf1fc805663d86b6d6d081f91f73ea18 2014-12-26 20:20:10 -05:00
Jack Nagel
d2d7516cc0 Allow debugging patching failures
Closes Homebrew/homebrew#33056.
2014-12-26 19:42:11 -05:00
Jack Nagel
2ff86eb417 Decouple applying patches from staging the source 2014-12-26 17:44:44 -05:00
Jack Nagel
051658db65 Remove unnecessary require from test 2014-12-26 16:45:07 -05:00
Jack Nagel
efa0cbecb0 Define install instead of making subclasses call standard_install 2014-12-26 16:32:19 -05:00
Jack Nagel
dec965e132 Finally stop exposing url on Formula 2014-12-26 16:17:53 -05:00
Jack Nagel
8575034f19 Unroll validation loop 2014-12-26 16:10:28 -05:00
Jack Nagel
1bdeeefb94 Overriding #initialize is not supported, so drop late validation 2014-12-26 16:05:34 -05:00
Jack Nagel
dbfbe76ac1 Fix warning 2014-12-26 15:39:34 -05:00
Mike McQuaid
dc7b54ae43 formula: add/improve more API docs.
Closes Homebrew/homebrew#35266.
2014-12-26 20:24:20 +00:00
Jack Nagel
80aef5fdb9 Fix method redefinition warning
test_defined? gets defined in the method_added hook.
2014-12-26 12:05:59 -05:00
Jack Nagel
dd90030213 Fix "possible reference to past scope" warnings on 2.2 2014-12-26 11:58:09 -05:00
Jack Nagel
c50fdbd139 Implement GithubGistFormula in a more natural way 2014-12-26 01:31:56 -05:00
Mike McQuaid
7afe1ed67a requirements: recommend casks where available.
Also, tweak the XQuartz requirement to not show 0.0.0 versions being required.

Closes Homebrew/homebrew#35254.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-12-25 20:45:57 +00:00
Baptiste Fontaine
278b77e6c5 Quote path in conflict error rm command
Fixes Homebrew/homebrew#35143.
Closes Homebrew/homebrew#35239.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-12-24 12:16:16 -05:00
Jack Nagel
1b1a73bddb Always show attribute value in validation error message 2014-12-23 15:37:24 -05:00
Jack Nagel
e8e5889d32 Update minitest 2014-12-23 15:37:24 -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
Jaime Marquínez Ferrándiz
a0b36563ea language_module_dependency: fix finding opam.
`opam list <package>` only checks if the package is available

Closes Homebrew/homebrew#35209.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-12-23 10:14:53 +00:00
Misty De Meo
62addcfce8 uninstall: improve grammar for multiple version message 2014-12-23 00:50:46 -08:00
Jack Nagel
be59b4ea4f Mark cached_location as an attribute 2014-12-23 01:27:10 -05:00
Jack Nagel
32bf6d9937 Avoid check-then-act pattern in clear_cache 2014-12-23 01:11:08 -05:00
Jack Nagel
957ef9b6b9 Document download strategy interface 2014-12-23 01:04:44 -05:00
Jack Nagel
5575fb843c Don't raise NotImplementedError 2014-12-23 01:04:44 -05:00
Jack Nagel
cef553491c The class-level keg_only_reason is private API 2014-12-22 11:50:31 -05:00
Jack Nagel
d831473fe5 Use "@api private" instead of "@private"
http://www.rubydoc.info/gems/yard/file/docs/Tags.md#private
http://www.rubydoc.info/gems/yard/file/docs/Tags.md#api
2014-12-22 11:49:37 -05:00
Jack Nagel
7c4324d5ea Fix formula template comment audit 2014-12-22 01:12:44 -05:00
Jack Nagel
d3daa8a25b Mark deprecated download strategies as such 2014-12-22 00:52:10 -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
df70d960f8 Assume CVS module name when none is given 2014-12-22 00:43:02 -05:00
Jack Nagel
8a1ed0e748 Allow :module => "name" for CVS URLs 2014-12-22 00:43:02 -05:00
Baptiste Fontaine
69b01772cc Typo in skip_clean? documentation
Closes Homebrew/homebrew#35142.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-12-20 11:41:00 -05:00