{"action":"created","comment":{"url":"https://api.github.com/repos/koding/koding/pulls/comments/76835975","id":76835975,"diff_hunk":"@@ -23,13 +23,18 @@ if [[ \"$CHANNEL\" == \"development\" ]]; then\n \tKONTROL_URL=\"https://sandbox.koding.com/kontrol/kite\"\n fi\n \n+TUNNEL_URL=\"http://t.koding.com/kite\"\n+if [[ \"$CHANNEL\" == \"development\" ]]; then\n+\tTUNNEL_URL=\"http://dev-t.koding.com/kite\"\n+fi\n+\n if [[ -z \"$VERSION\" ]]; then\n \tVERSION=$(curl -sSL https://koding-kd.s3.amazonaws.com/${CHANNEL}/latest-version.txt)\n \tlet VERSION++\n fi\n \n kd_build() {\n-\tgo build -v -ldflags \"-X koding/klientctl/config.Version=$VERSION -X koding/klientctl/config.SegmentKey=$KD_SEGMENTIO_KEY -X koding/klientctl/config.Environment=$CHANNEL -X koding/klientctl/config.KontrolURL=$KONTROL_URL\" koding/klientctl\n+\tgo build -v -ldflags \"-X koding/klientctl/config.Version=$VERSION -X koding/klientctl/config.SegmentKey=$KD_SEGMENTIO_KEY -X koding/klientctl/config.Environment=$CHANNEL -X koding/klientctl/config.TunnelKiteAddress $TUNNEL_URL --X koding/klientctl/config.KontrolURL=$KONTROL_URL\" koding/klientctl","path":"go/src/koding/klientctl/build.sh","position":null,"original_position":16,"commit_id":"32468c65d96f8bb054082bb4ef5be6f0000cffca","original_commit_id":"e8f02d579e5eec24074cde42d5be1d184671e198","user":{"login":"leeola","id":47556,"avatar_url":"https://avatars.githubusercontent.com/u/47556?v=3","gravatar_id":"","url":"https://api.github.com/users/leeola","html_url":"https://github.com/leeola","followers_url":"https://api.github.com/users/leeola/followers","following_url":"https://api.github.com/users/leeola/following{/other_user}","gists_url":"https://api.github.com/users/leeola/gists{/gist_id}","starred_url":"https://api.github.com/users/leeola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leeola/subscriptions","organizations_url":"https://api.github.com/users/leeola/orgs","repos_url":"https://api.github.com/users/leeola/repos","events_url":"https://api.github.com/users/leeola/events{/privacy}","received_events_url":"https://api.github.com/users/leeola/received_events","type":"User","site_admin":false},"body":"Nice catch, apologies. Fixed","created_at":"2016-08-30T16:59:37Z","updated_at":"2016-08-30T16:59:37Z","html_url":"https://github.com/koding/koding/pull/8887#discussion_r76835975","pull_request_url":"https://api.github.com/repos/koding/koding/pulls/8887","_links":{"self":{"href":"https://api.github.com/repos/koding/koding/pulls/comments/76835975"},"html":{"href":"https://github.com/koding/koding/pull/8887#discussion_r76835975"},"pull_request":{"href":"https://api.github.com/repos/koding/koding/pulls/8887"}}},"pull_request":{"url":"https://api.github.com/repos/koding/koding/pulls/8887","id":82222511,"html_url":"https://github.com/koding/koding/pull/8887","diff_url":"https://github.com/koding/koding/pull/8887.diff","patch_url":"https://github.com/koding/koding/pull/8887.patch","issue_url":"https://api.github.com/repos/koding/koding/issues/8887","number":8887,"state":"open","locked":false,"title":"Klientctl start healthcheck","user":{"login":"leeola","id":47556,"avatar_url":"https://avatars.githubusercontent.com/u/47556?v=3","gravatar_id":"","url":"https://api.github.com/users/leeola","html_url":"https://github.com/leeola","followers_url":"https://api.github.com/users/leeola/followers","following_url":"https://api.github.com/users/leeola/following{/other_user}","gists_url":"https://api.github.com/users/leeola/gists{/gist_id}","starred_url":"https://api.github.com/users/leeola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leeola/subscriptions","organizations_url":"https://api.github.com/users/leeola/orgs","repos_url":"https://api.github.com/users/leeola/repos","events_url":"https://api.github.com/users/leeola/events{/privacy}","received_events_url":"https://api.github.com/users/leeola/received_events","type":"User","site_admin":false},"body":"Klient can \"fail to start\" even if the users internet is down, or\r\nother external issues. By health checking, we attempt to give them\r\naccurate information of possible causes for klient not starting.\r\n\r\nAlso, for debugging, we health check before even starting klient - just\r\nto have a record of if the user tried to start klient before their\r\ninternet was fully up *(mainly for debugging purposes)*.","created_at":"2016-08-22T16:33:09Z","updated_at":"2016-08-30T16:59:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"675c8414dfbc778e5eb6fa6884afae650bed632e","assignee":{"login":"rjeczalik","id":1162017,"avatar_url":"https://avatars.githubusercontent.com/u/1162017?v=3","gravatar_id":"","url":"https://api.github.com/users/rjeczalik","html_url":"https://github.com/rjeczalik","followers_url":"https://api.github.com/users/rjeczalik/followers","following_url":"https://api.github.com/users/rjeczalik/following{/other_user}","gists_url":"https://api.github.com/users/rjeczalik/gists{/gist_id}","starred_url":"https://api.github.com/users/rjeczalik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjeczalik/subscriptions","organizations_url":"https://api.github.com/users/rjeczalik/orgs","repos_url":"https://api.github.com/users/rjeczalik/repos","events_url":"https://api.github.com/users/rjeczalik/events{/privacy}","received_events_url":"https://api.github.com/users/rjeczalik/received_events","type":"User","site_admin":false},"assignees":[{"login":"rjeczalik","id":1162017,"avatar_url":"https://avatars.githubusercontent.com/u/1162017?v=3","gravatar_id":"","url":"https://api.github.com/users/rjeczalik","html_url":"https://github.com/rjeczalik","followers_url":"https://api.github.com/users/rjeczalik/followers","following_url":"https://api.github.com/users/rjeczalik/following{/other_user}","gists_url":"https://api.github.com/users/rjeczalik/gists{/gist_id}","starred_url":"https://api.github.com/users/rjeczalik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjeczalik/subscriptions","organizations_url":"https://api.github.com/users/rjeczalik/orgs","repos_url":"https://api.github.com/users/rjeczalik/repos","events_url":"https://api.github.com/users/rjeczalik/events{/privacy}","received_events_url":"https://api.github.com/users/rjeczalik/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/koding/koding/pulls/8887/commits","review_comments_url":"https://api.github.com/repos/koding/koding/pulls/8887/comments","review_comment_url":"https://api.github.com/repos/koding/koding/pulls/comments{/number}","comments_url":"https://api.github.com/repos/koding/koding/issues/8887/comments","statuses_url":"https://api.github.com/repos/koding/koding/statuses/32468c65d96f8bb054082bb4ef5be6f0000cffca","head":{"label":"koding:klientctl-start-healthcheck","ref":"klientctl-start-healthcheck","sha":"32468c65d96f8bb054082bb4ef5be6f0000cffca","user":{"login":"koding","id":1066754,"avatar_url":"https://avatars.githubusercontent.com/u/1066754?v=3","gravatar_id":"","url":"https://api.github.com/users/koding","html_url":"https://github.com/koding","followers_url":"https://api.github.com/users/koding/followers","following_url":"https://api.github.com/users/koding/following{/other_user}","gists_url":"https://api.github.com/users/koding/gists{/gist_id}","starred_url":"https://api.github.com/users/koding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koding/subscriptions","organizations_url":"https://api.github.com/users/koding/orgs","repos_url":"https://api.github.com/users/koding/repos","events_url":"https://api.github.com/users/koding/events{/privacy}","received_events_url":"https://api.github.com/users/koding/received_events","type":"Organization","site_admin":false},"repo":{"id":21317360,"name":"koding","full_name":"koding/koding","owner":{"login":"koding","id":1066754,"avatar_url":"https://avatars.githubusercontent.com/u/1066754?v=3","gravatar_id":"","url":"https://api.github.com/users/koding","html_url":"https://github.com/koding","followers_url":"https://api.github.com/users/koding/followers","following_url":"https://api.github.com/users/koding/following{/other_user}","gists_url":"https://api.github.com/users/koding/gists{/gist_id}","starred_url":"https://api.github.com/users/koding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koding/subscriptions","organizations_url":"https://api.github.com/users/koding/orgs","repos_url":"https://api.github.com/users/koding/repos","events_url":"https://api.github.com/users/koding/events{/privacy}","received_events_url":"https://api.github.com/users/koding/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/koding/koding","description":"KODING IS NOW OPEN SOURCE!","fork":false,"url":"https://api.github.com/repos/koding/koding","forks_url":"https://api.github.com/repos/koding/koding/forks","keys_url":"https://api.github.com/repos/koding/koding/keys{/key_id}","collaborators_url":"https://api.github.com/repos/koding/koding/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/koding/koding/teams","hooks_url":"https://api.github.com/repos/koding/koding/hooks","issue_events_url":"https://api.github.com/repos/koding/koding/issues/events{/number}","events_url":"https://api.github.com/repos/koding/koding/events","assignees_url":"https://api.github.com/repos/koding/koding/assignees{/user}","branches_url":"https://api.github.com/repos/koding/koding/branches{/branch}","tags_url":"https://api.github.com/repos/koding/koding/tags","blobs_url":"https://api.github.com/repos/koding/koding/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/koding/koding/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/koding/koding/git/refs{/sha}","trees_url":"https://api.github.com/repos/koding/koding/git/trees{/sha}","statuses_url":"https://api.github.com/repos/koding/koding/statuses/{sha}","languages_url":"https://api.github.com/repos/koding/koding/languages","stargazers_url":"https://api.github.com/repos/koding/koding/stargazers","contributors_url":"https://api.github.com/repos/koding/koding/contributors","subscribers_url":"https://api.github.com/repos/koding/koding/subscribers","subscription_url":"https://api.github.com/repos/koding/koding/subscription","commits_url":"https://api.github.com/repos/koding/koding/commits{/sha}","git_commits_url":"https://api.github.com/repos/koding/koding/git/commits{/sha}","comments_url":"https://api.github.com/repos/koding/koding/comments{/number}","issue_comment_url":"https://api.github.com/repos/koding/koding/issues/comments{/number}","contents_url":"https://api.github.com/repos/koding/koding/contents/{+path}","compare_url":"https://api.github.com/repos/koding/koding/compare/{base}...{head}","merges_url":"https://api.github.com/repos/koding/koding/merges","archive_url":"https://api.github.com/repos/koding/koding/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/koding/koding/downloads","issues_url":"https://api.github.com/repos/koding/koding/issues{/number}","pulls_url":"https://api.github.com/repos/koding/koding/pulls{/number}","milestones_url":"https://api.github.com/repos/koding/koding/milestones{/number}","notifications_url":"https://api.github.com/repos/koding/koding/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/koding/koding/labels{/name}","releases_url":"https://api.github.com/repos/koding/koding/releases{/id}","deployments_url":"https://api.github.com/repos/koding/koding/deployments","created_at":"2014-06-29T05:46:24Z","updated_at":"2016-08-29T21:28:01Z","pushed_at":"2016-08-30T16:59:22Z","git_url":"git://github.com/koding/koding.git","ssh_url":"git@github.com:koding/koding.git","clone_url":"https://github.com/koding/koding.git","svn_url":"https://github.com/koding/koding","homepage":"http://venturebeat.com/2016/07/26/koding-gitlab/","size":610623,"stargazers_count":389,"watchers_count":389,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":143,"forks":36,"open_issues":143,"watchers":389,"default_branch":"master"}},"base":{"label":"koding:master","ref":"master","sha":"805588e982b838fe6402c4116159bc04db0201a4","user":{"login":"koding","id":1066754,"avatar_url":"https://avatars.githubusercontent.com/u/1066754?v=3","gravatar_id":"","url":"https://api.github.com/users/koding","html_url":"https://github.com/koding","followers_url":"https://api.github.com/users/koding/followers","following_url":"https://api.github.com/users/koding/following{/other_user}","gists_url":"https://api.github.com/users/koding/gists{/gist_id}","starred_url":"https://api.github.com/users/koding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koding/subscriptions","organizations_url":"https://api.github.com/users/koding/orgs","repos_url":"https://api.github.com/users/koding/repos","events_url":"https://api.github.com/users/koding/events{/privacy}","received_events_url":"https://api.github.com/users/koding/received_events","type":"Organization","site_admin":false},"repo":{"id":21317360,"name":"koding","full_name":"koding/koding","owner":{"login":"koding","id":1066754,"avatar_url":"https://avatars.githubusercontent.com/u/1066754?v=3","gravatar_id":"","url":"https://api.github.com/users/koding","html_url":"https://github.com/koding","followers_url":"https://api.github.com/users/koding/followers","following_url":"https://api.github.com/users/koding/following{/other_user}","gists_url":"https://api.github.com/users/koding/gists{/gist_id}","starred_url":"https://api.github.com/users/koding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koding/subscriptions","organizations_url":"https://api.github.com/users/koding/orgs","repos_url":"https://api.github.com/users/koding/repos","events_url":"https://api.github.com/users/koding/events{/privacy}","received_events_url":"https://api.github.com/users/koding/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/koding/koding","description":"KODING IS NOW OPEN SOURCE!","fork":false,"url":"https://api.github.com/repos/koding/koding","forks_url":"https://api.github.com/repos/koding/koding/forks","keys_url":"https://api.github.com/repos/koding/koding/keys{/key_id}","collaborators_url":"https://api.github.com/repos/koding/koding/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/koding/koding/teams","hooks_url":"https://api.github.com/repos/koding/koding/hooks","issue_events_url":"https://api.github.com/repos/koding/koding/issues/events{/number}","events_url":"https://api.github.com/repos/koding/koding/events","assignees_url":"https://api.github.com/repos/koding/koding/assignees{/user}","branches_url":"https://api.github.com/repos/koding/koding/branches{/branch}","tags_url":"https://api.github.com/repos/koding/koding/tags","blobs_url":"https://api.github.com/repos/koding/koding/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/koding/koding/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/koding/koding/git/refs{/sha}","trees_url":"https://api.github.com/repos/koding/koding/git/trees{/sha}","statuses_url":"https://api.github.com/repos/koding/koding/statuses/{sha}","languages_url":"https://api.github.com/repos/koding/koding/languages","stargazers_url":"https://api.github.com/repos/koding/koding/stargazers","contributors_url":"https://api.github.com/repos/koding/koding/contributors","subscribers_url":"https://api.github.com/repos/koding/koding/subscribers","subscription_url":"https://api.github.com/repos/koding/koding/subscription","commits_url":"https://api.github.com/repos/koding/koding/commits{/sha}","git_commits_url":"https://api.github.com/repos/koding/koding/git/commits{/sha}","comments_url":"https://api.github.com/repos/koding/koding/comments{/number}","issue_comment_url":"https://api.github.com/repos/koding/koding/issues/comments{/number}","contents_url":"https://api.github.com/repos/koding/koding/contents/{+path}","compare_url":"https://api.github.com/repos/koding/koding/compare/{base}...{head}","merges_url":"https://api.github.com/repos/koding/koding/merges","archive_url":"https://api.github.com/repos/koding/koding/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/koding/koding/downloads","issues_url":"https://api.github.com/repos/koding/koding/issues{/number}","pulls_url":"https://api.github.com/repos/koding/koding/pulls{/number}","milestones_url":"https://api.github.com/repos/koding/koding/milestones{/number}","notifications_url":"https://api.github.com/repos/koding/koding/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/koding/koding/labels{/name}","releases_url":"https://api.github.com/repos/koding/koding/releases{/id}","deployments_url":"https://api.github.com/repos/koding/koding/deployments","created_at":"2014-06-29T05:46:24Z","updated_at":"2016-08-29T21:28:01Z","pushed_at":"2016-08-30T16:59:22Z","git_url":"git://github.com/koding/koding.git","ssh_url":"git@github.com:koding/koding.git","clone_url":"https://github.com/koding/koding.git","svn_url":"https://github.com/koding/koding","homepage":"http://venturebeat.com/2016/07/26/koding-gitlab/","size":610623,"stargazers_count":389,"watchers_count":389,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":143,"forks":36,"open_issues":143,"watchers":389,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/koding/koding/pulls/8887"},"html":{"href":"https://github.com/koding/koding/pull/8887"},"issue":{"href":"https://api.github.com/repos/koding/koding/issues/8887"},"comments":{"href":"https://api.github.com/repos/koding/koding/issues/8887/comments"},"review_comments":{"href":"https://api.github.com/repos/koding/koding/pulls/8887/comments"},"review_comment":{"href":"https://api.github.com/repos/koding/koding/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/koding/koding/pulls/8887/commits"},"statuses":{"href":"https://api.github.com/repos/koding/koding/statuses/32468c65d96f8bb054082bb4ef5be6f0000cffca"}}}}
{"actor":{"display_login":"leeola"}}