audit: disable GNU url check

It needs to be reworked to only check the primary URLs, as we are now
using ftp.gnu.org as a mirror.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jack Nagel 2011-11-30 12:57:29 -06:00
parent f059e9624c
commit 1657bb1fcf

View File

@ -237,11 +237,12 @@ def audit_formula_urls f
end
# Check GNU urls
urls.each do |p|
if p =~ %r[^(https?|ftp)://(.+)/gnu/]
problems << " * \"ftpmirror.gnu.org\" is preferred for GNU software."
end
end
# FIXME only check primary URLs, not mirrors
# urls.each do |p|
# if p =~ %r[^(https?|ftp)://(.+)/gnu/]
# problems << " * \"ftpmirror.gnu.org\" is preferred for GNU software."
# end
# end
return problems
end