{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/kibana/issues/6402","repository_url":"https://api.github.com/repos/elastic/kibana","labels_url":"https://api.github.com/repos/elastic/kibana/issues/6402/labels{/name}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/6402/comments","events_url":"https://api.github.com/repos/elastic/kibana/issues/6402/events","html_url":"https://github.com/elastic/kibana/pull/6402","id":138280803,"number":6402,"title":"Plugin pack installer","user":{"login":"BigFunger","id":12193008,"avatar_url":"https://avatars.githubusercontent.com/u/12193008?v=3","gravatar_id":"","url":"https://api.github.com/users/BigFunger","html_url":"https://github.com/BigFunger","followers_url":"https://api.github.com/users/BigFunger/followers","following_url":"https://api.github.com/users/BigFunger/following{/other_user}","gists_url":"https://api.github.com/users/BigFunger/gists{/gist_id}","starred_url":"https://api.github.com/users/BigFunger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BigFunger/subscriptions","organizations_url":"https://api.github.com/users/BigFunger/orgs","repos_url":"https://api.github.com/users/BigFunger/repos","events_url":"https://api.github.com/users/BigFunger/events{/privacy}","received_events_url":"https://api.github.com/users/BigFunger/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/kibana/labels/review","name":"review","color":"eb6420"},{"url":"https://api.github.com/repos/elastic/kibana/labels/v5.0.0","name":"v5.0.0","color":"ffffff"},{"url":"https://api.github.com/repos/elastic/kibana/labels/v5.0.0-alpha1","name":"v5.0.0-alpha1","color":"ffffff"}],"state":"open","locked":false,"assignee":{"login":"epixa","id":53814,"avatar_url":"https://avatars.githubusercontent.com/u/53814?v=3","gravatar_id":"","url":"https://api.github.com/users/epixa","html_url":"https://github.com/epixa","followers_url":"https://api.github.com/users/epixa/followers","following_url":"https://api.github.com/users/epixa/following{/other_user}","gists_url":"https://api.github.com/users/epixa/gists{/gist_id}","starred_url":"https://api.github.com/users/epixa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epixa/subscriptions","organizations_url":"https://api.github.com/users/epixa/orgs","repos_url":"https://api.github.com/users/epixa/repos","events_url":"https://api.github.com/users/epixa/events{/privacy}","received_events_url":"https://api.github.com/users/epixa/received_events","type":"User","site_admin":false},"milestone":null,"comments":33,"created_at":"2016-03-03T19:56:18Z","updated_at":"2016-03-23T22:57:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elastic/kibana/pulls/6402","html_url":"https://github.com/elastic/kibana/pull/6402","diff_url":"https://github.com/elastic/kibana/pull/6402.diff","patch_url":"https://github.com/elastic/kibana/pull/6402.patch"},"body":"resolves #5761\r\n\r\n# Plugin pack installer for kibana\r\n\r\n### modified existing entry point\r\nRemoved the plugin commands from the ./bin/kibana entry point\r\n\r\n### new entry point\r\nAll plugin commands are now executed from the ```./bin/kibana-plugin``` entry point:\r\n```\r\nlist  [options]                 List installed plugins\r\ninstall  [options] <plugin/url> Install a plugin\r\nremove  [options] <plugin>      Remove a plugin\r\nhelp  <command>                 Get the help for a specific command\r\n```\r\n\r\n### List command changes\r\n- Refactored to use its own settings object/parser\r\n- Now ignores folders that begin with a period.\r\n- Added tests\r\n\r\n### Remove command changes\r\n- Refactored to use its own settings object/parser\r\n\r\n### Install command changes\r\n- Refactored to use its own settings object/parser\r\n- No longer supports tar.gz format. Only supports zip format\r\n- Attempts to download the specified plugin from:\r\n - exact ```<plugin>``` specified\r\n - ```https://download.elastic.co/packs/<plugin>/<plugin>-<kibana version>.zip```\r\n- Expects the pack zip file if the plugin name is 'xpack' to be structured:\r\n```\r\nany-named-zip-archive.zip\r\n|__kibana\r\n| |__xpack\r\n| | |__package.json\r\n| | |__...\r\n```\r\n- Expects the package.json file to contain a name (xpack) that matches the containing folder in the archive exactly and a version that matches the version of kibana exactly.\r\n- Currently there is no platform-specific logic implemented\r\n- Currently will only install the first plugin that it finds in the kibana folder if more are in the archive.\r\n- Logic has been added to make implement platform specific and multiple plugins easier for later versions."},"comment":{"url":"https://api.github.com/repos/elastic/kibana/issues/comments/200575061","html_url":"https://github.com/elastic/kibana/pull/6402#issuecomment-200575061","issue_url":"https://api.github.com/repos/elastic/kibana/issues/6402","id":200575061,"user":{"login":"epixa","id":53814,"avatar_url":"https://avatars.githubusercontent.com/u/53814?v=3","gravatar_id":"","url":"https://api.github.com/users/epixa","html_url":"https://github.com/epixa","followers_url":"https://api.github.com/users/epixa/followers","following_url":"https://api.github.com/users/epixa/following{/other_user}","gists_url":"https://api.github.com/users/epixa/gists{/gist_id}","starred_url":"https://api.github.com/users/epixa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epixa/subscriptions","organizations_url":"https://api.github.com/users/epixa/orgs","repos_url":"https://api.github.com/users/epixa/repos","events_url":"https://api.github.com/users/epixa/events{/privacy}","received_events_url":"https://api.github.com/users/epixa/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T22:57:59Z","updated_at":"2016-03-23T22:57:59Z","body":"LGTM"}}