mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
added examples into the filtered list when getting all plugins from github
Fixes #2342
This commit is contained in:
parent
85918e1cb5
commit
0c7c1d6e08
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
require 'octokit'
|
||||
skiplist = ['logstash-codec-cef', 'logstash-input-gemfire', 'logstash-output-gemfire', 'logstash-input-couchdb_changes', 'logstash-filter-metricize', 'logstash-filter-yaml']
|
||||
skiplist = Regexp.union([ /^logstash-codec-cef$/, /^logstash-input-gemfire$/, /^logstash-output-gemfire$/,
|
||||
/^logstash-input-couchdb_changes$/, /^logstash-filter-metricize$/, /^logstash-filter-yaml$/, /example/])
|
||||
|
||||
source 'https://rubygems.org'
|
||||
|
||||
|
@ -8,6 +9,6 @@ gemspec :name => "logstash", :path => ".."
|
|||
Octokit.auto_paginate = true
|
||||
repo_list = Octokit.organization_repositories("logstash-plugins")
|
||||
repo_list.each do |repo|
|
||||
next if skiplist.include?(repo.name)
|
||||
next if repo.name =~ skiplist
|
||||
gem repo.name
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue