2836 Commits

Author SHA1 Message Date
Mike McQuaid
3b91c5f1ae
Merge pull request #4797 from MikeMcQuaid/rubocop-tweaks
.rubocop: tweak rules.
2018-09-02 21:13:23 +01:00
Mike McQuaid
0aa9dce03c
Revert "Add $LOAD_PATH for RuboCop cops." 2018-09-02 20:49:25 +01:00
Mike McQuaid
80d75bc0d8
Homebrew/.rubocop: tweak rules.
Adjust the rules based on the current codebase. Remove various enable,
disables and default values that are unnecessary. Add more comments
explaining why. Make minor changes needed to enable a few more rules.
2018-09-02 20:15:09 +01:00
Mike McQuaid
0dc2c72693
Merge pull request #4795 from MikeMcQuaid/tests-leaks-prompt
tests: handle file leaks and SVN test prompt.
2018-09-02 18:31:44 +01:00
Mike McQuaid
bcb1ec5499
Improve Homebrew/brew line length.
Use 124 max line length everywhere. Also, reduce tap max line length to
189 as Homebrew/homebrew-core has that as a maximum now. In future
Homebrew/homebrew-core will also be reduced to 124 maximum line length.
2018-09-02 16:15:09 +01:00
Mike McQuaid
ec9e45a8f0
tests: handle file leaks and SVN test prompt.
- Ignore files that are generated by `brew tests`
- Make the SVN tests work without prompting for GitHub's SSL certificate
2018-09-02 13:43:58 +01:00
Markus Reiter
516a39f5a4 Move migrations into UpdateMigrator module. 2018-08-31 16:51:23 +02:00
Markus Reiter
fbcaa8c85a Resolve URL to get real file extension. 2018-08-31 16:51:23 +02:00
L. E. Segovia
f7cafb50ad
Enable quarantining of Homebrew-Cask's downloads 2018-08-31 13:16:11 +00:00
Dominyk Tiller
baab9d841f
Merge pull request #4774 from DomT4/GOCACHE
go: support & use aggressive caching
2018-08-30 04:44:37 +01:00
commitay
e4049b3005
Merge pull request #4775 from commitay/cargo-install
text_cop: update `cargo build` cop
2018-08-30 08:03:42 +10:00
Markus Reiter
801ec6e0a5
Merge pull request #4771 from reitermarkus/rubocop-path
Add `$LOAD_PATH` for RuboCop cops.
2018-08-29 23:51:11 +02:00
Markus Reiter
ad7054cc88 Fix executable with spaces. 2018-08-29 19:30:08 +02:00
commitay
0ce583964e text_cop: update cargo build cop 2018-08-29 23:06:53 +10:00
Dominyk Tiller
b333f7abe6
cleanup_spec: test go_cache cleanup 2018-08-29 13:16:56 +01:00
Markus Reiter
444e3d2a78 Add $LOAD_PATH for RuboCop cops. 2018-08-29 01:44:47 +02:00
Gautham Goli
32bc5535b6
style: Fix npe and add test for corrected offense results 2018-08-28 23:31:35 +05:30
Caleb Xu
0e080eba97 extract: simplify integration tests 2018-08-25 10:51:31 -04:00
Caleb Xu
9ab3ff4a41 extract: add spec/integration test 2018-08-24 11:42:11 -04:00
Caleb Xu
875885dda6 Add a starter file for spec 2018-08-21 10:17:23 -04:00
Jonathan Chang
a5a6da5861
Merge pull request #4698 from jonchang/audit-scope
audit: fixes for test checks
2018-08-16 14:45:51 -04:00
Jonathan Chang
ca59377a90 audit: add autocorrect and tests for test checks 2018-08-16 12:43:50 -04:00
Jonathan Chang
5f981a8722 tests: add test for test calls audit cop 2018-08-16 12:43:13 -04:00
Markus Reiter
e6b45842e8 Refactor odeprecated. 2018-08-15 12:16:02 +02:00
Shaun Jackman
421ba101b4 test/ENV: Fix prepend_path for Linuxbrew
This test fails on Ubuntu, because /usr/libexec does not exist.
2018-08-14 12:24:39 -07:00
Shaun Jackman
2141ce3814
Merge pull request #4671 from sjackman/test-svn-unzip
test/unpack_strategy: Handle svn unzip unavailable
2018-08-13 17:18:08 -07:00
Dominyk Tiller
7307d2558f
Merge pull request #4643 from chrmoritz/gclient_cache_cleanup
add new gclient_cache folder to cleanup
2018-08-13 23:18:46 +01:00
Shaun Jackman
879f514e28 test/unpack_strategy: Handle svn unzip unavailable
Skip those tests that require svn or unzip.
2018-08-13 14:41:00 -07:00
Markus Reiter
55cde526a8 Deprecate brew cask cleanup. 2018-08-13 20:09:34 +02:00
Markus Reiter
8b5fa6824b Fix brew cleanup. 2018-08-11 18:03:49 +02:00
Misty De Meo
634e1ea0f5 Mac tests: use and_return 2018-08-08 15:40:16 -07:00
Christian Moritz
6302d622e3 add new gclient_cache folder to cleanup 2018-08-09 00:37:58 +02:00
Misty De Meo
77ef773d1f Mac.sdk_path_if_needed tests: stub SDK check 2018-08-08 15:19:26 -07:00
Shaun Jackman
c080d8fefa Fix Bottle::Filename.new for taps
The file name of a bottle should not include the tap.
2018-08-08 12:03:24 -07:00
Misty De Meo
0da9e14994
Merge pull request #4335 from mistydemeo/mojave_clt_sdk
Mojave: use the CLT SDK where necessary
2018-08-08 11:39:45 -07:00
Markus Reiter
ecd7ae1801
Merge pull request #4635 from reitermarkus/refactor-cleanup
Use option parser for `brew cleanup`.
2018-08-08 19:46:24 +02:00
Misty De Meo
a20198cb89
MacOS: add sdk_path_if_needed tests 2018-08-08 10:45:48 -07:00
Misty De Meo
0cd8427405
Diagnostic: remove need for headers on 10.14 2018-08-08 10:45:48 -07:00
Dominyk Tiller
f1779248de
Merge pull request #4625 from DomT4/please_stop_evading_the_audit
class_cop: tighten test audit
2018-08-08 16:32:28 +01:00
Markus Reiter
03b93da296 Use option parser for brew cleanup. 2018-08-08 13:11:16 +02:00
Markus Reiter
921c6a33dd Refactor Cleanup. 2018-08-08 10:40:22 +02:00
Dominyk Tiller
7d5f0df71d
class_cop_spec: add tests for tighter test audit 2018-08-07 03:46:37 +01:00
Markus Reiter
0b80aea75d Use https:// URLs. 2018-08-06 23:39:12 +02:00
Markus Reiter
9f370a3576
Merge pull request #4616 from reitermarkus/remove-cask-download-strategies
Remove cask download strategies.
2018-08-06 21:36:47 +02:00
Mike McQuaid
172f6559ac
Merge pull request #4618 from DomT4/desc_tweaks
formula_desc_cop: add unnecessary whitespace check
2018-08-06 20:03:53 +01:00
Markus Reiter
290910d3c0 Remove cask download strategies. 2018-08-06 20:52:45 +02:00
Dominyk Tiller
525300b9cd
formula_desc_cop_spec: add whitespace tests 2018-08-06 19:31:30 +01:00
Markus Reiter
ad150e7595
Merge pull request #4611 from retokromer/patch-1
use `https://` rather than `http://`
2018-08-06 20:30:35 +02:00
Dominyk Tiller
9d7f872ad6
formula_desc_cop_spec: tweak for new whitespace check 2018-08-06 19:15:31 +01:00
Reto Kromer
f9fb719db7 fix cask files inside fixtures 2018-08-06 18:27:15 +02:00