{"action":"created","comment":{"url":"https://api.github.com/repos/facebook/react-native/pulls/comments/88987984","pull_request_review_id":9542427,"id":88987984,"diff_hunk":"@@ -0,0 +1,64 @@\n+/**\n+ * Copyright (c) 2015-present, Facebook, Inc.\n+ * All rights reserved.\n+ *\n+ * This source code is licensed under the BSD-style license found in the\n+ * LICENSE file in the root directory of this source tree. An additional grant\n+ * of patent rights can be found in the PATENTS file in the same directory.\n+ */\n+'use strict';\n+\n+import {execSync} from 'child_process';\n+import semver from 'semver';\n+\n+export function checkDeclaredVersion({declaredVersion}) {","path":"react-native-git-upgrade/checks.js","position":14,"original_position":14,"commit_id":"82184500008c16809efdbd1ec27a4b69eaf5da1e","original_commit_id":"82184500008c16809efdbd1ec27a4b69eaf5da1e","user":{"login":"mkonicek","id":346214,"avatar_url":"https://avatars.githubusercontent.com/u/346214?v=3","gravatar_id":"","url":"https://api.github.com/users/mkonicek","html_url":"https://github.com/mkonicek","followers_url":"https://api.github.com/users/mkonicek/followers","following_url":"https://api.github.com/users/mkonicek/following{/other_user}","gists_url":"https://api.github.com/users/mkonicek/gists{/gist_id}","starred_url":"https://api.github.com/users/mkonicek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkonicek/subscriptions","organizations_url":"https://api.github.com/users/mkonicek/orgs","repos_url":"https://api.github.com/users/mkonicek/repos","events_url":"https://api.github.com/users/mkonicek/events{/privacy}","received_events_url":"https://api.github.com/users/mkonicek/received_events","type":"User","site_admin":false},"body":"Idea: Would it make sense to call the parameter `context` to make it clear what should be passed in?","created_at":"2016-11-21T21:08:22Z","updated_at":"2016-11-21T21:08:22Z","html_url":"https://github.com/facebook/react-native/pull/11052#discussion_r88987984","pull_request_url":"https://api.github.com/repos/facebook/react-native/pulls/11052","_links":{"self":{"href":"https://api.github.com/repos/facebook/react-native/pulls/comments/88987984"},"html":{"href":"https://github.com/facebook/react-native/pull/11052#discussion_r88987984"},"pull_request":{"href":"https://api.github.com/repos/facebook/react-native/pulls/11052"}}},"pull_request":{"url":"https://api.github.com/repos/facebook/react-native/pulls/11052","id":94696528,"html_url":"https://github.com/facebook/react-native/pull/11052","diff_url":"https://github.com/facebook/react-native/pull/11052.diff","patch_url":"https://github.com/facebook/react-native/pull/11052.patch","issue_url":"https://api.github.com/repos/facebook/react-native/issues/11052","number":11052,"state":"open","locked":false,"title":"[Not for commit] Add react-native-git-upgrade","user":{"login":"mkonicek","id":346214,"avatar_url":"https://avatars.githubusercontent.com/u/346214?v=3","gravatar_id":"","url":"https://api.github.com/users/mkonicek","html_url":"https://github.com/mkonicek","followers_url":"https://api.github.com/users/mkonicek/followers","following_url":"https://api.github.com/users/mkonicek/following{/other_user}","gists_url":"https://api.github.com/users/mkonicek/gists{/gist_id}","starred_url":"https://api.github.com/users/mkonicek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkonicek/subscriptions","organizations_url":"https://api.github.com/users/mkonicek/orgs","repos_url":"https://api.github.com/users/mkonicek/repos","events_url":"https://api.github.com/users/mkonicek/events{/privacy}","received_events_url":"https://api.github.com/users/mkonicek/received_events","type":"User","site_admin":false},"body":"Just importing [changes](https://github.com/facebook/react-native/compare/master...ncuillery:react-native-upgrader) from @ncuillery's work on the new upgrade process to be able to comment.\r\n\r\nWe can then close this PR and @ncuillery can open a new one.","created_at":"2016-11-21T21:06:18Z","updated_at":"2016-11-21T21:58:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b125b5f646a8eb460df515f6ef79a81015702bf5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/facebook/react-native/pulls/11052/commits","review_comments_url":"https://api.github.com/repos/facebook/react-native/pulls/11052/comments","review_comment_url":"https://api.github.com/repos/facebook/react-native/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/11052/comments","statuses_url":"https://api.github.com/repos/facebook/react-native/statuses/82184500008c16809efdbd1ec27a4b69eaf5da1e","head":{"label":"ncuillery:react-native-upgrader","ref":"react-native-upgrader","sha":"82184500008c16809efdbd1ec27a4b69eaf5da1e","user":{"login":"ncuillery","id":4425455,"avatar_url":"https://avatars.githubusercontent.com/u/4425455?v=3","gravatar_id":"","url":"https://api.github.com/users/ncuillery","html_url":"https://github.com/ncuillery","followers_url":"https://api.github.com/users/ncuillery/followers","following_url":"https://api.github.com/users/ncuillery/following{/other_user}","gists_url":"https://api.github.com/users/ncuillery/gists{/gist_id}","starred_url":"https://api.github.com/users/ncuillery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncuillery/subscriptions","organizations_url":"https://api.github.com/users/ncuillery/orgs","repos_url":"https://api.github.com/users/ncuillery/repos","events_url":"https://api.github.com/users/ncuillery/events{/privacy}","received_events_url":"https://api.github.com/users/ncuillery/received_events","type":"User","site_admin":false},"repo":{"id":68546712,"name":"react-native","full_name":"ncuillery/react-native","owner":{"login":"ncuillery","id":4425455,"avatar_url":"https://avatars.githubusercontent.com/u/4425455?v=3","gravatar_id":"","url":"https://api.github.com/users/ncuillery","html_url":"https://github.com/ncuillery","followers_url":"https://api.github.com/users/ncuillery/followers","following_url":"https://api.github.com/users/ncuillery/following{/other_user}","gists_url":"https://api.github.com/users/ncuillery/gists{/gist_id}","starred_url":"https://api.github.com/users/ncuillery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncuillery/subscriptions","organizations_url":"https://api.github.com/users/ncuillery/orgs","repos_url":"https://api.github.com/users/ncuillery/repos","events_url":"https://api.github.com/users/ncuillery/events{/privacy}","received_events_url":"https://api.github.com/users/ncuillery/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ncuillery/react-native","description":"A framework for building native apps with React.","fork":true,"url":"https://api.github.com/repos/ncuillery/react-native","forks_url":"https://api.github.com/repos/ncuillery/react-native/forks","keys_url":"https://api.github.com/repos/ncuillery/react-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ncuillery/react-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ncuillery/react-native/teams","hooks_url":"https://api.github.com/repos/ncuillery/react-native/hooks","issue_events_url":"https://api.github.com/repos/ncuillery/react-native/issues/events{/number}","events_url":"https://api.github.com/repos/ncuillery/react-native/events","assignees_url":"https://api.github.com/repos/ncuillery/react-native/assignees{/user}","branches_url":"https://api.github.com/repos/ncuillery/react-native/branches{/branch}","tags_url":"https://api.github.com/repos/ncuillery/react-native/tags","blobs_url":"https://api.github.com/repos/ncuillery/react-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ncuillery/react-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ncuillery/react-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/ncuillery/react-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ncuillery/react-native/statuses/{sha}","languages_url":"https://api.github.com/repos/ncuillery/react-native/languages","stargazers_url":"https://api.github.com/repos/ncuillery/react-native/stargazers","contributors_url":"https://api.github.com/repos/ncuillery/react-native/contributors","subscribers_url":"https://api.github.com/repos/ncuillery/react-native/subscribers","subscription_url":"https://api.github.com/repos/ncuillery/react-native/subscription","commits_url":"https://api.github.com/repos/ncuillery/react-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/ncuillery/react-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/ncuillery/react-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/ncuillery/react-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/ncuillery/react-native/contents/{+path}","compare_url":"https://api.github.com/repos/ncuillery/react-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ncuillery/react-native/merges","archive_url":"https://api.github.com/repos/ncuillery/react-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ncuillery/react-native/downloads","issues_url":"https://api.github.com/repos/ncuillery/react-native/issues{/number}","pulls_url":"https://api.github.com/repos/ncuillery/react-native/pulls{/number}","milestones_url":"https://api.github.com/repos/ncuillery/react-native/milestones{/number}","notifications_url":"https://api.github.com/repos/ncuillery/react-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ncuillery/react-native/labels{/name}","releases_url":"https://api.github.com/repos/ncuillery/react-native/releases{/id}","deployments_url":"https://api.github.com/repos/ncuillery/react-native/deployments","created_at":"2016-09-18T20:53:10Z","updated_at":"2016-11-05T22:01:07Z","pushed_at":"2016-11-21T16:19:58Z","git_url":"git://github.com/ncuillery/react-native.git","ssh_url":"git@github.com:ncuillery/react-native.git","clone_url":"https://github.com/ncuillery/react-native.git","svn_url":"https://github.com/ncuillery/react-native","homepage":"http://facebook.github.io/react-native/","size":93184,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"facebook:master","ref":"master","sha":"9712d335e2efcf9d95bef8a9bd879d031f223cbb","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":29028775,"name":"react-native","full_name":"facebook/react-native","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/react-native","description":"A framework for building native apps with React.","fork":false,"url":"https://api.github.com/repos/facebook/react-native","forks_url":"https://api.github.com/repos/facebook/react-native/forks","keys_url":"https://api.github.com/repos/facebook/react-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/react-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/react-native/teams","hooks_url":"https://api.github.com/repos/facebook/react-native/hooks","issue_events_url":"https://api.github.com/repos/facebook/react-native/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/react-native/events","assignees_url":"https://api.github.com/repos/facebook/react-native/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/react-native/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/react-native/tags","blobs_url":"https://api.github.com/repos/facebook/react-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/react-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/react-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/react-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/react-native/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/react-native/languages","stargazers_url":"https://api.github.com/repos/facebook/react-native/stargazers","contributors_url":"https://api.github.com/repos/facebook/react-native/contributors","subscribers_url":"https://api.github.com/repos/facebook/react-native/subscribers","subscription_url":"https://api.github.com/repos/facebook/react-native/subscription","commits_url":"https://api.github.com/repos/facebook/react-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/react-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/react-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/react-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/react-native/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/react-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/react-native/merges","archive_url":"https://api.github.com/repos/facebook/react-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/react-native/downloads","issues_url":"https://api.github.com/repos/facebook/react-native/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/react-native/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/react-native/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/react-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/react-native/labels{/name}","releases_url":"https://api.github.com/repos/facebook/react-native/releases{/id}","deployments_url":"https://api.github.com/repos/facebook/react-native/deployments","created_at":"2015-01-09T18:10:16Z","updated_at":"2016-11-21T21:48:43Z","pushed_at":"2016-11-21T21:28:32Z","git_url":"git://github.com/facebook/react-native.git","ssh_url":"git@github.com:facebook/react-native.git","clone_url":"https://github.com/facebook/react-native.git","svn_url":"https://github.com/facebook/react-native","homepage":"http://facebook.github.io/react-native/","size":159445,"stargazers_count":40630,"watchers_count":40630,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":9208,"mirror_url":null,"open_issues_count":859,"forks":9208,"open_issues":859,"watchers":40630,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/react-native/pulls/11052"},"html":{"href":"https://github.com/facebook/react-native/pull/11052"},"issue":{"href":"https://api.github.com/repos/facebook/react-native/issues/11052"},"comments":{"href":"https://api.github.com/repos/facebook/react-native/issues/11052/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/react-native/pulls/11052/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/react-native/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/react-native/pulls/11052/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/react-native/statuses/82184500008c16809efdbd1ec27a4b69eaf5da1e"}}}}
{"actor":{"display_login":"mkonicek"}}