{"action":"created","comment":{"url":"https://api.github.com/repos/status-im/status-go/pulls/comments/165892008","pull_request_review_id":93895854,"id":165892008,"diff_hunk":"@@ -62,6 +62,8 @@ var (\n \t// Push Notification\n \tenablePN     = flag.Bool(\"shh.notify\", false, \"Node is capable of sending Push Notifications\")\n \tfirebaseAuth = flag.String(\"shh.firebaseauth\", \"\", \"FCM Authorization Key used for sending Push Notifications\")\n+\n+\texitWhenSynced = flag.Int(\"exit-when-synced\", -1, \"Timeout for blockchain sync and exit in minutes, zero is infinite\")","path":"cmd/statusd/main.go","position":5,"original_position":5,"commit_id":"ec2f582600465aea0e44c94de26b9366526fccec","original_commit_id":"ec2f582600465aea0e44c94de26b9366526fccec","user":{"login":"dshulyak","id":1964576,"avatar_url":"https://avatars2.githubusercontent.com/u/1964576?v=4","gravatar_id":"","url":"https://api.github.com/users/dshulyak","html_url":"https://github.com/dshulyak","followers_url":"https://api.github.com/users/dshulyak/followers","following_url":"https://api.github.com/users/dshulyak/following{/other_user}","gists_url":"https://api.github.com/users/dshulyak/gists{/gist_id}","starred_url":"https://api.github.com/users/dshulyak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dshulyak/subscriptions","organizations_url":"https://api.github.com/users/dshulyak/orgs","repos_url":"https://api.github.com/users/dshulyak/repos","events_url":"https://api.github.com/users/dshulyak/events{/privacy}","received_events_url":"https://api.github.com/users/dshulyak/received_events","type":"User","site_admin":false},"body":"name is a bit too long, could it be sync-only?","created_at":"2018-02-05T06:49:44Z","updated_at":"2018-02-05T06:49:45Z","html_url":"https://github.com/status-im/status-go/pull/612#discussion_r165892008","pull_request_url":"https://api.github.com/repos/status-im/status-go/pulls/612","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/status-im/status-go/pulls/comments/165892008"},"html":{"href":"https://github.com/status-im/status-go/pull/612#discussion_r165892008"},"pull_request":{"href":"https://api.github.com/repos/status-im/status-go/pulls/612"}}},"pull_request":{"url":"https://api.github.com/repos/status-im/status-go/pulls/612","id":167013166,"html_url":"https://github.com/status-im/status-go/pull/612","diff_url":"https://github.com/status-im/status-go/pull/612.diff","patch_url":"https://github.com/status-im/status-go/pull/612.patch","issue_url":"https://api.github.com/repos/status-im/status-go/issues/612","number":612,"state":"open","locked":false,"title":"Sync blockchain before running e2e tests on public testnet #568","user":{"login":"canercidam","id":14118507,"avatar_url":"https://avatars2.githubusercontent.com/u/14118507?v=4","gravatar_id":"","url":"https://api.github.com/users/canercidam","html_url":"https://github.com/canercidam","followers_url":"https://api.github.com/users/canercidam/followers","following_url":"https://api.github.com/users/canercidam/following{/other_user}","gists_url":"https://api.github.com/users/canercidam/gists{/gist_id}","starred_url":"https://api.github.com/users/canercidam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canercidam/subscriptions","organizations_url":"https://api.github.com/users/canercidam/orgs","repos_url":"https://api.github.com/users/canercidam/repos","events_url":"https://api.github.com/users/canercidam/events{/privacy}","received_events_url":"https://api.github.com/users/canercidam/received_events","type":"User","site_admin":false},"body":"Option to sync blockchain and exit in `statusd`, for synchronizing before e2e tests.\r\n\r\nChanges:\r\n- `-exit-when-synced` flag is added to `statusd`.\r\n- `NodeManager` is extended with `Sync`.\r\n- `Sync` reuses the code in \"testing/testing.go\", `EnsureNodeSync`.\r\n- `.travis.yml` is modified to sync before e2e tests on public network.\r\n\r\nCloses #568\r\n","created_at":"2018-02-04T14:46:59Z","updated_at":"2018-02-05T06:49:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3f1b351a64da8fd1db4723671bfc1ef1556df55d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/status-im/status-go/pulls/612/commits","review_comments_url":"https://api.github.com/repos/status-im/status-go/pulls/612/comments","review_comment_url":"https://api.github.com/repos/status-im/status-go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/status-im/status-go/issues/612/comments","statuses_url":"https://api.github.com/repos/status-im/status-go/statuses/ec2f582600465aea0e44c94de26b9366526fccec","head":{"label":"canercidam:issue-568","ref":"issue-568","sha":"ec2f582600465aea0e44c94de26b9366526fccec","user":{"login":"canercidam","id":14118507,"avatar_url":"https://avatars2.githubusercontent.com/u/14118507?v=4","gravatar_id":"","url":"https://api.github.com/users/canercidam","html_url":"https://github.com/canercidam","followers_url":"https://api.github.com/users/canercidam/followers","following_url":"https://api.github.com/users/canercidam/following{/other_user}","gists_url":"https://api.github.com/users/canercidam/gists{/gist_id}","starred_url":"https://api.github.com/users/canercidam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canercidam/subscriptions","organizations_url":"https://api.github.com/users/canercidam/orgs","repos_url":"https://api.github.com/users/canercidam/repos","events_url":"https://api.github.com/users/canercidam/events{/privacy}","received_events_url":"https://api.github.com/users/canercidam/received_events","type":"User","site_admin":false},"repo":{"id":112765801,"name":"status-go","full_name":"canercidam/status-go","owner":{"login":"canercidam","id":14118507,"avatar_url":"https://avatars2.githubusercontent.com/u/14118507?v=4","gravatar_id":"","url":"https://api.github.com/users/canercidam","html_url":"https://github.com/canercidam","followers_url":"https://api.github.com/users/canercidam/followers","following_url":"https://api.github.com/users/canercidam/following{/other_user}","gists_url":"https://api.github.com/users/canercidam/gists{/gist_id}","starred_url":"https://api.github.com/users/canercidam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canercidam/subscriptions","organizations_url":"https://api.github.com/users/canercidam/orgs","repos_url":"https://api.github.com/users/canercidam/repos","events_url":"https://api.github.com/users/canercidam/events{/privacy}","received_events_url":"https://api.github.com/users/canercidam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/canercidam/status-go","description":"The Status module that consumes go-ethereum","fork":true,"url":"https://api.github.com/repos/canercidam/status-go","forks_url":"https://api.github.com/repos/canercidam/status-go/forks","keys_url":"https://api.github.com/repos/canercidam/status-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/canercidam/status-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/canercidam/status-go/teams","hooks_url":"https://api.github.com/repos/canercidam/status-go/hooks","issue_events_url":"https://api.github.com/repos/canercidam/status-go/issues/events{/number}","events_url":"https://api.github.com/repos/canercidam/status-go/events","assignees_url":"https://api.github.com/repos/canercidam/status-go/assignees{/user}","branches_url":"https://api.github.com/repos/canercidam/status-go/branches{/branch}","tags_url":"https://api.github.com/repos/canercidam/status-go/tags","blobs_url":"https://api.github.com/repos/canercidam/status-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/canercidam/status-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/canercidam/status-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/canercidam/status-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/canercidam/status-go/statuses/{sha}","languages_url":"https://api.github.com/repos/canercidam/status-go/languages","stargazers_url":"https://api.github.com/repos/canercidam/status-go/stargazers","contributors_url":"https://api.github.com/repos/canercidam/status-go/contributors","subscribers_url":"https://api.github.com/repos/canercidam/status-go/subscribers","subscription_url":"https://api.github.com/repos/canercidam/status-go/subscription","commits_url":"https://api.github.com/repos/canercidam/status-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/canercidam/status-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/canercidam/status-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/canercidam/status-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/canercidam/status-go/contents/{+path}","compare_url":"https://api.github.com/repos/canercidam/status-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/canercidam/status-go/merges","archive_url":"https://api.github.com/repos/canercidam/status-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/canercidam/status-go/downloads","issues_url":"https://api.github.com/repos/canercidam/status-go/issues{/number}","pulls_url":"https://api.github.com/repos/canercidam/status-go/pulls{/number}","milestones_url":"https://api.github.com/repos/canercidam/status-go/milestones{/number}","notifications_url":"https://api.github.com/repos/canercidam/status-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/canercidam/status-go/labels{/name}","releases_url":"https://api.github.com/repos/canercidam/status-go/releases{/id}","deployments_url":"https://api.github.com/repos/canercidam/status-go/deployments","created_at":"2017-12-01T17:10:29Z","updated_at":"2017-12-01T17:10:32Z","pushed_at":"2018-02-04T23:51:41Z","git_url":"git://github.com/canercidam/status-go.git","ssh_url":"git@github.com:canercidam/status-go.git","clone_url":"https://github.com/canercidam/status-go.git","svn_url":"https://github.com/canercidam/status-go","homepage":"https://status.im","size":27709,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"status-im:develop","ref":"develop","sha":"6728dcf06d9b361441bc67cfc63d98e46fa8c0e8","user":{"login":"status-im","id":11767950,"avatar_url":"https://avatars1.githubusercontent.com/u/11767950?v=4","gravatar_id":"","url":"https://api.github.com/users/status-im","html_url":"https://github.com/status-im","followers_url":"https://api.github.com/users/status-im/followers","following_url":"https://api.github.com/users/status-im/following{/other_user}","gists_url":"https://api.github.com/users/status-im/gists{/gist_id}","starred_url":"https://api.github.com/users/status-im/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/status-im/subscriptions","organizations_url":"https://api.github.com/users/status-im/orgs","repos_url":"https://api.github.com/users/status-im/repos","events_url":"https://api.github.com/users/status-im/events{/privacy}","received_events_url":"https://api.github.com/users/status-im/received_events","type":"Organization","site_admin":false},"repo":{"id":61047867,"name":"status-go","full_name":"status-im/status-go","owner":{"login":"status-im","id":11767950,"avatar_url":"https://avatars1.githubusercontent.com/u/11767950?v=4","gravatar_id":"","url":"https://api.github.com/users/status-im","html_url":"https://github.com/status-im","followers_url":"https://api.github.com/users/status-im/followers","following_url":"https://api.github.com/users/status-im/following{/other_user}","gists_url":"https://api.github.com/users/status-im/gists{/gist_id}","starred_url":"https://api.github.com/users/status-im/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/status-im/subscriptions","organizations_url":"https://api.github.com/users/status-im/orgs","repos_url":"https://api.github.com/users/status-im/repos","events_url":"https://api.github.com/users/status-im/events{/privacy}","received_events_url":"https://api.github.com/users/status-im/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/status-im/status-go","description":"The Status module that consumes go-ethereum","fork":false,"url":"https://api.github.com/repos/status-im/status-go","forks_url":"https://api.github.com/repos/status-im/status-go/forks","keys_url":"https://api.github.com/repos/status-im/status-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/status-im/status-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/status-im/status-go/teams","hooks_url":"https://api.github.com/repos/status-im/status-go/hooks","issue_events_url":"https://api.github.com/repos/status-im/status-go/issues/events{/number}","events_url":"https://api.github.com/repos/status-im/status-go/events","assignees_url":"https://api.github.com/repos/status-im/status-go/assignees{/user}","branches_url":"https://api.github.com/repos/status-im/status-go/branches{/branch}","tags_url":"https://api.github.com/repos/status-im/status-go/tags","blobs_url":"https://api.github.com/repos/status-im/status-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/status-im/status-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/status-im/status-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/status-im/status-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/status-im/status-go/statuses/{sha}","languages_url":"https://api.github.com/repos/status-im/status-go/languages","stargazers_url":"https://api.github.com/repos/status-im/status-go/stargazers","contributors_url":"https://api.github.com/repos/status-im/status-go/contributors","subscribers_url":"https://api.github.com/repos/status-im/status-go/subscribers","subscription_url":"https://api.github.com/repos/status-im/status-go/subscription","commits_url":"https://api.github.com/repos/status-im/status-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/status-im/status-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/status-im/status-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/status-im/status-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/status-im/status-go/contents/{+path}","compare_url":"https://api.github.com/repos/status-im/status-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/status-im/status-go/merges","archive_url":"https://api.github.com/repos/status-im/status-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/status-im/status-go/downloads","issues_url":"https://api.github.com/repos/status-im/status-go/issues{/number}","pulls_url":"https://api.github.com/repos/status-im/status-go/pulls{/number}","milestones_url":"https://api.github.com/repos/status-im/status-go/milestones{/number}","notifications_url":"https://api.github.com/repos/status-im/status-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/status-im/status-go/labels{/name}","releases_url":"https://api.github.com/repos/status-im/status-go/releases{/id}","deployments_url":"https://api.github.com/repos/status-im/status-go/deployments","created_at":"2016-06-13T15:32:03Z","updated_at":"2018-02-04T19:52:27Z","pushed_at":"2018-02-05T06:18:50Z","git_url":"git://github.com/status-im/status-go.git","ssh_url":"git@github.com:status-im/status-go.git","clone_url":"https://github.com/status-im/status-go.git","svn_url":"https://github.com/status-im/status-go","homepage":"https://status.im","size":34459,"stargazers_count":318,"watchers_count":318,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":102,"mirror_url":null,"archived":false,"open_issues_count":62,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0"},"forks":102,"open_issues":62,"watchers":318,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/status-im/status-go/pulls/612"},"html":{"href":"https://github.com/status-im/status-go/pull/612"},"issue":{"href":"https://api.github.com/repos/status-im/status-go/issues/612"},"comments":{"href":"https://api.github.com/repos/status-im/status-go/issues/612/comments"},"review_comments":{"href":"https://api.github.com/repos/status-im/status-go/pulls/612/comments"},"review_comment":{"href":"https://api.github.com/repos/status-im/status-go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/status-im/status-go/pulls/612/commits"},"statuses":{"href":"https://api.github.com/repos/status-im/status-go/statuses/ec2f582600465aea0e44c94de26b9366526fccec"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"dshulyak"}}