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:
parent
f059e9624c
commit
1657bb1fcf
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user