audit: roughly double notability requirements.

Closes Homebrew/homebrew#48706.
This commit is contained in:
Mike McQuaid 2016-02-11 20:31:48 +00:00
parent 32850492f1
commit b06c6c74f9

View File

@ -512,9 +512,9 @@ class FormulaAuditor
end end
problem "GitHub fork (not canonical repository)" if metadata["fork"] problem "GitHub fork (not canonical repository)" if metadata["fork"]
if (metadata["forks_count"] < 10) && (metadata["subscribers_count"] < 10) && if (metadata["forks_count"] < 20) && (metadata["subscribers_count"] < 20) &&
(metadata["stargazers_count"] < 20) (metadata["stargazers_count"] < 50)
problem "GitHub repository not notable enough (<10 forks, <10 watchers and <20 stars)" problem "GitHub repository not notable enough (<20 forks, <20 watchers and <50 stars)"
end end
if Date.parse(metadata["created_at"]) > (Date.today - 30) if Date.parse(metadata["created_at"]) > (Date.today - 30)