Skip to content
Snippets Groups Projects
Commit 54b4f0c7 authored by commitay's avatar commitay
Browse files

audit: github notability

parent dc96e6f7
No related branches found
No related tags found
No related merge requests found
......@@ -515,9 +515,9 @@ module Homebrew
new_formula_problem "GitHub fork (not canonical repository)" if metadata["fork"]
if formula&.tap&.core_tap? &&
(metadata["forks_count"] < 20) && (metadata["subscribers_count"] < 20) &&
(metadata["stargazers_count"] < 50)
new_formula_problem "GitHub repository not notable enough (<20 forks, <20 watchers and <50 stars)"
(metadata["forks_count"] < 30) && (metadata["subscribers_count"] < 30) &&
(metadata["stargazers_count"] < 75)
new_formula_problem "GitHub repository not notable enough (<30 forks, <30 watchers and <75 stars)"
end
return if Date.parse(metadata["created_at"]) <= (Date.today - 30)
......
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