{"action":"created","comment":{"url":"https://api.github.com/repos/yargs/yargs/pulls/comments/196263866","pull_request_review_id":129625045,"id":196263866,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NjI2Mzg2Ng==","diff_hunk":"@@ -0,0 +1,29 @@\n+const {GET_CONTEXT, INCREMENT_CONTEXT_RESETS, ADD_FILE_TO_CONTEXT} = require('../actions/context')\n+const initialState = { resets: -1, commands: [], fullCommands: [], files: [] }\n+\n+function getContext (state = initialState) {\n+  return state","path":"reducers/context.js","position":5,"original_position":5,"commit_id":"55fb404ee08952041d99f38b01c1f0f6557234d9","original_commit_id":"55fb404ee08952041d99f38b01c1f0f6557234d9","user":{"login":"evocateur","id":5605,"node_id":"MDQ6VXNlcjU2MDU=","avatar_url":"https://avatars3.githubusercontent.com/u/5605?v=4","gravatar_id":"","url":"https://api.github.com/users/evocateur","html_url":"https://github.com/evocateur","followers_url":"https://api.github.com/users/evocateur/followers","following_url":"https://api.github.com/users/evocateur/following{/other_user}","gists_url":"https://api.github.com/users/evocateur/gists{/gist_id}","starred_url":"https://api.github.com/users/evocateur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evocateur/subscriptions","organizations_url":"https://api.github.com/users/evocateur/orgs","repos_url":"https://api.github.com/users/evocateur/repos","events_url":"https://api.github.com/users/evocateur/events{/privacy}","received_events_url":"https://api.github.com/users/evocateur/received_events","type":"User","site_admin":false},"body":"Again, not clear why `getContext` exists here, seems like a leftover from previous refactoring.","created_at":"2018-06-19T00:24:04Z","updated_at":"2018-06-19T00:44:56Z","html_url":"https://github.com/yargs/yargs/pull/1151#discussion_r196263866","pull_request_url":"https://api.github.com/repos/yargs/yargs/pulls/1151","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/yargs/yargs/pulls/comments/196263866"},"html":{"href":"https://github.com/yargs/yargs/pull/1151#discussion_r196263866"},"pull_request":{"href":"https://api.github.com/repos/yargs/yargs/pulls/1151"}}},"pull_request":{"url":"https://api.github.com/repos/yargs/yargs/pulls/1151","id":194653837,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0NjUzODM3","html_url":"https://github.com/yargs/yargs/pull/1151","diff_url":"https://github.com/yargs/yargs/pull/1151.diff","patch_url":"https://github.com/yargs/yargs/pull/1151.patch","issue_url":"https://api.github.com/repos/yargs/yargs/issues/1151","number":1151,"state":"open","locked":false,"title":"I-1150: Add Redux for State Management","user":{"login":"aorinevo","id":3240137,"node_id":"MDQ6VXNlcjMyNDAxMzc=","avatar_url":"https://avatars1.githubusercontent.com/u/3240137?v=4","gravatar_id":"","url":"https://api.github.com/users/aorinevo","html_url":"https://github.com/aorinevo","followers_url":"https://api.github.com/users/aorinevo/followers","following_url":"https://api.github.com/users/aorinevo/following{/other_user}","gists_url":"https://api.github.com/users/aorinevo/gists{/gist_id}","starred_url":"https://api.github.com/users/aorinevo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aorinevo/subscriptions","organizations_url":"https://api.github.com/users/aorinevo/orgs","repos_url":"https://api.github.com/users/aorinevo/repos","events_url":"https://api.github.com/users/aorinevo/events{/privacy}","received_events_url":"https://api.github.com/users/aorinevo/received_events","type":"User","site_admin":false},"body":"- Add Redux for State Management","created_at":"2018-06-13T17:02:25Z","updated_at":"2018-06-19T00:44:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e3a13d714eb85621252009e09aece9f802f5ef9f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/yargs/yargs/pulls/1151/commits","review_comments_url":"https://api.github.com/repos/yargs/yargs/pulls/1151/comments","review_comment_url":"https://api.github.com/repos/yargs/yargs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yargs/yargs/issues/1151/comments","statuses_url":"https://api.github.com/repos/yargs/yargs/statuses/55fb404ee08952041d99f38b01c1f0f6557234d9","head":{"label":"aorinevo:I-1150_master_AN_redux","ref":"I-1150_master_AN_redux","sha":"55fb404ee08952041d99f38b01c1f0f6557234d9","user":{"login":"aorinevo","id":3240137,"node_id":"MDQ6VXNlcjMyNDAxMzc=","avatar_url":"https://avatars1.githubusercontent.com/u/3240137?v=4","gravatar_id":"","url":"https://api.github.com/users/aorinevo","html_url":"https://github.com/aorinevo","followers_url":"https://api.github.com/users/aorinevo/followers","following_url":"https://api.github.com/users/aorinevo/following{/other_user}","gists_url":"https://api.github.com/users/aorinevo/gists{/gist_id}","starred_url":"https://api.github.com/users/aorinevo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aorinevo/subscriptions","organizations_url":"https://api.github.com/users/aorinevo/orgs","repos_url":"https://api.github.com/users/aorinevo/repos","events_url":"https://api.github.com/users/aorinevo/events{/privacy}","received_events_url":"https://api.github.com/users/aorinevo/received_events","type":"User","site_admin":false},"repo":{"id":130572477,"node_id":"MDEwOlJlcG9zaXRvcnkxMzA1NzI0Nzc=","name":"yargs","full_name":"aorinevo/yargs","owner":{"login":"aorinevo","id":3240137,"node_id":"MDQ6VXNlcjMyNDAxMzc=","avatar_url":"https://avatars1.githubusercontent.com/u/3240137?v=4","gravatar_id":"","url":"https://api.github.com/users/aorinevo","html_url":"https://github.com/aorinevo","followers_url":"https://api.github.com/users/aorinevo/followers","following_url":"https://api.github.com/users/aorinevo/following{/other_user}","gists_url":"https://api.github.com/users/aorinevo/gists{/gist_id}","starred_url":"https://api.github.com/users/aorinevo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aorinevo/subscriptions","organizations_url":"https://api.github.com/users/aorinevo/orgs","repos_url":"https://api.github.com/users/aorinevo/repos","events_url":"https://api.github.com/users/aorinevo/events{/privacy}","received_events_url":"https://api.github.com/users/aorinevo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aorinevo/yargs","description":" yargs the modern, pirate-themed successor to optimist.","fork":true,"url":"https://api.github.com/repos/aorinevo/yargs","forks_url":"https://api.github.com/repos/aorinevo/yargs/forks","keys_url":"https://api.github.com/repos/aorinevo/yargs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aorinevo/yargs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aorinevo/yargs/teams","hooks_url":"https://api.github.com/repos/aorinevo/yargs/hooks","issue_events_url":"https://api.github.com/repos/aorinevo/yargs/issues/events{/number}","events_url":"https://api.github.com/repos/aorinevo/yargs/events","assignees_url":"https://api.github.com/repos/aorinevo/yargs/assignees{/user}","branches_url":"https://api.github.com/repos/aorinevo/yargs/branches{/branch}","tags_url":"https://api.github.com/repos/aorinevo/yargs/tags","blobs_url":"https://api.github.com/repos/aorinevo/yargs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aorinevo/yargs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aorinevo/yargs/git/refs{/sha}","trees_url":"https://api.github.com/repos/aorinevo/yargs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aorinevo/yargs/statuses/{sha}","languages_url":"https://api.github.com/repos/aorinevo/yargs/languages","stargazers_url":"https://api.github.com/repos/aorinevo/yargs/stargazers","contributors_url":"https://api.github.com/repos/aorinevo/yargs/contributors","subscribers_url":"https://api.github.com/repos/aorinevo/yargs/subscribers","subscription_url":"https://api.github.com/repos/aorinevo/yargs/subscription","commits_url":"https://api.github.com/repos/aorinevo/yargs/commits{/sha}","git_commits_url":"https://api.github.com/repos/aorinevo/yargs/git/commits{/sha}","comments_url":"https://api.github.com/repos/aorinevo/yargs/comments{/number}","issue_comment_url":"https://api.github.com/repos/aorinevo/yargs/issues/comments{/number}","contents_url":"https://api.github.com/repos/aorinevo/yargs/contents/{+path}","compare_url":"https://api.github.com/repos/aorinevo/yargs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aorinevo/yargs/merges","archive_url":"https://api.github.com/repos/aorinevo/yargs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aorinevo/yargs/downloads","issues_url":"https://api.github.com/repos/aorinevo/yargs/issues{/number}","pulls_url":"https://api.github.com/repos/aorinevo/yargs/pulls{/number}","milestones_url":"https://api.github.com/repos/aorinevo/yargs/milestones{/number}","notifications_url":"https://api.github.com/repos/aorinevo/yargs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aorinevo/yargs/labels{/name}","releases_url":"https://api.github.com/repos/aorinevo/yargs/releases{/id}","deployments_url":"https://api.github.com/repos/aorinevo/yargs/deployments","created_at":"2018-04-22T13:57:52Z","updated_at":"2018-05-10T20:07:17Z","pushed_at":"2018-06-19T00:42:12Z","git_url":"git://github.com/aorinevo/yargs.git","ssh_url":"git@github.com:aorinevo/yargs.git","clone_url":"https://github.com/aorinevo/yargs.git","svn_url":"https://github.com/aorinevo/yargs","homepage":"http://yargs.js.org/","size":2298,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"yargs:master","ref":"master","sha":"88b6d23ff4206500ab8e5e67a64b0b45c9270096","user":{"login":"yargs","id":16504989,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NTA0OTg5","avatar_url":"https://avatars1.githubusercontent.com/u/16504989?v=4","gravatar_id":"","url":"https://api.github.com/users/yargs","html_url":"https://github.com/yargs","followers_url":"https://api.github.com/users/yargs/followers","following_url":"https://api.github.com/users/yargs/following{/other_user}","gists_url":"https://api.github.com/users/yargs/gists{/gist_id}","starred_url":"https://api.github.com/users/yargs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yargs/subscriptions","organizations_url":"https://api.github.com/users/yargs/orgs","repos_url":"https://api.github.com/users/yargs/repos","events_url":"https://api.github.com/users/yargs/events{/privacy}","received_events_url":"https://api.github.com/users/yargs/received_events","type":"Organization","site_admin":false},"repo":{"id":14210523,"node_id":"MDEwOlJlcG9zaXRvcnkxNDIxMDUyMw==","name":"yargs","full_name":"yargs/yargs","owner":{"login":"yargs","id":16504989,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NTA0OTg5","avatar_url":"https://avatars1.githubusercontent.com/u/16504989?v=4","gravatar_id":"","url":"https://api.github.com/users/yargs","html_url":"https://github.com/yargs","followers_url":"https://api.github.com/users/yargs/followers","following_url":"https://api.github.com/users/yargs/following{/other_user}","gists_url":"https://api.github.com/users/yargs/gists{/gist_id}","starred_url":"https://api.github.com/users/yargs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yargs/subscriptions","organizations_url":"https://api.github.com/users/yargs/orgs","repos_url":"https://api.github.com/users/yargs/repos","events_url":"https://api.github.com/users/yargs/events{/privacy}","received_events_url":"https://api.github.com/users/yargs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yargs/yargs","description":" yargs the modern, pirate-themed successor to optimist.","fork":false,"url":"https://api.github.com/repos/yargs/yargs","forks_url":"https://api.github.com/repos/yargs/yargs/forks","keys_url":"https://api.github.com/repos/yargs/yargs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yargs/yargs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yargs/yargs/teams","hooks_url":"https://api.github.com/repos/yargs/yargs/hooks","issue_events_url":"https://api.github.com/repos/yargs/yargs/issues/events{/number}","events_url":"https://api.github.com/repos/yargs/yargs/events","assignees_url":"https://api.github.com/repos/yargs/yargs/assignees{/user}","branches_url":"https://api.github.com/repos/yargs/yargs/branches{/branch}","tags_url":"https://api.github.com/repos/yargs/yargs/tags","blobs_url":"https://api.github.com/repos/yargs/yargs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yargs/yargs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yargs/yargs/git/refs{/sha}","trees_url":"https://api.github.com/repos/yargs/yargs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yargs/yargs/statuses/{sha}","languages_url":"https://api.github.com/repos/yargs/yargs/languages","stargazers_url":"https://api.github.com/repos/yargs/yargs/stargazers","contributors_url":"https://api.github.com/repos/yargs/yargs/contributors","subscribers_url":"https://api.github.com/repos/yargs/yargs/subscribers","subscription_url":"https://api.github.com/repos/yargs/yargs/subscription","commits_url":"https://api.github.com/repos/yargs/yargs/commits{/sha}","git_commits_url":"https://api.github.com/repos/yargs/yargs/git/commits{/sha}","comments_url":"https://api.github.com/repos/yargs/yargs/comments{/number}","issue_comment_url":"https://api.github.com/repos/yargs/yargs/issues/comments{/number}","contents_url":"https://api.github.com/repos/yargs/yargs/contents/{+path}","compare_url":"https://api.github.com/repos/yargs/yargs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yargs/yargs/merges","archive_url":"https://api.github.com/repos/yargs/yargs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yargs/yargs/downloads","issues_url":"https://api.github.com/repos/yargs/yargs/issues{/number}","pulls_url":"https://api.github.com/repos/yargs/yargs/pulls{/number}","milestones_url":"https://api.github.com/repos/yargs/yargs/milestones{/number}","notifications_url":"https://api.github.com/repos/yargs/yargs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yargs/yargs/labels{/name}","releases_url":"https://api.github.com/repos/yargs/yargs/releases{/id}","deployments_url":"https://api.github.com/repos/yargs/yargs/deployments","created_at":"2013-11-07T17:25:51Z","updated_at":"2018-06-18T21:51:24Z","pushed_at":"2018-06-18T12:41:16Z","git_url":"git://github.com/yargs/yargs.git","ssh_url":"git@github.com:yargs/yargs.git","clone_url":"https://github.com/yargs/yargs.git","svn_url":"https://github.com/yargs/yargs","homepage":"http://yargs.js.org/","size":2278,"stargazers_count":4685,"watchers_count":4685,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":405,"mirror_url":null,"archived":false,"open_issues_count":187,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":405,"open_issues":187,"watchers":4685,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yargs/yargs/pulls/1151"},"html":{"href":"https://github.com/yargs/yargs/pull/1151"},"issue":{"href":"https://api.github.com/repos/yargs/yargs/issues/1151"},"comments":{"href":"https://api.github.com/repos/yargs/yargs/issues/1151/comments"},"review_comments":{"href":"https://api.github.com/repos/yargs/yargs/pulls/1151/comments"},"review_comment":{"href":"https://api.github.com/repos/yargs/yargs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yargs/yargs/pulls/1151/commits"},"statuses":{"href":"https://api.github.com/repos/yargs/yargs/statuses/55fb404ee08952041d99f38b01c1f0f6557234d9"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"evocateur"}}