{"action":"created","comment":{"url":"https://api.github.com/repos/asteris-llc/converge/pulls/comments/84907066","pull_request_review_id":5653606,"id":84907066,"diff_hunk":"@@ -0,0 +1,242 @@\n+#!/bin/sh\n+\n+# Copyright © 2016 Asteris, LLC\n+# \n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n+# You may obtain a copy of the License at\n+# \n+#      http://www.apache.org/licenses/LICENSE-2.0\n+# \n+# Unless required by applicable law or agreed to in writing, software\n+# distributed under the License is distributed on an \"AS IS\" BASIS,\n+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+# See the License for the specific language governing permissions and\n+# limitations under the License.\n+\n+# This script downloads converge to a system.\n+# If possible, the Operating System and processor\n+# type will be detected.\n+\n+# install-converge.h [-v <version>]\n+# -d            Directory for converge binary (default /usr/local/bin/)\n+# -v            Converge version to install\n+\n+set -e\n+\n+# Default to latest stable\n+version=\"0.3.0-beta2\"\n+\n+install_dir=\"/usr/local/bin\"\n+\n+base_url=\"https://github.com/asteris-llc/converge/releases/download\"\n+\n+machine=$(uname -m)\n+os=$(uname -s)\n+\n+# Get a temporary directory\n+if [ -z \"$TMPDIR\" ]; then\n+\ttmp=\"/tmp\"\n+else\n+\ttmp=\"$TMPDIR\"\n+fi\n+tmp_dir=\"${tmp}/install-converge.sh.$$\"\n+(umask 077 && mkdir \"${tmp_dir}\") || exit 1\n+\n+\n+usage () {\n+\techo \"Usage: install-converge.h [-v <version>]\"","path":"install-converge.sh","position":48,"original_position":48,"commit_id":"bd492fcf43249064c6f077bc64a1c19e3d202389","original_commit_id":"bd492fcf43249064c6f077bc64a1c19e3d202389","user":{"login":"ryane","id":7346,"avatar_url":"https://avatars.githubusercontent.com/u/7346?v=3","gravatar_id":"","url":"https://api.github.com/users/ryane","html_url":"https://github.com/ryane","followers_url":"https://api.github.com/users/ryane/followers","following_url":"https://api.github.com/users/ryane/following{/other_user}","gists_url":"https://api.github.com/users/ryane/gists{/gist_id}","starred_url":"https://api.github.com/users/ryane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryane/subscriptions","organizations_url":"https://api.github.com/users/ryane/orgs","repos_url":"https://api.github.com/users/ryane/repos","events_url":"https://api.github.com/users/ryane/events{/privacy}","received_events_url":"https://api.github.com/users/ryane/received_events","type":"User","site_admin":false},"body":".sh","created_at":"2016-10-25T13:52:05Z","updated_at":"2016-10-25T13:58:09Z","html_url":"https://github.com/asteris-llc/converge/pull/416#discussion_r84907066","pull_request_url":"https://api.github.com/repos/asteris-llc/converge/pulls/416","_links":{"self":{"href":"https://api.github.com/repos/asteris-llc/converge/pulls/comments/84907066"},"html":{"href":"https://github.com/asteris-llc/converge/pull/416#discussion_r84907066"},"pull_request":{"href":"https://api.github.com/repos/asteris-llc/converge/pulls/416"}}},"pull_request":{"url":"https://api.github.com/repos/asteris-llc/converge/pulls/416","id":90690303,"html_url":"https://github.com/asteris-llc/converge/pull/416","diff_url":"https://github.com/asteris-llc/converge/pull/416.diff","patch_url":"https://github.com/asteris-llc/converge/pull/416.patch","issue_url":"https://api.github.com/repos/asteris-llc/converge/issues/416","number":416,"state":"open","locked":false,"title":"add installation script","user":{"login":"stevendborrelli","id":414702,"avatar_url":"https://avatars.githubusercontent.com/u/414702?v=3","gravatar_id":"","url":"https://api.github.com/users/stevendborrelli","html_url":"https://github.com/stevendborrelli","followers_url":"https://api.github.com/users/stevendborrelli/followers","following_url":"https://api.github.com/users/stevendborrelli/following{/other_user}","gists_url":"https://api.github.com/users/stevendborrelli/gists{/gist_id}","starred_url":"https://api.github.com/users/stevendborrelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevendborrelli/subscriptions","organizations_url":"https://api.github.com/users/stevendborrelli/orgs","repos_url":"https://api.github.com/users/stevendborrelli/repos","events_url":"https://api.github.com/users/stevendborrelli/events{/privacy}","received_events_url":"https://api.github.com/users/stevendborrelli/received_events","type":"User","site_admin":false},"body":"Add installation script. \r\n\r\nScript determines OS and cpu type to download the correct release. ","created_at":"2016-10-24T20:51:42Z","updated_at":"2016-10-25T13:58:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"41cad774d20182d6790f4442bddacf260b5e3bd3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/asteris-llc/converge/pulls/416/commits","review_comments_url":"https://api.github.com/repos/asteris-llc/converge/pulls/416/comments","review_comment_url":"https://api.github.com/repos/asteris-llc/converge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/asteris-llc/converge/issues/416/comments","statuses_url":"https://api.github.com/repos/asteris-llc/converge/statuses/bd492fcf43249064c6f077bc64a1c19e3d202389","head":{"label":"asteris-llc:feature/install-script","ref":"feature/install-script","sha":"bd492fcf43249064c6f077bc64a1c19e3d202389","user":{"login":"asteris-llc","id":6193478,"avatar_url":"https://avatars.githubusercontent.com/u/6193478?v=3","gravatar_id":"","url":"https://api.github.com/users/asteris-llc","html_url":"https://github.com/asteris-llc","followers_url":"https://api.github.com/users/asteris-llc/followers","following_url":"https://api.github.com/users/asteris-llc/following{/other_user}","gists_url":"https://api.github.com/users/asteris-llc/gists{/gist_id}","starred_url":"https://api.github.com/users/asteris-llc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asteris-llc/subscriptions","organizations_url":"https://api.github.com/users/asteris-llc/orgs","repos_url":"https://api.github.com/users/asteris-llc/repos","events_url":"https://api.github.com/users/asteris-llc/events{/privacy}","received_events_url":"https://api.github.com/users/asteris-llc/received_events","type":"Organization","site_admin":false},"repo":{"id":59234611,"name":"converge","full_name":"asteris-llc/converge","owner":{"login":"asteris-llc","id":6193478,"avatar_url":"https://avatars.githubusercontent.com/u/6193478?v=3","gravatar_id":"","url":"https://api.github.com/users/asteris-llc","html_url":"https://github.com/asteris-llc","followers_url":"https://api.github.com/users/asteris-llc/followers","following_url":"https://api.github.com/users/asteris-llc/following{/other_user}","gists_url":"https://api.github.com/users/asteris-llc/gists{/gist_id}","starred_url":"https://api.github.com/users/asteris-llc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asteris-llc/subscriptions","organizations_url":"https://api.github.com/users/asteris-llc/orgs","repos_url":"https://api.github.com/users/asteris-llc/repos","events_url":"https://api.github.com/users/asteris-llc/events{/privacy}","received_events_url":"https://api.github.com/users/asteris-llc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/asteris-llc/converge","description":"An easy and powerful configuration management system.","fork":false,"url":"https://api.github.com/repos/asteris-llc/converge","forks_url":"https://api.github.com/repos/asteris-llc/converge/forks","keys_url":"https://api.github.com/repos/asteris-llc/converge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asteris-llc/converge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asteris-llc/converge/teams","hooks_url":"https://api.github.com/repos/asteris-llc/converge/hooks","issue_events_url":"https://api.github.com/repos/asteris-llc/converge/issues/events{/number}","events_url":"https://api.github.com/repos/asteris-llc/converge/events","assignees_url":"https://api.github.com/repos/asteris-llc/converge/assignees{/user}","branches_url":"https://api.github.com/repos/asteris-llc/converge/branches{/branch}","tags_url":"https://api.github.com/repos/asteris-llc/converge/tags","blobs_url":"https://api.github.com/repos/asteris-llc/converge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asteris-llc/converge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asteris-llc/converge/git/refs{/sha}","trees_url":"https://api.github.com/repos/asteris-llc/converge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asteris-llc/converge/statuses/{sha}","languages_url":"https://api.github.com/repos/asteris-llc/converge/languages","stargazers_url":"https://api.github.com/repos/asteris-llc/converge/stargazers","contributors_url":"https://api.github.com/repos/asteris-llc/converge/contributors","subscribers_url":"https://api.github.com/repos/asteris-llc/converge/subscribers","subscription_url":"https://api.github.com/repos/asteris-llc/converge/subscription","commits_url":"https://api.github.com/repos/asteris-llc/converge/commits{/sha}","git_commits_url":"https://api.github.com/repos/asteris-llc/converge/git/commits{/sha}","comments_url":"https://api.github.com/repos/asteris-llc/converge/comments{/number}","issue_comment_url":"https://api.github.com/repos/asteris-llc/converge/issues/comments{/number}","contents_url":"https://api.github.com/repos/asteris-llc/converge/contents/{+path}","compare_url":"https://api.github.com/repos/asteris-llc/converge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asteris-llc/converge/merges","archive_url":"https://api.github.com/repos/asteris-llc/converge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asteris-llc/converge/downloads","issues_url":"https://api.github.com/repos/asteris-llc/converge/issues{/number}","pulls_url":"https://api.github.com/repos/asteris-llc/converge/pulls{/number}","milestones_url":"https://api.github.com/repos/asteris-llc/converge/milestones{/number}","notifications_url":"https://api.github.com/repos/asteris-llc/converge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asteris-llc/converge/labels{/name}","releases_url":"https://api.github.com/repos/asteris-llc/converge/releases{/id}","deployments_url":"https://api.github.com/repos/asteris-llc/converge/deployments","created_at":"2016-05-19T19:11:26Z","updated_at":"2016-10-22T23:22:48Z","pushed_at":"2016-10-25T10:50:35Z","git_url":"git://github.com/asteris-llc/converge.git","ssh_url":"git@github.com:asteris-llc/converge.git","clone_url":"https://github.com/asteris-llc/converge.git","svn_url":"https://github.com/asteris-llc/converge","homepage":"converge.aster.is","size":40710,"stargazers_count":12,"watchers_count":12,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"open_issues_count":69,"forks":5,"open_issues":69,"watchers":12,"default_branch":"master"}},"base":{"label":"asteris-llc:master","ref":"master","sha":"e51a64727c250b7ae08661bc495dbde20b861e00","user":{"login":"asteris-llc","id":6193478,"avatar_url":"https://avatars.githubusercontent.com/u/6193478?v=3","gravatar_id":"","url":"https://api.github.com/users/asteris-llc","html_url":"https://github.com/asteris-llc","followers_url":"https://api.github.com/users/asteris-llc/followers","following_url":"https://api.github.com/users/asteris-llc/following{/other_user}","gists_url":"https://api.github.com/users/asteris-llc/gists{/gist_id}","starred_url":"https://api.github.com/users/asteris-llc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asteris-llc/subscriptions","organizations_url":"https://api.github.com/users/asteris-llc/orgs","repos_url":"https://api.github.com/users/asteris-llc/repos","events_url":"https://api.github.com/users/asteris-llc/events{/privacy}","received_events_url":"https://api.github.com/users/asteris-llc/received_events","type":"Organization","site_admin":false},"repo":{"id":59234611,"name":"converge","full_name":"asteris-llc/converge","owner":{"login":"asteris-llc","id":6193478,"avatar_url":"https://avatars.githubusercontent.com/u/6193478?v=3","gravatar_id":"","url":"https://api.github.com/users/asteris-llc","html_url":"https://github.com/asteris-llc","followers_url":"https://api.github.com/users/asteris-llc/followers","following_url":"https://api.github.com/users/asteris-llc/following{/other_user}","gists_url":"https://api.github.com/users/asteris-llc/gists{/gist_id}","starred_url":"https://api.github.com/users/asteris-llc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asteris-llc/subscriptions","organizations_url":"https://api.github.com/users/asteris-llc/orgs","repos_url":"https://api.github.com/users/asteris-llc/repos","events_url":"https://api.github.com/users/asteris-llc/events{/privacy}","received_events_url":"https://api.github.com/users/asteris-llc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/asteris-llc/converge","description":"An easy and powerful configuration management system.","fork":false,"url":"https://api.github.com/repos/asteris-llc/converge","forks_url":"https://api.github.com/repos/asteris-llc/converge/forks","keys_url":"https://api.github.com/repos/asteris-llc/converge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asteris-llc/converge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asteris-llc/converge/teams","hooks_url":"https://api.github.com/repos/asteris-llc/converge/hooks","issue_events_url":"https://api.github.com/repos/asteris-llc/converge/issues/events{/number}","events_url":"https://api.github.com/repos/asteris-llc/converge/events","assignees_url":"https://api.github.com/repos/asteris-llc/converge/assignees{/user}","branches_url":"https://api.github.com/repos/asteris-llc/converge/branches{/branch}","tags_url":"https://api.github.com/repos/asteris-llc/converge/tags","blobs_url":"https://api.github.com/repos/asteris-llc/converge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asteris-llc/converge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asteris-llc/converge/git/refs{/sha}","trees_url":"https://api.github.com/repos/asteris-llc/converge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asteris-llc/converge/statuses/{sha}","languages_url":"https://api.github.com/repos/asteris-llc/converge/languages","stargazers_url":"https://api.github.com/repos/asteris-llc/converge/stargazers","contributors_url":"https://api.github.com/repos/asteris-llc/converge/contributors","subscribers_url":"https://api.github.com/repos/asteris-llc/converge/subscribers","subscription_url":"https://api.github.com/repos/asteris-llc/converge/subscription","commits_url":"https://api.github.com/repos/asteris-llc/converge/commits{/sha}","git_commits_url":"https://api.github.com/repos/asteris-llc/converge/git/commits{/sha}","comments_url":"https://api.github.com/repos/asteris-llc/converge/comments{/number}","issue_comment_url":"https://api.github.com/repos/asteris-llc/converge/issues/comments{/number}","contents_url":"https://api.github.com/repos/asteris-llc/converge/contents/{+path}","compare_url":"https://api.github.com/repos/asteris-llc/converge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asteris-llc/converge/merges","archive_url":"https://api.github.com/repos/asteris-llc/converge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asteris-llc/converge/downloads","issues_url":"https://api.github.com/repos/asteris-llc/converge/issues{/number}","pulls_url":"https://api.github.com/repos/asteris-llc/converge/pulls{/number}","milestones_url":"https://api.github.com/repos/asteris-llc/converge/milestones{/number}","notifications_url":"https://api.github.com/repos/asteris-llc/converge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asteris-llc/converge/labels{/name}","releases_url":"https://api.github.com/repos/asteris-llc/converge/releases{/id}","deployments_url":"https://api.github.com/repos/asteris-llc/converge/deployments","created_at":"2016-05-19T19:11:26Z","updated_at":"2016-10-22T23:22:48Z","pushed_at":"2016-10-25T10:50:35Z","git_url":"git://github.com/asteris-llc/converge.git","ssh_url":"git@github.com:asteris-llc/converge.git","clone_url":"https://github.com/asteris-llc/converge.git","svn_url":"https://github.com/asteris-llc/converge","homepage":"converge.aster.is","size":40710,"stargazers_count":12,"watchers_count":12,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"open_issues_count":69,"forks":5,"open_issues":69,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/asteris-llc/converge/pulls/416"},"html":{"href":"https://github.com/asteris-llc/converge/pull/416"},"issue":{"href":"https://api.github.com/repos/asteris-llc/converge/issues/416"},"comments":{"href":"https://api.github.com/repos/asteris-llc/converge/issues/416/comments"},"review_comments":{"href":"https://api.github.com/repos/asteris-llc/converge/pulls/416/comments"},"review_comment":{"href":"https://api.github.com/repos/asteris-llc/converge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/asteris-llc/converge/pulls/416/commits"},"statuses":{"href":"https://api.github.com/repos/asteris-llc/converge/statuses/bd492fcf43249064c6f077bc64a1c19e3d202389"}}}}
{"actor":{"display_login":"ryane"}}