Merge pull request #3277 from sjackman/audit-notable

audit: Silence not notable on non-Homebrew taps
This commit is contained in:
Mike McQuaid 2017-10-08 13:41:15 -07:00 committed by GitHub
commit 56458f03fc

View File

@ -592,7 +592,8 @@ class FormulaAuditor
return if metadata.nil?
problem "GitHub fork (not canonical repository)" if metadata["fork"]
if (metadata["forks_count"] < 20) && (metadata["subscribers_count"] < 20) &&
if formula&.tap&.core_tap? &&
(metadata["forks_count"] < 20) && (metadata["subscribers_count"] < 20) &&
(metadata["stargazers_count"] < 50)
problem "GitHub repository not notable enough (<20 forks, <20 watchers and <50 stars)"
end