198 Commits

Author SHA1 Message Date
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
Mike McQuaid
4eb31ac676 audit: print warning and description. 2013-09-07 17:38:15 +01:00
Samuel John
5515fda59a PythonInstalled: Allow formulae to set/append PYTHONPATH
Improve robustness of `PYTHONPATH` by first unsetting it (during
`satisfy`) so that the `PythonInstalled` can get the `python.version`
and so forth and then, after that, setting the `PYTHONPATH` to our
`global_site_packages`.
In the `python_helper` we append to the `PYTHONPATH` so if that var has
been set in a formula, it is respected.
Brew audit does no longer complain about setting the
`ENV['PYTHONPATH']`.
2013-09-03 10:46:06 +02:00
Jack Nagel
809a52a6a3 audit: activate ENV extensions 2013-08-19 13:03:41 -05:00
Jack Nagel
eebc04ec9b Move common stuff to extend/ENV.rb 2013-08-19 12:32:57 -05:00
Adam Vandenberg
124ddce262 audit: show real name for aliases 2013-08-14 21:35:46 -07:00
Mike McQuaid
b072da141f audit: don't complain about bottle versions.
`brew bottle` already complains and this is a niche case.

References Homebrew/homebrew#21374.
2013-07-28 16:26:16 -07:00
Adam Vandenberg
9608c2bfae audit: add TODO 2013-07-23 10:51:07 -07:00
Jack Nagel
387200cea5 audit: use !~ instead of "not ... =~" 2013-07-23 11:22:16 -05:00
Jack Nagel
be984215c9 audit: fix dep name escaping 2013-07-23 11:22:15 -05:00
Jack Nagel
a3863394c0 audit: escape dep before regexp interpolation 2013-07-22 22:53:43 -05:00
Jack Nagel
3afa9c2ceb audit: fix indentation 2013-07-22 22:53:22 -05:00
Jack Nagel
dd9b317e24 audit: fix broken condition 2013-07-22 22:53:11 -05:00
Mike McQuaid
f3821364a7 Warn more about failing bottle version detection.
This is needed for local bottle installation and also possible when
detecting bottle versions from URLs.
2013-07-18 09:56:55 -07:00
Adam Vandenberg
ebcf8be789 audit: skip an audit for mongodb 2013-07-17 06:58:11 -07:00
Adam Vandenberg
456621bb54 audit: ARGV.find is a warning, .value is allowed 2013-07-17 06:58:10 -07:00
Jack Nagel
d9790309a6 Fix SYMROOT audit 2013-07-16 23:15:22 -05:00
Jack Nagel
86cf6f0329 More linewise audits 2013-07-16 21:39:46 -05:00
Jack Nagel
b4bb0bf1c0 Audit text linewise 2013-07-16 21:25:02 -05:00
Jack Nagel
a632994403 Audit conditional deps that can be made declarative 2013-07-16 21:24:54 -05:00
Jack Nagel
51023ef15b Fix some false-positive build-time dep audits 2013-07-16 15:49:11 -05:00
Mike McQuaid
897607b3d7 audit: use FormulaCellarChecks module.
Perform post-installation checks if a formula is installed.
Added for brew test-bot to be able to fail on bad Cellar installation.
2013-07-16 13:29:37 -07:00
Samuel John
8f0a073bf6 Audit LanguageModuleDependency for python
LanguageModuleDependency.new(:python,...) is deprecated now.
Replace it by
    depends_on :python => ['module' => 'name-on-PyPi']
2013-07-16 11:10:14 +02:00
Adam Vandenberg
aba88a8502 audit: improve comment 2013-07-12 23:00:08 -07:00
Adam Vandenberg
34ae063c67 audit: remove github warning
All core formulae have been migrated to .io addresses except
for software maintained by github itself.
2013-07-12 21:26:55 -07:00
Adam Vandenberg
37e64a2402 github doesn't use .io urls 2013-07-09 20:50:30 -07:00
Adam Vandenberg
527f80b83d audit more template comments 2013-07-05 12:05:29 -07:00
Adam Vandenberg
d9487a96ea Add audit for leading 'v' in version numbers 2013-07-04 08:49:10 -07:00
Adam Vandenberg
7e54d013e7 audit default template comments 2013-07-03 09:20:41 -07:00