payload: {"action":"created","comment":{"url":"https://api.github.com/repos/golemfactory/concent-deployment/pulls/comments/253859388","pull_request_review_id":200068700,"id":253859388,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI1Mzg1OTM4OA==","diff_hunk":"@@ -0,0 +1,13 @@\n+#! /bin/bash -e\n+\n+trap \"kill 0\" SIGINT\n+\n+golem_run_gui_command=\"$(\n+    golem-run-console-mode.sh $@ &    \\\n+    cd ~/golem_electron/;             \\\n+    npm run start:app &               \\\n+    npm run start:mainnet &           \\\n+)\"\n+\n+\n+$golem_run_gui_command","path":"concent-vm/helper-scripts/golem-run-gui-mode.sh","position":null,"original_position":13,"commit_id":"f5795b73f545f0b12f7292a1d0c9655163b1f367","original_commit_id":"3cf7e97b9eefda9fa811a77aa6870c50d25ed6c4","user":{"login":"cameel","id":137030,"node_id":"MDQ6VXNlcjEzNzAzMA==","avatar_url":"https://avatars3.githubusercontent.com/u/137030?v=4","gravatar_id":"","url":"https://api.github.com/users/cameel","html_url":"https://github.com/cameel","followers_url":"https://api.github.com/users/cameel/followers","following_url":"https://api.github.com/users/cameel/following{/other_user}","gists_url":"https://api.github.com/users/cameel/gists{/gist_id}","starred_url":"https://api.github.com/users/cameel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cameel/subscriptions","organizations_url":"https://api.github.com/users/cameel/orgs","repos_url":"https://api.github.com/users/cameel/repos","events_url":"https://api.github.com/users/cameel/events{/privacy}","received_events_url":"https://api.github.com/users/cameel/received_events","type":"User","site_admin":false},"body":"Turns out \"calling\" the variable is not necessary but the purpose of `$()` is that it allows `trap` to kill all child processes on Ctrl+C. I've cleaned it up a bit but kept it more or less the same.","created_at":"2019-02-05T13:22:00Z","updated_at":"2019-02-05T13:22:00Z","html_url":"https://github.com/golemfactory/concent-deployment/pull/186#discussion_r253859388","pull_request_url":"https://api.github.com/repos/golemfactory/concent-deployment/pulls/186","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/golemfactory/concent-deployment/pulls/comments/253859388"},"html":{"href":"https://github.com/golemfactory/concent-deployment/pull/186#discussion_r253859388"},"pull_request":{"href":"https://api.github.com/repos/golemfactory/concent-deployment/pulls/186"}},"in_reply_to_id":210939167},"pull_request":{"url":"https://api.github.com/repos/golemfactory/concent-deployment/pulls/186","id":201606642,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxNjA2NjQy","html_url":"https://github.com/golemfactory/concent-deployment/pull/186","diff_url":"https://github.com/golemfactory/concent-deployment/pull/186.diff","patch_url":"https://github.com/golemfactory/concent-deployment/pull/186.patch","issue_url":"https://api.github.com/repos/golemfactory/concent-deployment/issues/186","number":186,"state":"open","locked":false,"title":"Feature add desktop environment and golem gui to the virtual machine","user":{"login":"bartoszbetka","id":26007109,"node_id":"MDQ6VXNlcjI2MDA3MTA5","avatar_url":"https://avatars0.githubusercontent.com/u/26007109?v=4","gravatar_id":"","url":"https://api.github.com/users/bartoszbetka","html_url":"https://github.com/bartoszbetka","followers_url":"https://api.github.com/users/bartoszbetka/followers","following_url":"https://api.github.com/users/bartoszbetka/following{/other_user}","gists_url":"https://api.github.com/users/bartoszbetka/gists{/gist_id}","starred_url":"https://api.github.com/users/bartoszbetka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartoszbetka/subscriptions","organizations_url":"https://api.github.com/users/bartoszbetka/orgs","repos_url":"https://api.github.com/users/bartoszbetka/repos","events_url":"https://api.github.com/users/bartoszbetka/events{/privacy}","received_events_url":"https://api.github.com/users/bartoszbetka/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-16T11:18:19Z","updated_at":"2019-02-05T13:22:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"38f0143a42ec4d2272ba6da89d00eb387bdf75e1","assignee":{"login":"cameel","id":137030,"node_id":"MDQ6VXNlcjEzNzAzMA==","avatar_url":"https://avatars3.githubusercontent.com/u/137030?v=4","gravatar_id":"","url":"https://api.github.com/users/cameel","html_url":"https://github.com/cameel","followers_url":"https://api.github.com/users/cameel/followers","following_url":"https://api.github.com/users/cameel/following{/other_user}","gists_url":"https://api.github.com/users/cameel/gists{/gist_id}","starred_url":"https://api.github.com/users/cameel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cameel/subscriptions","organizations_url":"https://api.github.com/users/cameel/orgs","repos_url":"https://api.github.com/users/cameel/repos","events_url":"https://api.github.com/users/cameel/events{/privacy}","received_events_url":"https://api.github.com/users/cameel/received_events","type":"User","site_admin":false},"assignees":[{"login":"cameel","id":137030,"node_id":"MDQ6VXNlcjEzNzAzMA==","avatar_url":"https://avatars3.githubusercontent.com/u/137030?v=4","gravatar_id":"","url":"https://api.github.com/users/cameel","html_url":"https://github.com/cameel","followers_url":"https://api.github.com/users/cameel/followers","following_url":"https://api.github.com/users/cameel/following{/other_user}","gists_url":"https://api.github.com/users/cameel/gists{/gist_id}","starred_url":"https://api.github.com/users/cameel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cameel/subscriptions","organizations_url":"https://api.github.com/users/cameel/orgs","repos_url":"https://api.github.com/users/cameel/repos","events_url":"https://api.github.com/users/cameel/events{/privacy}","received_events_url":"https://api.github.com/users/cameel/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1167829760,"node_id":"MDU6TGFiZWwxMTY3ODI5NzYw","url":"https://api.github.com/repos/golemfactory/concent-deployment/labels/icebox","name":"icebox","color":"d4c5f9","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/golemfactory/concent-deployment/pulls/186/commits","review_comments_url":"https://api.github.com/repos/golemfactory/concent-deployment/pulls/186/comments","review_comment_url":"https://api.github.com/repos/golemfactory/concent-deployment/pulls/comments{/number}","comments_url":"https://api.github.com/repos/golemfactory/concent-deployment/issues/186/comments","statuses_url":"https://api.github.com/repos/golemfactory/concent-deployment/statuses/f5795b73f545f0b12f7292a1d0c9655163b1f367","head":{"label":"golemfactory:feature-add-desktop-environment-and-golem-gui-to-the-virtual-machine","ref":"feature-add-desktop-environment-and-golem-gui-to-the-virtual-machine","sha":"f5795b73f545f0b12f7292a1d0c9655163b1f367","user":{"login":"golemfactory","id":23193179,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMTkzMTc5","avatar_url":"https://avatars1.githubusercontent.com/u/23193179?v=4","gravatar_id":"","url":"https://api.github.com/users/golemfactory","html_url":"https://github.com/golemfactory","followers_url":"https://api.github.com/users/golemfactory/followers","following_url":"https://api.github.com/users/golemfactory/following{/other_user}","gists_url":"https://api.github.com/users/golemfactory/gists{/gist_id}","starred_url":"https://api.github.com/users/golemfactory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/golemfactory/subscriptions","organizations_url":"https://api.github.com/users/golemfactory/orgs","repos_url":"https://api.github.com/users/golemfactory/repos","events_url":"https://api.github.com/users/golemfactory/events{/privacy}","received_events_url":"https://api.github.com/users/golemfactory/received_events","type":"Organization","site_admin":false},"repo":{"id":108838807,"node_id":"MDEwOlJlcG9zaXRvcnkxMDg4Mzg4MDc=","name":"concent-deployment","full_name":"golemfactory/concent-deployment","private":false,"owner":{"login":"golemfactory","id":23193179,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMTkzMTc5","avatar_url":"https://avatars1.githubusercontent.com/u/23193179?v=4","gravatar_id":"","url":"https://api.github.com/users/golemfactory","html_url":"https://github.com/golemfactory","followers_url":"https://api.github.com/users/golemfactory/followers","following_url":"https://api.github.com/users/golemfactory/following{/other_user}","gists_url":"https://api.github.com/users/golemfactory/gists{/gist_id}","starred_url":"https://api.github.com/users/golemfactory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/golemfactory/subscriptions","organizations_url":"https://api.github.com/users/golemfactory/orgs","repos_url":"https://api.github.com/users/golemfactory/repos","events_url":"https://api.github.com/users/golemfactory/events{/privacy}","received_events_url":"https://api.github.com/users/golemfactory/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/golemfactory/concent-deployment","description":"Scripts and configuration for Concent deployment","fork":false,"url":"https://api.github.com/repos/golemfactory/concent-deployment","forks_url":"https://api.github.com/repos/golemfactory/concent-deployment/forks","keys_url":"https://api.github.com/repos/golemfactory/concent-deployment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/golemfactory/concent-deployment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/golemfactory/concent-deployment/teams","hooks_url":"https://api.github.com/repos/golemfactory/concent-deployment/hooks","issue_events_url":"https://api.github.com/repos/golemfactory/concent-deployment/issues/events{/number}","events_url":"https://api.github.com/repos/golemfactory/concent-deployment/events","assignees_url":"https://api.github.com/repos/golemfactory/concent-deployment/assignees{/user}","branches_url":"https://api.github.com/repos/golemfactory/concent-deployment/branches{/branch}","tags_url":"https://api.github.com/repos/golemfactory/concent-deployment/tags","blobs_url":"https://api.github.com/repos/golemfactory/concent-deployment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/golemfactory/concent-deployment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/golemfactory/concent-deployment/git/refs{/sha}","trees_url":"https://api.github.com/repos/golemfactory/concent-deployment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/golemfactory/concent-deployment/statuses/{sha}","languages_url":"https://api.github.com/repos/golemfactory/concent-deployment/languages","stargazers_url":"https://api.github.com/repos/golemfactory/concent-deployment/stargazers","contributors_url":"https://api.github.com/repos/golemfactory/concent-deployment/contributors","subscribers_url":"https://api.github.com/repos/golemfactory/concent-deployment/subscribers","subscription_url":"https://api.github.com/repos/golemfactory/concent-deployment/subscription","commits_url":"https://api.github.com/repos/golemfactory/concent-deployment/commits{/sha}","git_commits_url":"https://api.github.com/repos/golemfactory/concent-deployment/git/commits{/sha}","comments_url":"https://api.github.com/repos/golemfactory/concent-deployment/comments{/number}","issue_comment_url":"https://api.github.com/repos/golemfactory/concent-deployment/issues/comments{/number}","contents_url":"https://api.github.com/repos/golemfactory/concent-deployment/contents/{+path}","compare_url":"https://api.github.com/repos/golemfactory/concent-deployment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/golemfactory/concent-deployment/merges","archive_url":"https://api.github.com/repos/golemfactory/concent-deployment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/golemfactory/concent-deployment/downloads","issues_url":"https://api.github.com/repos/golemfactory/concent-deployment/issues{/number}","pulls_url":"https://api.github.com/repos/golemfactory/concent-deployment/pulls{/number}","milestones_url":"https://api.github.com/repos/golemfactory/concent-deployment/milestones{/number}","notifications_url":"https://api.github.com/repos/golemfactory/concent-deployment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/golemfactory/concent-deployment/labels{/name}","releases_url":"https://api.github.com/repos/golemfactory/concent-deployment/releases{/id}","deployments_url":"https://api.github.com/repos/golemfactory/concent-deployment/deployments","created_at":"2017-10-30T11:01:11Z","updated_at":"2019-02-04T13:20:16Z","pushed_at":"2019-02-05T13:16:34Z","git_url":"git://github.com/golemfactory/concent-deployment.git","ssh_url":"git@github.com:golemfactory/concent-deployment.git","clone_url":"https://github.com/golemfactory/concent-deployment.git","svn_url":"https://github.com/golemfactory/concent-deployment","homepage":null,"size":521,"stargazers_count":1,"watchers_count":1,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":89,"license":null,"forks":3,"open_issues":89,"watchers":1,"default_branch":"master"}},"base":{"label":"golemfactory:master","ref":"master","sha":"ec34ecc5cda4038543f4cf0ad7a2d5f6b98c4ac2","user":{"login":"golemfactory","id":23193179,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMTkzMTc5","avatar_url":"https://avatars1.githubusercontent.com/u/23193179?v=4","gravatar_id":"","url":"https://api.github.com/users/golemfactory","html_url":"https://github.com/golemfactory","followers_url":"https://api.github.com/users/golemfactory/followers","following_url":"https://api.github.com/users/golemfactory/following{/other_user}","gists_url":"https://api.github.com/users/golemfactory/gists{/gist_id}","starred_url":"https://api.github.com/users/golemfactory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/golemfactory/subscriptions","organizations_url":"https://api.github.com/users/golemfactory/orgs","repos_url":"https://api.github.com/users/golemfactory/repos","events_url":"https://api.github.com/users/golemfactory/events{/privacy}","received_events_url":"https://api.github.com/users/golemfactory/received_events","type":"Organization","site_admin":false},"repo":{"id":108838807,"node_id":"MDEwOlJlcG9zaXRvcnkxMDg4Mzg4MDc=","name":"concent-deployment","full_name":"golemfactory/concent-deployment","private":false,"owner":{"login":"golemfactory","id":23193179,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMTkzMTc5","avatar_url":"https://avatars1.githubusercontent.com/u/23193179?v=4","gravatar_id":"","url":"https://api.github.com/users/golemfactory","html_url":"https://github.com/golemfactory","followers_url":"https://api.github.com/users/golemfactory/followers","following_url":"https://api.github.com/users/golemfactory/following{/other_user}","gists_url":"https://api.github.com/users/golemfactory/gists{/gist_id}","starred_url":"https://api.github.com/users/golemfactory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/golemfactory/subscriptions","organizations_url":"https://api.github.com/users/golemfactory/orgs","repos_url":"https://api.github.com/users/golemfactory/repos","events_url":"https://api.github.com/users/golemfactory/events{/privacy}","received_events_url":"https://api.github.com/users/golemfactory/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/golemfactory/concent-deployment","description":"Scripts and configuration for Concent deployment","fork":false,"url":"https://api.github.com/repos/golemfactory/concent-deployment","forks_url":"https://api.github.com/repos/golemfactory/concent-deployment/forks","keys_url":"https://api.github.com/repos/golemfactory/concent-deployment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/golemfactory/concent-deployment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/golemfactory/concent-deployment/teams","hooks_url":"https://api.github.com/repos/golemfactory/concent-deployment/hooks","issue_events_url":"https://api.github.com/repos/golemfactory/concent-deployment/issues/events{/number}","events_url":"https://api.github.com/repos/golemfactory/concent-deployment/events","assignees_url":"https://api.github.com/repos/golemfactory/concent-deployment/assignees{/user}","branches_url":"https://api.github.com/repos/golemfactory/concent-deployment/branches{/branch}","tags_url":"https://api.github.com/repos/golemfactory/concent-deployment/tags","blobs_url":"https://api.github.com/repos/golemfactory/concent-deployment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/golemfactory/concent-deployment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/golemfactory/concent-deployment/git/refs{/sha}","trees_url":"https://api.github.com/repos/golemfactory/concent-deployment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/golemfactory/concent-deployment/statuses/{sha}","languages_url":"https://api.github.com/repos/golemfactory/concent-deployment/languages","stargazers_url":"https://api.github.com/repos/golemfactory/concent-deployment/stargazers","contributors_url":"https://api.github.com/repos/golemfactory/concent-deployment/contributors","subscribers_url":"https://api.github.com/repos/golemfactory/concent-deployment/subscribers","subscription_url":"https://api.github.com/repos/golemfactory/concent-deployment/subscription","commits_url":"https://api.github.com/repos/golemfactory/concent-deployment/commits{/sha}","git_commits_url":"https://api.github.com/repos/golemfactory/concent-deployment/git/commits{/sha}","comments_url":"https://api.github.com/repos/golemfactory/concent-deployment/comments{/number}","issue_comment_url":"https://api.github.com/repos/golemfactory/concent-deployment/issues/comments{/number}","contents_url":"https://api.github.com/repos/golemfactory/concent-deployment/contents/{+path}","compare_url":"https://api.github.com/repos/golemfactory/concent-deployment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/golemfactory/concent-deployment/merges","archive_url":"https://api.github.com/repos/golemfactory/concent-deployment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/golemfactory/concent-deployment/downloads","issues_url":"https://api.github.com/repos/golemfactory/concent-deployment/issues{/number}","pulls_url":"https://api.github.com/repos/golemfactory/concent-deployment/pulls{/number}","milestones_url":"https://api.github.com/repos/golemfactory/concent-deployment/milestones{/number}","notifications_url":"https://api.github.com/repos/golemfactory/concent-deployment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/golemfactory/concent-deployment/labels{/name}","releases_url":"https://api.github.com/repos/golemfactory/concent-deployment/releases{/id}","deployments_url":"https://api.github.com/repos/golemfactory/concent-deployment/deployments","created_at":"2017-10-30T11:01:11Z","updated_at":"2019-02-04T13:20:16Z","pushed_at":"2019-02-05T13:16:34Z","git_url":"git://github.com/golemfactory/concent-deployment.git","ssh_url":"git@github.com:golemfactory/concent-deployment.git","clone_url":"https://github.com/golemfactory/concent-deployment.git","svn_url":"https://github.com/golemfactory/concent-deployment","homepage":null,"size":521,"stargazers_count":1,"watchers_count":1,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":89,"license":null,"forks":3,"open_issues":89,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/golemfactory/concent-deployment/pulls/186"},"html":{"href":"https://github.com/golemfactory/concent-deployment/pull/186"},"issue":{"href":"https://api.github.com/repos/golemfactory/concent-deployment/issues/186"},"comments":{"href":"https://api.github.com/repos/golemfactory/concent-deployment/issues/186/comments"},"review_comments":{"href":"https://api.github.com/repos/golemfactory/concent-deployment/pulls/186/comments"},"review_comment":{"href":"https://api.github.com/repos/golemfactory/concent-deployment/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/golemfactory/concent-deployment/pulls/186/commits"},"statuses":{"href":"https://api.github.com/repos/golemfactory/concent-deployment/statuses/f5795b73f545f0b12f7292a1d0c9655163b1f367"}},"author_association":"CONTRIBUTOR"}}
other: {"actor":{"display_login":"cameel"}}