diff options
| author | Jack Nagel | 2015-04-19 12:46:53 -0400 | 
|---|---|---|
| committer | Jack Nagel | 2015-04-19 12:48:09 -0400 | 
| commit | a8d1f3c25cfacfa13e7e96ec6ff1516c9cf0ebd2 (patch) | |
| tree | 73cfa177b2c5636f2f391b87625a6dea7046dc94 | |
| parent | 5c2e2fdde4bcd60fea5a869d2808bca69d731173 (diff) | |
| download | homebrew-a8d1f3c25cfacfa13e7e96ec6ff1516c9cf0ebd2.tar.bz2 | |
Revert "audit: enforce new https url style for gnome downloads"
I would like there to be more discussion before making this change.
This reverts commit f16ffd2a9ee5d29c7c0ae672c17bd129240adbb5.
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index ebf8f0045..adde76ff9 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -279,9 +279,9 @@ class FormulaAuditor      # "Software" is redirected to https://wiki.freedesktop.org/www/Software/project_name      if homepage =~ %r[^http://((?:www|nice|libopenraw|liboil|telepathy|xorg)\.)?freedesktop\.org/(?:wiki/)?]        if homepage =~ /Software/ -        problem "The url should be styled `https://wiki.freedesktop.org/www/Software/project_name`, not #{homepage}." +        problem "The url should be styled `https://wiki.freedesktop.org/www/Software/project_name`, not #{homepage})."        else -        problem "The url should be styled `https://wiki.freedesktop.org/project_name`, not #{homepage}." +        problem "The url should be styled `https://wiki.freedesktop.org/project_name`, not #{homepage})."        end      end @@ -342,8 +342,6 @@ class FormulaAuditor          problem "Bintray urls should be https://, not http (url is #{p})."        when %r[^http://tools\.ietf\.org/]          problem "ietf urls should be https://, not http (url is #{p})." -      when %r[^(http|ftp)://ftp\.gnome\.org/pub/gnome/(.*)]i -        problem "Gnome url should be `https://download.gnome.org/#{$2}` (url is #{p})."        end      end | 
