From e26cf3a83f5b955c7d004a5c4e8f2668bbf097de Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 5 Mar 2017 11:42:59 +0100 Subject: Don't check Subversion HTTPS pre-Sierra. The system Subversion doesn't handle new certificate authorities (e.g. Let's Encrypt) well enough for this check to be useful. --- Library/Homebrew/dev-cmd/audit.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Library/Homebrew/dev-cmd') diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index a8c18f7b6..f620bbe16 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -680,8 +680,6 @@ class FormulaAuditor return unless @online - # The system Curl is too old and unreliable with HTTPS homepages on - # Yosemite and below. return unless DevelopmentTools.curl_handles_most_https_homepages? if http_content_problem = FormulaAuditor.check_http_content(homepage, user_agents: [:browser, :default]) @@ -1571,6 +1569,7 @@ class ResourceAuditor problem "The URL #{url} is not a valid git URL" end elsif strategy <= SubversionDownloadStrategy + next unless DevelopmentTools.subversion_handles_most_https_certificates? unless Utils.svn_remote_exists url problem "The URL #{url} is not a valid svn URL" end -- cgit v1.2.3