13469 Commits

Author SHA1 Message Date
Mike McQuaid
43253ede65 create: use GitHub metadata where available.
GitHub provides a description and homepage field so let `brew create`
use them where possible. Also, detect GitHub repositories based on
`releases` as well as `archive`s.
2017-04-18 08:22:41 +01:00
Mike McQuaid
3f8722c971 audit: allow skipping audit methods.
Add `--only` and `--except` methods which can be used to selectively
enable or disable audit groups.
2017-04-18 08:17:26 +01:00
Reto Kromer
0dc6871d22 add test 2017-04-17 18:11:11 +02:00
Mike McQuaid
417f49dd32 Merge pull request #2477 from MikeMcQuaid/audit-more-universal
audit: check for more universal usage.
2017-04-17 15:50:21 +01:00
Mike McQuaid
d90398692c Merge pull request #2475 from MikeMcQuaid/uses-deleted
uses: allow checking deleted formulae.
2017-04-17 15:49:43 +01:00
Mike McQuaid
226c24aea0 Merge pull request #2498 from zmwangx/do-not-search-taps-for-missing-qualified-formula
install: do not search taps when a qualified formula is missing
2017-04-17 15:48:52 +01:00
Mike McQuaid
5a2c91dbc2 uses: allow checking deleted formulae.
This is useful for seeing when formulae are deleted if they are going to
leave behind any formulae that depend on them.

As a result, if there are any formulae returned return a non-zero/failed
exit status.
2017-04-17 15:06:48 +01:00
Mike McQuaid
3b14aa2e90 install: use include instead of regex. 2017-04-17 14:56:04 +01:00
Mike McQuaid
29b54dc16d Merge pull request #2473 from MikeMcQuaid/audit-language-module-requirements
audit: deprecate language module requirements.
2017-04-17 14:20:51 +01:00
Misty De Meo
1deb884314 Merge pull request #2496 from mistydemeo/hardware_cpu_can_run_arch_helper
Hardware cpu can run arch helper
2017-04-17 18:01:33 +08:00
Mike McQuaid
46f6dc4c93 Merge pull request #2446 from mansimarkaur/diagnostic_tests
[WIP] Added test for check_access_lock_dir
2017-04-16 09:30:38 +01:00
Bob W. Hogg
7b6abc7630 Only run Linux-specific tests on Linux 2017-04-15 21:20:09 -07:00
Bob W. Hogg
608d72a35f OsxfuseRequirement: Port to Linux 2017-04-15 21:20:09 -07:00
Zhiming Wang
363b26801a
install: do not search taps when a qualified formula is missing 2017-04-15 20:27:33 -04:00
Misty De Meo
944bff4de2 Mac Hardware: provide a more Mac-specific implementation of can_run? 2017-04-15 22:59:55 +08:00
Misty De Meo
d7ff53fa1d Hardware: add helper to determine if an executable can be run 2017-04-15 22:59:55 +08:00
Mike McQuaid
02f0189335 Merge pull request #2483 from MikeMcQuaid/audit-no-devel-version-alias
audit: don't recommend version aliases on --devel.
2017-04-15 06:26:28 -07:00
numbermaniac
2a29b33fe9 Fix section header link for Environment
brew-cask.1.md
2017-04-15 15:59:16 +10:00
Reto Kromer
49c568a862 add date-based versioning 2017-04-14 11:04:18 +02:00
Markus Reiter
2631474f25 Fix brew cask audit not working without argument. 2017-04-11 16:41:34 +02:00
ilovezfs
48e8cf7568 Merge pull request #2474 from MikeMcQuaid/xcode-8.3.1
xcode: 8.3.1 is latest version.
2017-04-11 03:54:09 -07:00
Mike McQuaid
88a75af1c3 audit: don't recommend version aliases on --devel.
As requested in #11462 by @neutric as this produces confusing,
incorrect output.
2017-04-10 19:03:44 -07:00
JCount
5d74069b98 Merge pull request #2471 from JCount/missing_formula-fix-undefined-method-nil
missing_formula: fix undefined method `path` for nil:NilClass
2017-04-10 21:22:31 -04:00
JCount
d363644221 Merge pull request #2461 from hsbt/workaround-downcase-with-pathname
formulary: Workaround for method missing for downcase on Pathname object
2017-04-10 21:18:45 -04:00
SHIBATA Hiroshi
b7ce111d00
formulary: Workaround for method missing for downcase on Pathname object. 2017-04-11 09:43:41 +09:00
Mike McQuaid
0948d2013a audit: deprecate language module requirements.
Make `brew audit` complain about language module requirements because
they provide a crappy user experience compared to vendoring and we’re
not really fixing bugs in them any more.
2017-04-10 22:42:57 +01:00
Mike McQuaid
2c370f3677 audit: check for more universal usage.
Also check for `ENV.universal_binary` and `build.universal?`. The prior
is still required for `wine` and the latter should never be required any
longer.
2017-04-10 22:36:39 +01:00
JCount
171f65a1e4 missing_formula: fix undefined method path for nil:NilClass
This check for a nil `tap` is necessary because Tap.from_path(path)
will simply return a nil value in the event the tap path is invalid
2017-04-10 16:46:32 -04:00
Mike McQuaid
ce1920f7df xcode: 8.3.1 is latest version.
Our CI images are already updated with it.
2017-04-10 21:06:36 +01:00
John Hawkinson
b0d25d83fe info: rubocop 2017-04-09 17:14:09 -04:00
John Hawkinson
971e53c001 info: Print reason for conflicts where available 2017-04-09 15:23:53 -04:00
Markus Reiter
4d6e31999a Merge pull request #2434 from JCount/gpg-spec-test-21-compatibility
gpg_spec test add 2.1.x compatibility
2017-04-09 21:08:53 +02:00
John Hawkinson
31ce953f69 formula: conflicts_with doc: give realistic :because
The documentation should help a developer understand what the
parameter is for.  "stupid example" doesn't cut it.
2017-04-09 15:07:05 -04:00
JCount
43b64bfed1 gpg_spec: use new version method to directly compare version objects 2017-04-08 20:20:26 -04:00
JCount
889d61660a gpg: add version method to retrieve current version in path 2017-04-08 20:20:26 -04:00
JCount
14a7ef591b gpg_spec: switch structure to if/else instead of rescue 2017-04-08 20:20:26 -04:00
JCount
239b873fb2 gpg2_requirement_spec: switch test to gnupg 2.1.x 2017-04-08 20:19:57 -04:00
mansimarkaur
7e455a623a Corrected test for access_lock_dir 2017-04-07 18:29:40 +05:30
Mike McQuaid
d84655efb9 Merge pull request #2442 from tdsmith/fix-symlink-relocation
Virtualenv relocation fixes
2017-04-05 09:32:52 +01:00
Mike McQuaid
2144c35539 keg_relocate: slim long lines. 2017-04-05 09:00:11 +01:00
Mike McQuaid
3f51406212 Merge pull request #2242 from GauthamGoli/audit_custom_cops
Port audit_desc audit rules to a cop
2017-04-05 08:37:43 +01:00
Mike McQuaid
dbc9cd7aa3 Merge pull request #2454 from MikeMcQuaid/audit-fix-core-formula-alias-check
audit: fix core formula alias check.
2017-04-05 08:34:58 +01:00
Mike McQuaid
57b230dd5c audit: fix core formula alias check.
Was missing a formula object being passed.
2017-04-04 18:38:18 +01:00
Mike McQuaid
39b8f106d2 update-report: don't show new, installed formulae.
These were those migrated from other taps but if they are installed
already: they aren't new to that user.
2017-04-04 15:15:42 +01:00
Mike McQuaid
715132642f Revert "keg_relocate: Don't relocate dylib IDs containing metavariables." 2017-04-04 13:29:27 +01:00
Mike McQuaid
2ba53eb272 Merge pull request #2448 from rwhogg/add-skylake-linux
Add Skylake to the Linux hardware list
2017-04-04 07:57:46 +01:00
mansimarkaur
fda41919cf Added test for check_access_lock_dir 2017-04-03 07:06:59 +05:30
Maxim Belkin
573aeff115 Add Skylake to Linux hardware list 2017-04-02 15:27:19 -07:00
Bob W. Hogg
c3b309e795 java_requirement: Add newline to failure message
Signed-off-by: Bob W. Hogg <rwhogg@linux.com>
2017-04-02 14:38:43 -07:00
Tim D. Smith
3b75075727 rubocop 2017-04-02 10:26:05 -07:00