{"action":"created","comment":{"url":"https://api.github.com/repos/tgross/triton-touchbase/pulls/comments/55030320","id":55030320,"diff_hunk":"@@ -18,15 +18,101 @@ usage() {\n     echo 'that command, for testing purposes.'\n }\n \n+tritonConfigured() {\n+\n+    # is node-triton installed?\n+    local triton_installed=0\n+    command -v triton >/dev/null 2>&1 && triton_installed=1\n+    if [ \"0\" = \"$triton_installed\" ]; then","path":"start.sh","position":9,"original_position":9,"commit_id":"9242421dab6d553d7a17456ae135ead4adbebf9a","original_commit_id":"9242421dab6d553d7a17456ae135ead4adbebf9a","user":{"login":"tgross","id":1409219,"avatar_url":"https://avatars.githubusercontent.com/u/1409219?v=3","gravatar_id":"","url":"https://api.github.com/users/tgross","html_url":"https://github.com/tgross","followers_url":"https://api.github.com/users/tgross/followers","following_url":"https://api.github.com/users/tgross/following{/other_user}","gists_url":"https://api.github.com/users/tgross/gists{/gist_id}","starred_url":"https://api.github.com/users/tgross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgross/subscriptions","organizations_url":"https://api.github.com/users/tgross/orgs","repos_url":"https://api.github.com/users/tgross/repos","events_url":"https://api.github.com/users/tgross/events{/privacy}","received_events_url":"https://api.github.com/users/tgross/received_events","type":"User","site_admin":false},"body":"This may be a bit of \"bash golf\" on my part, but you could do\r\n\r\n```bash\r\nwhich triton > /dev/null\r\nif [ $? -ne 0 ]; then\r\n    echo \"hey no triton!\"\r\nfi\r\n```","created_at":"2016-03-04T13:40:47Z","updated_at":"2016-03-04T13:40:47Z","html_url":"https://github.com/tgross/triton-touchbase/pull/16#discussion_r55030320","pull_request_url":"https://api.github.com/repos/tgross/triton-touchbase/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/tgross/triton-touchbase/pulls/comments/55030320"},"html":{"href":"https://github.com/tgross/triton-touchbase/pull/16#discussion_r55030320"},"pull_request":{"href":"https://api.github.com/repos/tgross/triton-touchbase/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/tgross/triton-touchbase/pulls/16","id":61618594,"html_url":"https://github.com/tgross/triton-touchbase/pull/16","diff_url":"https://github.com/tgross/triton-touchbase/pull/16.diff","patch_url":"https://github.com/tgross/triton-touchbase/pull/16.patch","issue_url":"https://api.github.com/repos/tgross/triton-touchbase/issues/16","number":16,"state":"open","locked":false,"title":"CNS-related changes","user":{"login":"misterbisson","id":1709697,"avatar_url":"https://avatars.githubusercontent.com/u/1709697?v=3","gravatar_id":"","url":"https://api.github.com/users/misterbisson","html_url":"https://github.com/misterbisson","followers_url":"https://api.github.com/users/misterbisson/followers","following_url":"https://api.github.com/users/misterbisson/following{/other_user}","gists_url":"https://api.github.com/users/misterbisson/gists{/gist_id}","starred_url":"https://api.github.com/users/misterbisson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misterbisson/subscriptions","organizations_url":"https://api.github.com/users/misterbisson/orgs","repos_url":"https://api.github.com/users/misterbisson/repos","events_url":"https://api.github.com/users/misterbisson/events{/privacy}","received_events_url":"https://api.github.com/users/misterbisson/received_events","type":"User","site_admin":false},"body":"# DO NOT MERGE","created_at":"2016-03-03T20:19:11Z","updated_at":"2016-03-04T13:40:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5edf0f7954bf7312b158ecb965e40a3ff57b9562","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tgross/triton-touchbase/pulls/16/commits","review_comments_url":"https://api.github.com/repos/tgross/triton-touchbase/pulls/16/comments","review_comment_url":"https://api.github.com/repos/tgross/triton-touchbase/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tgross/triton-touchbase/issues/16/comments","statuses_url":"https://api.github.com/repos/tgross/triton-touchbase/statuses/9242421dab6d553d7a17456ae135ead4adbebf9a","head":{"label":"misterbisson:cns","ref":"cns","sha":"9242421dab6d553d7a17456ae135ead4adbebf9a","user":{"login":"misterbisson","id":1709697,"avatar_url":"https://avatars.githubusercontent.com/u/1709697?v=3","gravatar_id":"","url":"https://api.github.com/users/misterbisson","html_url":"https://github.com/misterbisson","followers_url":"https://api.github.com/users/misterbisson/followers","following_url":"https://api.github.com/users/misterbisson/following{/other_user}","gists_url":"https://api.github.com/users/misterbisson/gists{/gist_id}","starred_url":"https://api.github.com/users/misterbisson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misterbisson/subscriptions","organizations_url":"https://api.github.com/users/misterbisson/orgs","repos_url":"https://api.github.com/users/misterbisson/repos","events_url":"https://api.github.com/users/misterbisson/events{/privacy}","received_events_url":"https://api.github.com/users/misterbisson/received_events","type":"User","site_admin":false},"repo":{"id":52169415,"name":"triton-touchbase","full_name":"misterbisson/triton-touchbase","owner":{"login":"misterbisson","id":1709697,"avatar_url":"https://avatars.githubusercontent.com/u/1709697?v=3","gravatar_id":"","url":"https://api.github.com/users/misterbisson","html_url":"https://github.com/misterbisson","followers_url":"https://api.github.com/users/misterbisson/followers","following_url":"https://api.github.com/users/misterbisson/following{/other_user}","gists_url":"https://api.github.com/users/misterbisson/gists{/gist_id}","starred_url":"https://api.github.com/users/misterbisson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misterbisson/subscriptions","organizations_url":"https://api.github.com/users/misterbisson/orgs","repos_url":"https://api.github.com/users/misterbisson/repos","events_url":"https://api.github.com/users/misterbisson/events{/privacy}","received_events_url":"https://api.github.com/users/misterbisson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/misterbisson/triton-touchbase","description":"Touchbase stack designed for container-native deployment on Joyent's Triton platform","fork":true,"url":"https://api.github.com/repos/misterbisson/triton-touchbase","forks_url":"https://api.github.com/repos/misterbisson/triton-touchbase/forks","keys_url":"https://api.github.com/repos/misterbisson/triton-touchbase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/misterbisson/triton-touchbase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/misterbisson/triton-touchbase/teams","hooks_url":"https://api.github.com/repos/misterbisson/triton-touchbase/hooks","issue_events_url":"https://api.github.com/repos/misterbisson/triton-touchbase/issues/events{/number}","events_url":"https://api.github.com/repos/misterbisson/triton-touchbase/events","assignees_url":"https://api.github.com/repos/misterbisson/triton-touchbase/assignees{/user}","branches_url":"https://api.github.com/repos/misterbisson/triton-touchbase/branches{/branch}","tags_url":"https://api.github.com/repos/misterbisson/triton-touchbase/tags","blobs_url":"https://api.github.com/repos/misterbisson/triton-touchbase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/misterbisson/triton-touchbase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/misterbisson/triton-touchbase/git/refs{/sha}","trees_url":"https://api.github.com/repos/misterbisson/triton-touchbase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/misterbisson/triton-touchbase/statuses/{sha}","languages_url":"https://api.github.com/repos/misterbisson/triton-touchbase/languages","stargazers_url":"https://api.github.com/repos/misterbisson/triton-touchbase/stargazers","contributors_url":"https://api.github.com/repos/misterbisson/triton-touchbase/contributors","subscribers_url":"https://api.github.com/repos/misterbisson/triton-touchbase/subscribers","subscription_url":"https://api.github.com/repos/misterbisson/triton-touchbase/subscription","commits_url":"https://api.github.com/repos/misterbisson/triton-touchbase/commits{/sha}","git_commits_url":"https://api.github.com/repos/misterbisson/triton-touchbase/git/commits{/sha}","comments_url":"https://api.github.com/repos/misterbisson/triton-touchbase/comments{/number}","issue_comment_url":"https://api.github.com/repos/misterbisson/triton-touchbase/issues/comments{/number}","contents_url":"https://api.github.com/repos/misterbisson/triton-touchbase/contents/{+path}","compare_url":"https://api.github.com/repos/misterbisson/triton-touchbase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/misterbisson/triton-touchbase/merges","archive_url":"https://api.github.com/repos/misterbisson/triton-touchbase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/misterbisson/triton-touchbase/downloads","issues_url":"https://api.github.com/repos/misterbisson/triton-touchbase/issues{/number}","pulls_url":"https://api.github.com/repos/misterbisson/triton-touchbase/pulls{/number}","milestones_url":"https://api.github.com/repos/misterbisson/triton-touchbase/milestones{/number}","notifications_url":"https://api.github.com/repos/misterbisson/triton-touchbase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/misterbisson/triton-touchbase/labels{/name}","releases_url":"https://api.github.com/repos/misterbisson/triton-touchbase/releases{/id}","deployments_url":"https://api.github.com/repos/misterbisson/triton-touchbase/deployments","created_at":"2016-02-20T18:46:52Z","updated_at":"2016-02-20T18:46:52Z","pushed_at":"2016-03-04T05:42:50Z","git_url":"git://github.com/misterbisson/triton-touchbase.git","ssh_url":"git@github.com:misterbisson/triton-touchbase.git","clone_url":"https://github.com/misterbisson/triton-touchbase.git","svn_url":"https://github.com/misterbisson/triton-touchbase","homepage":null,"size":2789,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"tgross:master","ref":"master","sha":"f787bafb3e56cb983422086f84e92653d504fdc3","user":{"login":"tgross","id":1409219,"avatar_url":"https://avatars.githubusercontent.com/u/1409219?v=3","gravatar_id":"","url":"https://api.github.com/users/tgross","html_url":"https://github.com/tgross","followers_url":"https://api.github.com/users/tgross/followers","following_url":"https://api.github.com/users/tgross/following{/other_user}","gists_url":"https://api.github.com/users/tgross/gists{/gist_id}","starred_url":"https://api.github.com/users/tgross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgross/subscriptions","organizations_url":"https://api.github.com/users/tgross/orgs","repos_url":"https://api.github.com/users/tgross/repos","events_url":"https://api.github.com/users/tgross/events{/privacy}","received_events_url":"https://api.github.com/users/tgross/received_events","type":"User","site_admin":false},"repo":{"id":44134461,"name":"triton-touchbase","full_name":"tgross/triton-touchbase","owner":{"login":"tgross","id":1409219,"avatar_url":"https://avatars.githubusercontent.com/u/1409219?v=3","gravatar_id":"","url":"https://api.github.com/users/tgross","html_url":"https://github.com/tgross","followers_url":"https://api.github.com/users/tgross/followers","following_url":"https://api.github.com/users/tgross/following{/other_user}","gists_url":"https://api.github.com/users/tgross/gists{/gist_id}","starred_url":"https://api.github.com/users/tgross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgross/subscriptions","organizations_url":"https://api.github.com/users/tgross/orgs","repos_url":"https://api.github.com/users/tgross/repos","events_url":"https://api.github.com/users/tgross/events{/privacy}","received_events_url":"https://api.github.com/users/tgross/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tgross/triton-touchbase","description":"Touchbase stack designed for container-native deployment on Joyent's Triton platform","fork":false,"url":"https://api.github.com/repos/tgross/triton-touchbase","forks_url":"https://api.github.com/repos/tgross/triton-touchbase/forks","keys_url":"https://api.github.com/repos/tgross/triton-touchbase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tgross/triton-touchbase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tgross/triton-touchbase/teams","hooks_url":"https://api.github.com/repos/tgross/triton-touchbase/hooks","issue_events_url":"https://api.github.com/repos/tgross/triton-touchbase/issues/events{/number}","events_url":"https://api.github.com/repos/tgross/triton-touchbase/events","assignees_url":"https://api.github.com/repos/tgross/triton-touchbase/assignees{/user}","branches_url":"https://api.github.com/repos/tgross/triton-touchbase/branches{/branch}","tags_url":"https://api.github.com/repos/tgross/triton-touchbase/tags","blobs_url":"https://api.github.com/repos/tgross/triton-touchbase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tgross/triton-touchbase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tgross/triton-touchbase/git/refs{/sha}","trees_url":"https://api.github.com/repos/tgross/triton-touchbase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tgross/triton-touchbase/statuses/{sha}","languages_url":"https://api.github.com/repos/tgross/triton-touchbase/languages","stargazers_url":"https://api.github.com/repos/tgross/triton-touchbase/stargazers","contributors_url":"https://api.github.com/repos/tgross/triton-touchbase/contributors","subscribers_url":"https://api.github.com/repos/tgross/triton-touchbase/subscribers","subscription_url":"https://api.github.com/repos/tgross/triton-touchbase/subscription","commits_url":"https://api.github.com/repos/tgross/triton-touchbase/commits{/sha}","git_commits_url":"https://api.github.com/repos/tgross/triton-touchbase/git/commits{/sha}","comments_url":"https://api.github.com/repos/tgross/triton-touchbase/comments{/number}","issue_comment_url":"https://api.github.com/repos/tgross/triton-touchbase/issues/comments{/number}","contents_url":"https://api.github.com/repos/tgross/triton-touchbase/contents/{+path}","compare_url":"https://api.github.com/repos/tgross/triton-touchbase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tgross/triton-touchbase/merges","archive_url":"https://api.github.com/repos/tgross/triton-touchbase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tgross/triton-touchbase/downloads","issues_url":"https://api.github.com/repos/tgross/triton-touchbase/issues{/number}","pulls_url":"https://api.github.com/repos/tgross/triton-touchbase/pulls{/number}","milestones_url":"https://api.github.com/repos/tgross/triton-touchbase/milestones{/number}","notifications_url":"https://api.github.com/repos/tgross/triton-touchbase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tgross/triton-touchbase/labels{/name}","releases_url":"https://api.github.com/repos/tgross/triton-touchbase/releases{/id}","deployments_url":"https://api.github.com/repos/tgross/triton-touchbase/deployments","created_at":"2015-10-12T21:11:55Z","updated_at":"2016-03-04T08:25:35Z","pushed_at":"2016-03-04T05:42:51Z","git_url":"git://github.com/tgross/triton-touchbase.git","ssh_url":"git@github.com:tgross/triton-touchbase.git","clone_url":"https://github.com/tgross/triton-touchbase.git","svn_url":"https://github.com/tgross/triton-touchbase","homepage":null,"size":164,"stargazers_count":45,"watchers_count":45,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":4,"forks":13,"open_issues":4,"watchers":45,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tgross/triton-touchbase/pulls/16"},"html":{"href":"https://github.com/tgross/triton-touchbase/pull/16"},"issue":{"href":"https://api.github.com/repos/tgross/triton-touchbase/issues/16"},"comments":{"href":"https://api.github.com/repos/tgross/triton-touchbase/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/tgross/triton-touchbase/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/tgross/triton-touchbase/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tgross/triton-touchbase/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/tgross/triton-touchbase/statuses/9242421dab6d553d7a17456ae135ead4adbebf9a"}}}}