From 94f324d778e672539116e2a89273398e91eaa7d2 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 30 Mar 2014 18:00:00 -0500 Subject: Audit gnome URLs, prefer download.gnome.org --- Library/Homebrew/cmd/audit.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Library') diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index ed97b01a8..db56663a4 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -216,6 +216,10 @@ class FormulaAuditor # the rest of the checks apply to mirrors as well urls.concat(@specs.map(&:mirrors).flatten) + urls.grep(%r[^(https?|ftp)://ftp\.gnome]) do |u| + problem %{download.gnome.org is preferred for GNOME software (url is #{u}).} + end + # Check SourceForge urls urls.each do |p| # Skip if the URL looks like a SVN repo -- cgit v1.2.3