{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/kibana/issues/21588","repository_url":"https://api.github.com/repos/elastic/kibana","labels_url":"https://api.github.com/repos/elastic/kibana/issues/21588/labels{/name}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/21588/comments","events_url":"https://api.github.com/repos/elastic/kibana/issues/21588/events","html_url":"https://github.com/elastic/kibana/pull/21588","id":346999190,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1NzI0NjYy","number":21588,"title":"Add ability to skip file writing for messages extraction tool","user":{"login":"LeanidShutau","id":25746494,"node_id":"MDQ6VXNlcjI1NzQ2NDk0","avatar_url":"https://avatars0.githubusercontent.com/u/25746494?v=4","gravatar_id":"","url":"https://api.github.com/users/LeanidShutau","html_url":"https://github.com/LeanidShutau","followers_url":"https://api.github.com/users/LeanidShutau/followers","following_url":"https://api.github.com/users/LeanidShutau/following{/other_user}","gists_url":"https://api.github.com/users/LeanidShutau/gists{/gist_id}","starred_url":"https://api.github.com/users/LeanidShutau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeanidShutau/subscriptions","organizations_url":"https://api.github.com/users/LeanidShutau/orgs","repos_url":"https://api.github.com/users/LeanidShutau/repos","events_url":"https://api.github.com/users/LeanidShutau/events{/privacy}","received_events_url":"https://api.github.com/users/LeanidShutau/received_events","type":"User","site_admin":false},"labels":[{"id":470241278,"node_id":"MDU6TGFiZWw0NzAyNDEyNzg=","url":"https://api.github.com/repos/elastic/kibana/labels/:Platform","name":":Platform","color":"fef2c0","default":false},{"id":548254520,"node_id":"MDU6TGFiZWw1NDgyNTQ1MjA=","url":"https://api.github.com/repos/elastic/kibana/labels/:i18n","name":":i18n","color":"009800","default":false},{"id":135307740,"node_id":"MDU6TGFiZWwxMzUzMDc3NDA=","url":"https://api.github.com/repos/elastic/kibana/labels/review","name":"review","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":{"login":"LeanidShutau","id":25746494,"node_id":"MDQ6VXNlcjI1NzQ2NDk0","avatar_url":"https://avatars0.githubusercontent.com/u/25746494?v=4","gravatar_id":"","url":"https://api.github.com/users/LeanidShutau","html_url":"https://github.com/LeanidShutau","followers_url":"https://api.github.com/users/LeanidShutau/followers","following_url":"https://api.github.com/users/LeanidShutau/following{/other_user}","gists_url":"https://api.github.com/users/LeanidShutau/gists{/gist_id}","starred_url":"https://api.github.com/users/LeanidShutau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeanidShutau/subscriptions","organizations_url":"https://api.github.com/users/LeanidShutau/orgs","repos_url":"https://api.github.com/users/LeanidShutau/repos","events_url":"https://api.github.com/users/LeanidShutau/events{/privacy}","received_events_url":"https://api.github.com/users/LeanidShutau/received_events","type":"User","site_admin":false},"assignees":[{"login":"LeanidShutau","id":25746494,"node_id":"MDQ6VXNlcjI1NzQ2NDk0","avatar_url":"https://avatars0.githubusercontent.com/u/25746494?v=4","gravatar_id":"","url":"https://api.github.com/users/LeanidShutau","html_url":"https://github.com/LeanidShutau","followers_url":"https://api.github.com/users/LeanidShutau/followers","following_url":"https://api.github.com/users/LeanidShutau/following{/other_user}","gists_url":"https://api.github.com/users/LeanidShutau/gists{/gist_id}","starred_url":"https://api.github.com/users/LeanidShutau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeanidShutau/subscriptions","organizations_url":"https://api.github.com/users/LeanidShutau/orgs","repos_url":"https://api.github.com/users/LeanidShutau/repos","events_url":"https://api.github.com/users/LeanidShutau/events{/privacy}","received_events_url":"https://api.github.com/users/LeanidShutau/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2018-08-02T12:54:55Z","updated_at":"2018-08-20T11:06:27Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/elastic/kibana/pulls/21588","html_url":"https://github.com/elastic/kibana/pull/21588","diff_url":"https://github.com/elastic/kibana/pull/21588.diff","patch_url":"https://github.com/elastic/kibana/pull/21588.patch"},"body":"https://github.com/elastic/kibana/issues/21586\r\n\r\nAdded `--path` and `--output` options to the extraction tool.\r\nAdded message id namespace validation. <namespace, pluginPath> map is configured in `.i18nrc.json`.\r\n\r\n`--path` gets an array of directories for default messages search. Default value: `.`\\\r\n`--output` gets a path to directory, where `en.json` should be created. If `--output` is not provided, `en.json` won't be created.\r\n\r\nList of all available paths is located in `.i18nrc.json`. `--path` option is used to limit directories for extraction.\r\nFor example, `--paths .` will extract messages from all paths listed in `.i18nrc.json`;\r\n`--paths x-pack/plugins src/ui` will extract messages only from `./x-pack/plugins/**` and `./src/ui/**`.\r\n\r\n**Usage**:\r\n`node scripts/extract_default_translations --path src/core_plugins/kibana --output .`\r\nor\r\n`node scripts/extract_default_translations --path src`"},"comment":{"url":"https://api.github.com/repos/elastic/kibana/issues/comments/414279489","html_url":"https://github.com/elastic/kibana/pull/21588#issuecomment-414279489","issue_url":"https://api.github.com/repos/elastic/kibana/issues/21588","id":414279489,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDI3OTQ4OQ==","user":{"login":"elasticmachine","id":15837671,"node_id":"MDQ6VXNlcjE1ODM3Njcx","avatar_url":"https://avatars3.githubusercontent.com/u/15837671?v=4","gravatar_id":"","url":"https://api.github.com/users/elasticmachine","html_url":"https://github.com/elasticmachine","followers_url":"https://api.github.com/users/elasticmachine/followers","following_url":"https://api.github.com/users/elasticmachine/following{/other_user}","gists_url":"https://api.github.com/users/elasticmachine/gists{/gist_id}","starred_url":"https://api.github.com/users/elasticmachine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elasticmachine/subscriptions","organizations_url":"https://api.github.com/users/elasticmachine/orgs","repos_url":"https://api.github.com/users/elasticmachine/repos","events_url":"https://api.github.com/users/elasticmachine/events{/privacy}","received_events_url":"https://api.github.com/users/elasticmachine/received_events","type":"User","site_admin":false},"created_at":"2018-08-20T11:06:27Z","updated_at":"2018-08-20T11:06:27Z","author_association":"NONE","body":"## :green_heart: Build Succeeded\n* [continuous-integration/kibana-ci/pull-request](https://kibana-ci.elastic.co/job/elastic-kibana-pull-request/426/)\n\n"}}
{"actor":{"display_login":"elasticmachine"}}