Skip to content
Snippets Groups Projects
Commit 1070acfe authored by Mike McQuaid's avatar Mike McQuaid
Browse files

audit: don't use GitHub zip files.

parent 1fd8e7fd
No related branches found
No related tags found
No related merge requests found
......@@ -265,6 +265,11 @@ class FormulaAuditor
urls.select { |u| u =~ %r[https://.*/(?:tar|zip)ball/] && u !~ %r[\.git$] }.each do |u|
problem "Use /archive/ URLs for GitHub tarballs (url is #{u})."
end
# Don't use GitHub .zip files
urls.select { |u| u =~ %r[https://.*github.*/(archive|releases)/.*\.zip$] && u !~ %r[releases/download] }.each do |u|
problem "Use GitHub tarballs rather than zipballs (url is #{u})."
end
end
def audit_specs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment