aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/audit.rb
diff options
context:
space:
mode:
authorDominyk Tiller2015-08-10 19:11:58 +0100
committerDominyk Tiller2015-08-10 19:12:24 +0100
commit64bcb5a07f74384fbd66daba7d03f1d271d02b68 (patch)
tree28af0f6802e49039617521a4db7336b2796fed99 /Library/Homebrew/cmd/audit.rb
parent12e154a418b28c80faa168dc8ba68599e2044a7a (diff)
downloadbrew-64bcb5a07f74384fbd66daba7d03f1d271d02b68.tar.bz2
audit: catch insecure bitbucket
Diffstat (limited to 'Library/Homebrew/cmd/audit.rb')
-rw-r--r--Library/Homebrew/cmd/audit.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 5417313b0..00a7e2816 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -438,7 +438,8 @@ class FormulaAuditor
%r{^http://[^/.]+\.ietf\.org},
%r{^http://[^/.]+\.tools\.ietf\.org},
%r{^http://www\.gnu\.org/},
- %r{^http://code\.google\.com/}
+ %r{^http://code\.google\.com/},
+ %r{^http://bitbucket\.org/}
problem "Please use https:// for #{homepage}"
end
@@ -1059,7 +1060,8 @@ class ResourceAuditor
%r{^http://([^/]*\.|)bintray\.com/},
%r{^http://tools\.ietf\.org/},
%r{^http://www\.mirrorservice\.org/},
- %r{^http://launchpad\.net/}
+ %r{^http://launchpad\.net/},
+ %r{^http://bitbucket\.org/}
problem "Please use https:// for #{p}"
when %r{^http://search\.mcpan\.org/CPAN/(.*)}i
problem "#{p} should be `https://cpan.metacpan.org/#{$1}`"