{"action":"created","comment":{"url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/pulls/comments/58276431","id":58276431,"diff_hunk":"@@ -0,0 +1,23 @@\n+#!/bin/bash -e\n+function createFile {\n+  if [ ! -e $1 ]\n+  then\n+    touch $1\n+    cat $2 >> $1\n+    chmod +xr $1\n+  fi\n+}\n+\n+# Add gitSpy/* to .gitignore if it doesn't exist\n+if g! grep \"gitSpy/*\" .gitignore","path":"DEV-gitSpy/gitSpyInit","position":12,"original_position":12,"commit_id":"6f649bf6d5738d4c351334cbd034eb004bf4dc35","original_commit_id":"6f649bf6d5738d4c351334cbd034eb004bf4dc35","user":{"login":"yaliceme","id":2690580,"avatar_url":"https://avatars.githubusercontent.com/u/2690580?v=3","gravatar_id":"","url":"https://api.github.com/users/yaliceme","html_url":"https://github.com/yaliceme","followers_url":"https://api.github.com/users/yaliceme/followers","following_url":"https://api.github.com/users/yaliceme/following{/other_user}","gists_url":"https://api.github.com/users/yaliceme/gists{/gist_id}","starred_url":"https://api.github.com/users/yaliceme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaliceme/subscriptions","organizations_url":"https://api.github.com/users/yaliceme/orgs","repos_url":"https://api.github.com/users/yaliceme/repos","events_url":"https://api.github.com/users/yaliceme/events{/privacy}","received_events_url":"https://api.github.com/users/yaliceme/received_events","type":"User","site_admin":false},"body":"Remove the g here","created_at":"2016-04-01T22:27:22Z","updated_at":"2016-04-01T22:27:22Z","html_url":"https://github.com/AudibleBoulders/AudibleBoulders/pull/162#discussion_r58276431","pull_request_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/pulls/162","_links":{"self":{"href":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/pulls/comments/58276431"},"html":{"href":"https://github.com/AudibleBoulders/AudibleBoulders/pull/162#discussion_r58276431"},"pull_request":{"href":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/pulls/162"}}},"pull_request":{"url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/pulls/162","id":65009264,"html_url":"https://github.com/AudibleBoulders/AudibleBoulders/pull/162","diff_url":"https://github.com/AudibleBoulders/AudibleBoulders/pull/162.diff","patch_url":"https://github.com/AudibleBoulders/AudibleBoulders/pull/162.patch","issue_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/issues/162","number":162,"state":"open","locked":false,"title":"Change gitSpyInit node script to bash script","user":{"login":"Rhombus33","id":13993781,"avatar_url":"https://avatars.githubusercontent.com/u/13993781?v=3","gravatar_id":"","url":"https://api.github.com/users/Rhombus33","html_url":"https://github.com/Rhombus33","followers_url":"https://api.github.com/users/Rhombus33/followers","following_url":"https://api.github.com/users/Rhombus33/following{/other_user}","gists_url":"https://api.github.com/users/Rhombus33/gists{/gist_id}","starred_url":"https://api.github.com/users/Rhombus33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rhombus33/subscriptions","organizations_url":"https://api.github.com/users/Rhombus33/orgs","repos_url":"https://api.github.com/users/Rhombus33/repos","events_url":"https://api.github.com/users/Rhombus33/events{/privacy}","received_events_url":"https://api.github.com/users/Rhombus33/received_events","type":"User","site_admin":false},"body":"#### What's this PR do?\r\nRefactor gitSpyInit node script to bash script\r\nAdd \"gitSpy/*\" to .gitignore when you run \"sh gitSpyInit\"\r\n\r\n#### What are the important parts of the code?\r\nThe new zipfile should match the files in DEV-gitSpy/\r\n\r\n#### How should this be tested by the reviewer?\r\ndelete the post-commit, post-rewrite, and spyupdate file\r\nalso delete \"gitSpy/*\" from your .gitignore\r\nreplace your gitSpy folder with the new one\r\nrun \"sh gitSpy/gitSpyInit\" (no extension)\r\nCheck to see if all the correct files got generated\r\nRun one more time and make sure the text isn't duplicated in the files\r\n\r\nInsert your signature_hash and check to see if scripts still function as usual!\r\nThanks for testing!\r\n\r\n#### Is any other information necessary to understand this?\r\nN/A\r\n\r\n#### What are the relevant tickets? (Please add `closes`, `refs`, etc)\r\nN/A\r\n\r\n#### Screenshots (if appropriate)\r\nN/A","created_at":"2016-04-01T21:42:26Z","updated_at":"2016-04-01T22:27:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cbc96e9afb7d9281da4edb6d4a57d5327a8a7ee3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/pulls/162/commits","review_comments_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/pulls/162/comments","review_comment_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/issues/162/comments","statuses_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/statuses/6f649bf6d5738d4c351334cbd034eb004bf4dc35","head":{"label":"Rhombus33:auto-gitignore","ref":"auto-gitignore","sha":"6f649bf6d5738d4c351334cbd034eb004bf4dc35","user":{"login":"Rhombus33","id":13993781,"avatar_url":"https://avatars.githubusercontent.com/u/13993781?v=3","gravatar_id":"","url":"https://api.github.com/users/Rhombus33","html_url":"https://github.com/Rhombus33","followers_url":"https://api.github.com/users/Rhombus33/followers","following_url":"https://api.github.com/users/Rhombus33/following{/other_user}","gists_url":"https://api.github.com/users/Rhombus33/gists{/gist_id}","starred_url":"https://api.github.com/users/Rhombus33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rhombus33/subscriptions","organizations_url":"https://api.github.com/users/Rhombus33/orgs","repos_url":"https://api.github.com/users/Rhombus33/repos","events_url":"https://api.github.com/users/Rhombus33/events{/privacy}","received_events_url":"https://api.github.com/users/Rhombus33/received_events","type":"User","site_admin":false},"repo":{"id":53635002,"name":"AudibleBoulders","full_name":"Rhombus33/AudibleBoulders","owner":{"login":"Rhombus33","id":13993781,"avatar_url":"https://avatars.githubusercontent.com/u/13993781?v=3","gravatar_id":"","url":"https://api.github.com/users/Rhombus33","html_url":"https://github.com/Rhombus33","followers_url":"https://api.github.com/users/Rhombus33/followers","following_url":"https://api.github.com/users/Rhombus33/following{/other_user}","gists_url":"https://api.github.com/users/Rhombus33/gists{/gist_id}","starred_url":"https://api.github.com/users/Rhombus33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rhombus33/subscriptions","organizations_url":"https://api.github.com/users/Rhombus33/orgs","repos_url":"https://api.github.com/users/Rhombus33/repos","events_url":"https://api.github.com/users/Rhombus33/events{/privacy}","received_events_url":"https://api.github.com/users/Rhombus33/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Rhombus33/AudibleBoulders","description":"","fork":true,"url":"https://api.github.com/repos/Rhombus33/AudibleBoulders","forks_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/forks","keys_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/teams","hooks_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/hooks","issue_events_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/issues/events{/number}","events_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/events","assignees_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/assignees{/user}","branches_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/branches{/branch}","tags_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/tags","blobs_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/git/refs{/sha}","trees_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/statuses/{sha}","languages_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/languages","stargazers_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/stargazers","contributors_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/contributors","subscribers_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/subscribers","subscription_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/subscription","commits_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/commits{/sha}","git_commits_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/git/commits{/sha}","comments_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/comments{/number}","issue_comment_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/issues/comments{/number}","contents_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/contents/{+path}","compare_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/merges","archive_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/downloads","issues_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/issues{/number}","pulls_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/pulls{/number}","milestones_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/milestones{/number}","notifications_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/labels{/name}","releases_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/releases{/id}","deployments_url":"https://api.github.com/repos/Rhombus33/AudibleBoulders/deployments","created_at":"2016-03-11T02:58:17Z","updated_at":"2016-03-11T02:57:47Z","pushed_at":"2016-04-01T22:12:55Z","git_url":"git://github.com/Rhombus33/AudibleBoulders.git","ssh_url":"git@github.com:Rhombus33/AudibleBoulders.git","clone_url":"https://github.com/Rhombus33/AudibleBoulders.git","svn_url":"https://github.com/Rhombus33/AudibleBoulders","homepage":null,"size":413,"stargazers_count":0,"watchers_count":0,"language":null,"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":"AudibleBoulders:master","ref":"master","sha":"d76dcfe5340c561e135db06b726b891b6093145b","user":{"login":"AudibleBoulders","id":17773919,"avatar_url":"https://avatars.githubusercontent.com/u/17773919?v=3","gravatar_id":"","url":"https://api.github.com/users/AudibleBoulders","html_url":"https://github.com/AudibleBoulders","followers_url":"https://api.github.com/users/AudibleBoulders/followers","following_url":"https://api.github.com/users/AudibleBoulders/following{/other_user}","gists_url":"https://api.github.com/users/AudibleBoulders/gists{/gist_id}","starred_url":"https://api.github.com/users/AudibleBoulders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AudibleBoulders/subscriptions","organizations_url":"https://api.github.com/users/AudibleBoulders/orgs","repos_url":"https://api.github.com/users/AudibleBoulders/repos","events_url":"https://api.github.com/users/AudibleBoulders/events{/privacy}","received_events_url":"https://api.github.com/users/AudibleBoulders/received_events","type":"Organization","site_admin":false},"repo":{"id":53634978,"name":"AudibleBoulders","full_name":"AudibleBoulders/AudibleBoulders","owner":{"login":"AudibleBoulders","id":17773919,"avatar_url":"https://avatars.githubusercontent.com/u/17773919?v=3","gravatar_id":"","url":"https://api.github.com/users/AudibleBoulders","html_url":"https://github.com/AudibleBoulders","followers_url":"https://api.github.com/users/AudibleBoulders/followers","following_url":"https://api.github.com/users/AudibleBoulders/following{/other_user}","gists_url":"https://api.github.com/users/AudibleBoulders/gists{/gist_id}","starred_url":"https://api.github.com/users/AudibleBoulders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AudibleBoulders/subscriptions","organizations_url":"https://api.github.com/users/AudibleBoulders/orgs","repos_url":"https://api.github.com/users/AudibleBoulders/repos","events_url":"https://api.github.com/users/AudibleBoulders/events{/privacy}","received_events_url":"https://api.github.com/users/AudibleBoulders/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AudibleBoulders/AudibleBoulders","description":"","fork":false,"url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders","forks_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/forks","keys_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/teams","hooks_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/hooks","issue_events_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/issues/events{/number}","events_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/events","assignees_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/assignees{/user}","branches_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/branches{/branch}","tags_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/tags","blobs_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/git/refs{/sha}","trees_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/statuses/{sha}","languages_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/languages","stargazers_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/stargazers","contributors_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/contributors","subscribers_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/subscribers","subscription_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/subscription","commits_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/commits{/sha}","git_commits_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/git/commits{/sha}","comments_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/comments{/number}","issue_comment_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/issues/comments{/number}","contents_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/contents/{+path}","compare_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/merges","archive_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/downloads","issues_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/issues{/number}","pulls_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/pulls{/number}","milestones_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/milestones{/number}","notifications_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/labels{/name}","releases_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/releases{/id}","deployments_url":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/deployments","created_at":"2016-03-11T02:57:47Z","updated_at":"2016-03-11T05:03:57Z","pushed_at":"2016-04-01T22:22:07Z","git_url":"git://github.com/AudibleBoulders/AudibleBoulders.git","ssh_url":"git@github.com:AudibleBoulders/AudibleBoulders.git","clone_url":"https://github.com/AudibleBoulders/AudibleBoulders.git","svn_url":"https://github.com/AudibleBoulders/AudibleBoulders","homepage":null,"size":417,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":7,"forks":4,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/pulls/162"},"html":{"href":"https://github.com/AudibleBoulders/AudibleBoulders/pull/162"},"issue":{"href":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/issues/162"},"comments":{"href":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/issues/162/comments"},"review_comments":{"href":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/pulls/162/comments"},"review_comment":{"href":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/pulls/162/commits"},"statuses":{"href":"https://api.github.com/repos/AudibleBoulders/AudibleBoulders/statuses/6f649bf6d5738d4c351334cbd034eb004bf4dc35"}}}}