226 Commits

Author SHA1 Message Date
Jack Nagel
f4ae1c9e1b Hide the options data structure better 2014-07-31 19:59:09 -05:00
Jack Nagel
dc2080bd9f Remove patch hacks from audit 2014-07-29 16:22:06 -05:00
Adam Vandenberg
bb2c9b7ba4 audit 'def test'
Closes Homebrew/homebrew#31120
2014-07-27 15:10:15 -07:00
Jack Nagel
72129668f4 audit: warn when using old-style patches 2014-07-11 12:46:41 -05:00
Jack Nagel
330e18bb17 Use predicate methods instead of inspecting the tags array 2014-07-01 21:57:30 -05:00
Jack Nagel
10a1952d2c Only "extend self" once on the Homebrew module 2014-06-19 13:10:36 -05:00
Jack Nagel
5c24876d02 Fix audit suggestion 2014-06-15 23:28:06 -05:00
Jack Nagel
62e79c8d09 audit: read formula text in binmode 2014-06-04 15:37:36 -05:00
Jack Nagel
9f42b6b9c7 Drop emacs dep audit
cf. Homebrew/homebrew#24802.
2014-05-04 22:45:57 -05:00
Adam Vandenberg
7fe9413cf1 audit: use .diff instead of .patch for github diffs 2014-04-11 07:31:56 -07: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
63da62c6d0 Revert "Audit gnome URLs, prefer download.gnome.org"
This reverts commit 557ef8df05a8ea28ed903f08b2009ebc0e218f5a.
2014-04-03 09:29:23 -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
Mike McQuaid
7846ed4f76 audit: don't warn about tarball in non-GitHub URL. 2014-03-25 16:14:03 +00: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
4f051abc3e Teach audit about new patches implementation 2014-03-13 21:35:41 -05:00
Ian Lancaster
9c345bfc03 audit: Raise problem with non-https Google Code download urls 2014-03-08 09:10:54 -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
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
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
27de1257e3 audit: don't complain about missing cross-tap dependencies 2014-02-28 23:05:28 -06:00
Jack Nagel
26c71b19f6 Add audit check for system "xcodebuild" 2014-02-27 21:53:33 -06:00
Adam Vandenberg
50b94ada1b add audit for Formula.factory 2014-02-27 08:21:14 -08: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
1f86923ec2 ignore skip_clean :all 2014-02-23 15:53:26 -08:00
Mike McQuaid
34930586c3 audit: handle recommended/optional options better. 2014-02-16 22:35:14 +00:00
Mike McQuaid
8157515b2a audit: whitelist pyobject3 use of ARGV. 2014-02-16 22:10:22 +00:00
Mike McQuaid
38d2ffb2b8 audit: remove deprecated Python features.
These will be removed soon so don't check for them.
2013-12-12 21:07:41 +00:00
Adam Vandenberg
1d31200ad2 loosen FileUtils audit 2013-12-04 20:07:38 -08:00
Jack Nagel
7ef03c35f7 audit: distinguish between nil and empty versions 2013-11-26 20:35:07 -06:00
Jack Nagel
6675fd88fc Fix some unanchored patch URLs 2013-11-25 13:22:03 -06:00
Adam Vandenberg
2efc1dd3f1 audit: remove 'python bindings' warning 2013-11-23 13:53:55 -08:00
Adam Vandenberg
81bf8a168a audit generic binary names
Binaries with names like 'run' or 'service' are likely to conflict.
Warn about these and suggest a libexec-style install instead.
2013-11-12 07:10:13 -08:00
Jack Nagel
6c3ee52d14 Remove special cases in build-time dep audit
Closes Homebrew/homebrew#23931.
2013-11-04 12:10:26 -06:00
Jack Nagel
e33c01aab5 libextractor: add runtime dependency on libtool
Fixes Homebrew/homebrew#23306.
2013-10-18 20:14:16 -05:00
Mike McQuaid
a64e9d4f0a audit: fix go audit problems. 2013-10-16 08:36:32 +01:00
Jack Nagel
e9d608587d Remove audit check for XZ
Any formula with a URL that ends in ".xz" now gets this dependency
automatically, so this check no longer does anything.
2013-10-15 22:56:04 -05:00
Adam Vandenberg
f218e87e32 don't audit jp sourceforge URLs 2013-09-22 22:06:53 -07:00
Jack Nagel
8c310d85cd More precise output for spec audits 2013-09-19 12:55:13 -05:00
Jack Nagel
a00048468f Audit spec resources 2013-09-19 12:55:13 -05:00
Jack Nagel
f072f40b0d Extract ResourceAuditor from FormulaAuditor 2013-09-19 12:55:12 -05:00
Mike McQuaid
315c7a1212 Rename PythonInstalled to PythonDependency.
Make it more consistent with other requirements.
2013-09-14 12:21:49 +01:00