{"action":"created","comment":{"url":"https://api.github.com/repos/MainframeHQ/erebos/pulls/comments/196761090","pull_request_review_id":130373318,"id":196761090,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5Njc2MTA5MA==","diff_hunk":"@@ -0,0 +1,35 @@\n+#!/usr/bin/env bash\n+\n+if [[ $# -ne 1 ]]; then\n+  echo \"Usage: $0 <data-directory>\"\n+  exit 1\n+fi\n+\n+DATADIR=\"$1\"\n+\n+if [[ ! -e $DATADIR/keystore ]]; then\n+    mkdir -p $DATADIR\n+    echo 'secret' > $DATADIR/password\n+    /app/bin/geth --datadir $DATADIR account new --password $DATADIR/password\n+fi\n+\n+which jq\n+if [ $? -eq 0 ]\n+then\n+    KEY=$(jq --raw-output '.address' $DATADIR/keystore/*)\n+else\n+    printf \"\\n\\nERROR: jq is required to run the startup script\\n\\n\"\n+    exit 1\n+fi\n+\n+/app/bin/swarm \\\n+    --datadir $DATADIR \\\n+    --password $DATADIR/password \\\n+    --verbosity 4 \\\n+    --bzzaccount $KEY \\\n+    --ens-api '' \\\n+    --bzznetworkid 922 \\","path":"start_swarm_node.sh","position":31,"original_position":31,"commit_id":"1dc1eb5af22fe194b3fc2bac543cc9fc7c7bdb7f","original_commit_id":"1dc1eb5af22fe194b3fc2bac543cc9fc7c7bdb7f","user":{"login":"PaulLeCam","id":790995,"node_id":"MDQ6VXNlcjc5MDk5NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/790995?v=4","gravatar_id":"","url":"https://api.github.com/users/PaulLeCam","html_url":"https://github.com/PaulLeCam","followers_url":"https://api.github.com/users/PaulLeCam/followers","following_url":"https://api.github.com/users/PaulLeCam/following{/other_user}","gists_url":"https://api.github.com/users/PaulLeCam/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulLeCam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulLeCam/subscriptions","organizations_url":"https://api.github.com/users/PaulLeCam/orgs","repos_url":"https://api.github.com/users/PaulLeCam/repos","events_url":"https://api.github.com/users/PaulLeCam/events{/privacy}","received_events_url":"https://api.github.com/users/PaulLeCam/received_events","type":"User","site_admin":false},"body":"Is this a specific network? I think we should make sure our node doesn't connect to any public one.","created_at":"2018-06-20T12:42:37Z","updated_at":"2018-06-20T12:44:44Z","html_url":"https://github.com/MainframeHQ/erebos/pull/3#discussion_r196761090","pull_request_url":"https://api.github.com/repos/MainframeHQ/erebos/pulls/3","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/MainframeHQ/erebos/pulls/comments/196761090"},"html":{"href":"https://github.com/MainframeHQ/erebos/pull/3#discussion_r196761090"},"pull_request":{"href":"https://api.github.com/repos/MainframeHQ/erebos/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/MainframeHQ/erebos/pulls/3","id":195234840,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1MjM0ODQw","html_url":"https://github.com/MainframeHQ/erebos/pull/3","diff_url":"https://github.com/MainframeHQ/erebos/pull/3.diff","patch_url":"https://github.com/MainframeHQ/erebos/pull/3.patch","issue_url":"https://api.github.com/repos/MainframeHQ/erebos/issues/3","number":3,"state":"open","locked":false,"title":"Integration tests","user":{"login":"mosic","id":1229422,"node_id":"MDQ6VXNlcjEyMjk0MjI=","avatar_url":"https://avatars3.githubusercontent.com/u/1229422?v=4","gravatar_id":"","url":"https://api.github.com/users/mosic","html_url":"https://github.com/mosic","followers_url":"https://api.github.com/users/mosic/followers","following_url":"https://api.github.com/users/mosic/following{/other_user}","gists_url":"https://api.github.com/users/mosic/gists{/gist_id}","starred_url":"https://api.github.com/users/mosic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mosic/subscriptions","organizations_url":"https://api.github.com/users/mosic/orgs","repos_url":"https://api.github.com/users/mosic/repos","events_url":"https://api.github.com/users/mosic/events{/privacy}","received_events_url":"https://api.github.com/users/mosic/received_events","type":"User","site_admin":false},"body":"I'm expecting this to fail in CI, since I didn't add the config for starting the swarm process yet.\r\nWill do it on Monday, I'm marking it as WIP for now.","created_at":"2018-06-15T17:08:56Z","updated_at":"2018-06-20T12:44:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a475c7c7cb1c5a4aed991499012a7fb3e10cf137","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":961812257,"node_id":"MDU6TGFiZWw5NjE4MTIyNTc=","url":"https://api.github.com/repos/MainframeHQ/erebos/labels/wip","name":"wip","color":"5319e7","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/MainframeHQ/erebos/pulls/3/commits","review_comments_url":"https://api.github.com/repos/MainframeHQ/erebos/pulls/3/comments","review_comment_url":"https://api.github.com/repos/MainframeHQ/erebos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MainframeHQ/erebos/issues/3/comments","statuses_url":"https://api.github.com/repos/MainframeHQ/erebos/statuses/1dc1eb5af22fe194b3fc2bac543cc9fc7c7bdb7f","head":{"label":"MainframeHQ:integration-tests","ref":"integration-tests","sha":"1dc1eb5af22fe194b3fc2bac543cc9fc7c7bdb7f","user":{"login":"MainframeHQ","id":4616210,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2MTYyMTA=","avatar_url":"https://avatars2.githubusercontent.com/u/4616210?v=4","gravatar_id":"","url":"https://api.github.com/users/MainframeHQ","html_url":"https://github.com/MainframeHQ","followers_url":"https://api.github.com/users/MainframeHQ/followers","following_url":"https://api.github.com/users/MainframeHQ/following{/other_user}","gists_url":"https://api.github.com/users/MainframeHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/MainframeHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MainframeHQ/subscriptions","organizations_url":"https://api.github.com/users/MainframeHQ/orgs","repos_url":"https://api.github.com/users/MainframeHQ/repos","events_url":"https://api.github.com/users/MainframeHQ/events{/privacy}","received_events_url":"https://api.github.com/users/MainframeHQ/received_events","type":"Organization","site_admin":false},"repo":{"id":110567775,"node_id":"MDEwOlJlcG9zaXRvcnkxMTA1Njc3NzU=","name":"erebos","full_name":"MainframeHQ/erebos","owner":{"login":"MainframeHQ","id":4616210,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2MTYyMTA=","avatar_url":"https://avatars2.githubusercontent.com/u/4616210?v=4","gravatar_id":"","url":"https://api.github.com/users/MainframeHQ","html_url":"https://github.com/MainframeHQ","followers_url":"https://api.github.com/users/MainframeHQ/followers","following_url":"https://api.github.com/users/MainframeHQ/following{/other_user}","gists_url":"https://api.github.com/users/MainframeHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/MainframeHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MainframeHQ/subscriptions","organizations_url":"https://api.github.com/users/MainframeHQ/orgs","repos_url":"https://api.github.com/users/MainframeHQ/repos","events_url":"https://api.github.com/users/MainframeHQ/events{/privacy}","received_events_url":"https://api.github.com/users/MainframeHQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MainframeHQ/erebos","description":"JavaScript client for Swarm and PSS","fork":false,"url":"https://api.github.com/repos/MainframeHQ/erebos","forks_url":"https://api.github.com/repos/MainframeHQ/erebos/forks","keys_url":"https://api.github.com/repos/MainframeHQ/erebos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MainframeHQ/erebos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MainframeHQ/erebos/teams","hooks_url":"https://api.github.com/repos/MainframeHQ/erebos/hooks","issue_events_url":"https://api.github.com/repos/MainframeHQ/erebos/issues/events{/number}","events_url":"https://api.github.com/repos/MainframeHQ/erebos/events","assignees_url":"https://api.github.com/repos/MainframeHQ/erebos/assignees{/user}","branches_url":"https://api.github.com/repos/MainframeHQ/erebos/branches{/branch}","tags_url":"https://api.github.com/repos/MainframeHQ/erebos/tags","blobs_url":"https://api.github.com/repos/MainframeHQ/erebos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MainframeHQ/erebos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MainframeHQ/erebos/git/refs{/sha}","trees_url":"https://api.github.com/repos/MainframeHQ/erebos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MainframeHQ/erebos/statuses/{sha}","languages_url":"https://api.github.com/repos/MainframeHQ/erebos/languages","stargazers_url":"https://api.github.com/repos/MainframeHQ/erebos/stargazers","contributors_url":"https://api.github.com/repos/MainframeHQ/erebos/contributors","subscribers_url":"https://api.github.com/repos/MainframeHQ/erebos/subscribers","subscription_url":"https://api.github.com/repos/MainframeHQ/erebos/subscription","commits_url":"https://api.github.com/repos/MainframeHQ/erebos/commits{/sha}","git_commits_url":"https://api.github.com/repos/MainframeHQ/erebos/git/commits{/sha}","comments_url":"https://api.github.com/repos/MainframeHQ/erebos/comments{/number}","issue_comment_url":"https://api.github.com/repos/MainframeHQ/erebos/issues/comments{/number}","contents_url":"https://api.github.com/repos/MainframeHQ/erebos/contents/{+path}","compare_url":"https://api.github.com/repos/MainframeHQ/erebos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MainframeHQ/erebos/merges","archive_url":"https://api.github.com/repos/MainframeHQ/erebos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MainframeHQ/erebos/downloads","issues_url":"https://api.github.com/repos/MainframeHQ/erebos/issues{/number}","pulls_url":"https://api.github.com/repos/MainframeHQ/erebos/pulls{/number}","milestones_url":"https://api.github.com/repos/MainframeHQ/erebos/milestones{/number}","notifications_url":"https://api.github.com/repos/MainframeHQ/erebos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MainframeHQ/erebos/labels{/name}","releases_url":"https://api.github.com/repos/MainframeHQ/erebos/releases{/id}","deployments_url":"https://api.github.com/repos/MainframeHQ/erebos/deployments","created_at":"2017-11-13T15:46:33Z","updated_at":"2018-06-15T17:06:30Z","pushed_at":"2018-06-20T12:39:44Z","git_url":"git://github.com/MainframeHQ/erebos.git","ssh_url":"git@github.com:MainframeHQ/erebos.git","clone_url":"https://github.com/MainframeHQ/erebos.git","svn_url":"https://github.com/MainframeHQ/erebos","homepage":"","size":488,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":2,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"MainframeHQ:master","ref":"master","sha":"ed03c98441b41e3f1c17009e9b6217875a20f925","user":{"login":"MainframeHQ","id":4616210,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2MTYyMTA=","avatar_url":"https://avatars2.githubusercontent.com/u/4616210?v=4","gravatar_id":"","url":"https://api.github.com/users/MainframeHQ","html_url":"https://github.com/MainframeHQ","followers_url":"https://api.github.com/users/MainframeHQ/followers","following_url":"https://api.github.com/users/MainframeHQ/following{/other_user}","gists_url":"https://api.github.com/users/MainframeHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/MainframeHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MainframeHQ/subscriptions","organizations_url":"https://api.github.com/users/MainframeHQ/orgs","repos_url":"https://api.github.com/users/MainframeHQ/repos","events_url":"https://api.github.com/users/MainframeHQ/events{/privacy}","received_events_url":"https://api.github.com/users/MainframeHQ/received_events","type":"Organization","site_admin":false},"repo":{"id":110567775,"node_id":"MDEwOlJlcG9zaXRvcnkxMTA1Njc3NzU=","name":"erebos","full_name":"MainframeHQ/erebos","owner":{"login":"MainframeHQ","id":4616210,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2MTYyMTA=","avatar_url":"https://avatars2.githubusercontent.com/u/4616210?v=4","gravatar_id":"","url":"https://api.github.com/users/MainframeHQ","html_url":"https://github.com/MainframeHQ","followers_url":"https://api.github.com/users/MainframeHQ/followers","following_url":"https://api.github.com/users/MainframeHQ/following{/other_user}","gists_url":"https://api.github.com/users/MainframeHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/MainframeHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MainframeHQ/subscriptions","organizations_url":"https://api.github.com/users/MainframeHQ/orgs","repos_url":"https://api.github.com/users/MainframeHQ/repos","events_url":"https://api.github.com/users/MainframeHQ/events{/privacy}","received_events_url":"https://api.github.com/users/MainframeHQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MainframeHQ/erebos","description":"JavaScript client for Swarm and PSS","fork":false,"url":"https://api.github.com/repos/MainframeHQ/erebos","forks_url":"https://api.github.com/repos/MainframeHQ/erebos/forks","keys_url":"https://api.github.com/repos/MainframeHQ/erebos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MainframeHQ/erebos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MainframeHQ/erebos/teams","hooks_url":"https://api.github.com/repos/MainframeHQ/erebos/hooks","issue_events_url":"https://api.github.com/repos/MainframeHQ/erebos/issues/events{/number}","events_url":"https://api.github.com/repos/MainframeHQ/erebos/events","assignees_url":"https://api.github.com/repos/MainframeHQ/erebos/assignees{/user}","branches_url":"https://api.github.com/repos/MainframeHQ/erebos/branches{/branch}","tags_url":"https://api.github.com/repos/MainframeHQ/erebos/tags","blobs_url":"https://api.github.com/repos/MainframeHQ/erebos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MainframeHQ/erebos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MainframeHQ/erebos/git/refs{/sha}","trees_url":"https://api.github.com/repos/MainframeHQ/erebos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MainframeHQ/erebos/statuses/{sha}","languages_url":"https://api.github.com/repos/MainframeHQ/erebos/languages","stargazers_url":"https://api.github.com/repos/MainframeHQ/erebos/stargazers","contributors_url":"https://api.github.com/repos/MainframeHQ/erebos/contributors","subscribers_url":"https://api.github.com/repos/MainframeHQ/erebos/subscribers","subscription_url":"https://api.github.com/repos/MainframeHQ/erebos/subscription","commits_url":"https://api.github.com/repos/MainframeHQ/erebos/commits{/sha}","git_commits_url":"https://api.github.com/repos/MainframeHQ/erebos/git/commits{/sha}","comments_url":"https://api.github.com/repos/MainframeHQ/erebos/comments{/number}","issue_comment_url":"https://api.github.com/repos/MainframeHQ/erebos/issues/comments{/number}","contents_url":"https://api.github.com/repos/MainframeHQ/erebos/contents/{+path}","compare_url":"https://api.github.com/repos/MainframeHQ/erebos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MainframeHQ/erebos/merges","archive_url":"https://api.github.com/repos/MainframeHQ/erebos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MainframeHQ/erebos/downloads","issues_url":"https://api.github.com/repos/MainframeHQ/erebos/issues{/number}","pulls_url":"https://api.github.com/repos/MainframeHQ/erebos/pulls{/number}","milestones_url":"https://api.github.com/repos/MainframeHQ/erebos/milestones{/number}","notifications_url":"https://api.github.com/repos/MainframeHQ/erebos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MainframeHQ/erebos/labels{/name}","releases_url":"https://api.github.com/repos/MainframeHQ/erebos/releases{/id}","deployments_url":"https://api.github.com/repos/MainframeHQ/erebos/deployments","created_at":"2017-11-13T15:46:33Z","updated_at":"2018-06-15T17:06:30Z","pushed_at":"2018-06-20T12:39:44Z","git_url":"git://github.com/MainframeHQ/erebos.git","ssh_url":"git@github.com:MainframeHQ/erebos.git","clone_url":"https://github.com/MainframeHQ/erebos.git","svn_url":"https://github.com/MainframeHQ/erebos","homepage":"","size":488,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":2,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MainframeHQ/erebos/pulls/3"},"html":{"href":"https://github.com/MainframeHQ/erebos/pull/3"},"issue":{"href":"https://api.github.com/repos/MainframeHQ/erebos/issues/3"},"comments":{"href":"https://api.github.com/repos/MainframeHQ/erebos/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/MainframeHQ/erebos/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/MainframeHQ/erebos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MainframeHQ/erebos/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/MainframeHQ/erebos/statuses/1dc1eb5af22fe194b3fc2bac543cc9fc7c7bdb7f"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"PaulLeCam"}}