Mike McQuaid
515395171c
Set cask and download DSL values on requirements.
...
Closes Homebrew/homebrew#35257 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-12-28 12:14:49 +00:00
Mike McQuaid
99ecc9ac34
unsigned_kext_req: use new cask/download DSL.
2014-12-28 12:14:49 +00:00
Mike McQuaid
88208af8e4
requirement: add cask and download attributes.
...
Print out the message pointing to the Cask and/or download location too.a
2014-12-28 12:14:49 +00:00
Jack Nagel
7f29dc13b8
Drop pointless subclass in test
2014-12-28 00:03:16 -05:00
Jack Nagel
8805f3ae51
Drop unnecessary requires
2014-12-28 00:03:16 -05:00
Jack Nagel
0a16fff0cd
Avoid TestBall class in checksum verification tests
2014-12-28 00:03:16 -05:00
Jack Nagel
3c9bee268b
Preserve signature of #initialize in tests
2014-12-27 23:11:32 -05: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
1ee1e2ca3c
Stop testing accessor type
2014-12-27 16:31:38 -05:00
Jack Nagel
728a7c6259
Remove dead code
2014-12-27 16:31:32 -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
Jack Nagel
77a1c6f166
One less external call to #active_spec
2014-12-27 14:26:56 -05:00
Mike McQuaid
b43876d4a2
create: recommend brew audit --strict
.
2014-12-27 16:51:53 +00:00
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