{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/logstash/issues/3117","labels_url":"https://api.github.com/repos/elastic/logstash/issues/3117/labels{/name}","comments_url":"https://api.github.com/repos/elastic/logstash/issues/3117/comments","events_url":"https://api.github.com/repos/elastic/logstash/issues/3117/events","html_url":"https://github.com/elastic/logstash/issues/3117","id":71310618,"number":3117,"title":"local installation of plugins through path or .gem depends on git","user":{"login":"fbaligand","id":3750300,"avatar_url":"https://avatars.githubusercontent.com/u/3750300?v=3","gravatar_id":"","url":"https://api.github.com/users/fbaligand","html_url":"https://github.com/fbaligand","followers_url":"https://api.github.com/users/fbaligand/followers","following_url":"https://api.github.com/users/fbaligand/following{/other_user}","gists_url":"https://api.github.com/users/fbaligand/gists{/gist_id}","starred_url":"https://api.github.com/users/fbaligand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fbaligand/subscriptions","organizations_url":"https://api.github.com/users/fbaligand/orgs","repos_url":"https://api.github.com/users/fbaligand/repos","events_url":"https://api.github.com/users/fbaligand/events{/privacy}","received_events_url":"https://api.github.com/users/fbaligand/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/logstash/labels/2.0","name":"2.0","color":"ededed"},{"url":"https://api.github.com/repos/elastic/logstash/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/elastic/logstash/labels/bundler","name":"bundler","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-04-27T15:03:00Z","updated_at":"2015-09-09T15:07:56Z","closed_at":null,"body":"Because in `.gemspec` file, the preconized way to specify files list is based on git (```s.files = `git ls-files`.split($\\)```), when I install a plugin on logstash, and worse when I run logstash (with a local plugin installed) ; logstash needs `git` in `PATH`.\r\n\r\nThe problem is that git is not installed on every machine where logstash is present.\r\nFor example, if I want to install a plugin on a logstash production environment, git is probably not installed.\r\n\r\nSo, to avoid git dependency, it could be nice to prefer something like this in `.gemspec` file :\r\n`s.files = Dir['lib/**/*','spec/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE']`\r\n"},"comment":{"url":"https://api.github.com/repos/elastic/logstash/issues/comments/138940908","html_url":"https://github.com/elastic/logstash/issues/3117#issuecomment-138940908","issue_url":"https://api.github.com/repos/elastic/logstash/issues/3117","id":138940908,"user":{"login":"ph","id":640,"avatar_url":"https://avatars.githubusercontent.com/u/640?v=3","gravatar_id":"","url":"https://api.github.com/users/ph","html_url":"https://github.com/ph","followers_url":"https://api.github.com/users/ph/followers","following_url":"https://api.github.com/users/ph/following{/other_user}","gists_url":"https://api.github.com/users/ph/gists{/gist_id}","starred_url":"https://api.github.com/users/ph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ph/subscriptions","organizations_url":"https://api.github.com/users/ph/orgs","repos_url":"https://api.github.com/users/ph/repos","events_url":"https://api.github.com/users/ph/events{/privacy}","received_events_url":"https://api.github.com/users/ph/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T15:07:56Z","updated_at":"2015-09-09T15:07:56Z","body":"Yeah you are right! its a `file-dependencies` flashback."}}