aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorShaun Jackman2017-10-06 11:39:43 -0700
committerShaun Jackman2017-10-08 10:35:53 -0700
commit53dd0e3f28655f9e0ba93139cd832408542b6f12 (patch)
tree94cdbbb9bc5ffeb9daa2c34e3d5ff16ad8d9ea7b /Library/Homebrew
parent91ab116ace7f4f97d3440190463c93be9ec6d675 (diff)
downloadbrew-53dd0e3f28655f9e0ba93139cd832408542b6f12.tar.bz2
audit: Silence not notable on non-Homebrew taps
Silence "GitHub repository not notable" on non-Homebrew taps.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/dev-cmd/audit.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb
index 16ae7cba1..ff7161691 100644
--- a/Library/Homebrew/dev-cmd/audit.rb
+++ b/Library/Homebrew/dev-cmd/audit.rb
@@ -590,7 +590,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