aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2015-04-19 12:46:53 -0400
committerJack Nagel2015-04-19 12:48:09 -0400
commitd6bca69347cdd3a9b9e91540a1333b9ca496578c (patch)
tree9ecaadf961bb0a1402a1cbca9f8dd37c91022d9d /Library
parent86ee198af9bfd355b46e9dd3d79c09dcb885a9f6 (diff)
downloadbrew-d6bca69347cdd3a9b9e91540a1333b9ca496578c.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.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/audit.rb6
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