{"action":"created","comment":{"url":"https://api.github.com/repos/atom/highlights/pulls/comments/23579874","id":23579874,"diff_hunk":"@@ -5,7 +5,8 @@\n   \"main\": \"lib/highlights.js\",\n   \"scripts\": {\n     \"test\": \"grunt test\",\n-    \"prepublish\": \"grunt prepublish\"\n+    \"prepublish\": \"grunt prepublish\",\n+    \"preinstall\": \"git submodule init && git submodule update\"","path":"package.json","position":6,"original_position":6,"commit_id":"dbf96640398a480cc1cb654e96e3fd27ce16ab6c","original_commit_id":"dbf96640398a480cc1cb654e96e3fd27ce16ab6c","user":{"login":"zeke","id":2289,"avatar_url":"https://avatars.githubusercontent.com/u/2289?v=3","gravatar_id":"","url":"https://api.github.com/users/zeke","html_url":"https://github.com/zeke","followers_url":"https://api.github.com/users/zeke/followers","following_url":"https://api.github.com/users/zeke/following{/other_user}","gists_url":"https://api.github.com/users/zeke/gists{/gist_id}","starred_url":"https://api.github.com/users/zeke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeke/subscriptions","organizations_url":"https://api.github.com/users/zeke/orgs","repos_url":"https://api.github.com/users/zeke/repos","events_url":"https://api.github.com/users/zeke/events{/privacy}","received_events_url":"https://api.github.com/users/zeke/received_events","type":"User","site_admin":false},"body":"If this is too \"clever\", then there should at least be a command in the readme for getting set up.","created_at":"2015-01-27T01:11:08Z","updated_at":"2015-01-27T01:11:08Z","html_url":"https://github.com/atom/highlights/pull/12#discussion_r23579874","pull_request_url":"https://api.github.com/repos/atom/highlights/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/atom/highlights/pulls/comments/23579874"},"html":{"href":"https://github.com/atom/highlights/pull/12#discussion_r23579874"},"pull_request":{"href":"https://api.github.com/repos/atom/highlights/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/atom/highlights/pulls/12","id":28066272,"html_url":"https://github.com/atom/highlights/pull/12","diff_url":"https://github.com/atom/highlights/pull/12.diff","patch_url":"https://github.com/atom/highlights/pull/12.patch","issue_url":"https://api.github.com/repos/atom/highlights/issues/12","number":12,"state":"open","locked":false,"title":"set up git submodules with a preinstall task","user":{"login":"zeke","id":2289,"avatar_url":"https://avatars.githubusercontent.com/u/2289?v=3","gravatar_id":"","url":"https://api.github.com/users/zeke","html_url":"https://github.com/zeke","followers_url":"https://api.github.com/users/zeke/followers","following_url":"https://api.github.com/users/zeke/following{/other_user}","gists_url":"https://api.github.com/users/zeke/gists{/gist_id}","starred_url":"https://api.github.com/users/zeke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeke/subscriptions","organizations_url":"https://api.github.com/users/zeke/orgs","repos_url":"https://api.github.com/users/zeke/repos","events_url":"https://api.github.com/users/zeke/events{/privacy}","received_events_url":"https://api.github.com/users/zeke/received_events","type":"User","site_admin":false},"body":"It's necessary to setup up the git submodules before tests can be run. This script hook makes it happen automatically.","created_at":"2015-01-26T22:29:02Z","updated_at":"2015-01-27T01:11:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0f74784ad6cc0caa997b37fc75a5ab5058ea7212","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/atom/highlights/pulls/12/commits","review_comments_url":"https://api.github.com/repos/atom/highlights/pulls/12/comments","review_comment_url":"https://api.github.com/repos/atom/highlights/pulls/comments/{number}","comments_url":"https://api.github.com/repos/atom/highlights/issues/12/comments","statuses_url":"https://api.github.com/repos/atom/highlights/statuses/dbf96640398a480cc1cb654e96e3fd27ce16ab6c","head":{"label":"zeke:submodules","ref":"submodules","sha":"dbf96640398a480cc1cb654e96e3fd27ce16ab6c","user":{"login":"zeke","id":2289,"avatar_url":"https://avatars.githubusercontent.com/u/2289?v=3","gravatar_id":"","url":"https://api.github.com/users/zeke","html_url":"https://github.com/zeke","followers_url":"https://api.github.com/users/zeke/followers","following_url":"https://api.github.com/users/zeke/following{/other_user}","gists_url":"https://api.github.com/users/zeke/gists{/gist_id}","starred_url":"https://api.github.com/users/zeke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeke/subscriptions","organizations_url":"https://api.github.com/users/zeke/orgs","repos_url":"https://api.github.com/users/zeke/repos","events_url":"https://api.github.com/users/zeke/events{/privacy}","received_events_url":"https://api.github.com/users/zeke/received_events","type":"User","site_admin":false},"repo":{"id":29796541,"name":"highlights","full_name":"zeke/highlights","owner":{"login":"zeke","id":2289,"avatar_url":"https://avatars.githubusercontent.com/u/2289?v=3","gravatar_id":"","url":"https://api.github.com/users/zeke","html_url":"https://github.com/zeke","followers_url":"https://api.github.com/users/zeke/followers","following_url":"https://api.github.com/users/zeke/following{/other_user}","gists_url":"https://api.github.com/users/zeke/gists{/gist_id}","starred_url":"https://api.github.com/users/zeke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeke/subscriptions","organizations_url":"https://api.github.com/users/zeke/orgs","repos_url":"https://api.github.com/users/zeke/repos","events_url":"https://api.github.com/users/zeke/events{/privacy}","received_events_url":"https://api.github.com/users/zeke/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zeke/highlights","description":"Syntax highlighter","fork":true,"url":"https://api.github.com/repos/zeke/highlights","forks_url":"https://api.github.com/repos/zeke/highlights/forks","keys_url":"https://api.github.com/repos/zeke/highlights/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zeke/highlights/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zeke/highlights/teams","hooks_url":"https://api.github.com/repos/zeke/highlights/hooks","issue_events_url":"https://api.github.com/repos/zeke/highlights/issues/events{/number}","events_url":"https://api.github.com/repos/zeke/highlights/events","assignees_url":"https://api.github.com/repos/zeke/highlights/assignees{/user}","branches_url":"https://api.github.com/repos/zeke/highlights/branches{/branch}","tags_url":"https://api.github.com/repos/zeke/highlights/tags","blobs_url":"https://api.github.com/repos/zeke/highlights/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zeke/highlights/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zeke/highlights/git/refs{/sha}","trees_url":"https://api.github.com/repos/zeke/highlights/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zeke/highlights/statuses/{sha}","languages_url":"https://api.github.com/repos/zeke/highlights/languages","stargazers_url":"https://api.github.com/repos/zeke/highlights/stargazers","contributors_url":"https://api.github.com/repos/zeke/highlights/contributors","subscribers_url":"https://api.github.com/repos/zeke/highlights/subscribers","subscription_url":"https://api.github.com/repos/zeke/highlights/subscription","commits_url":"https://api.github.com/repos/zeke/highlights/commits{/sha}","git_commits_url":"https://api.github.com/repos/zeke/highlights/git/commits{/sha}","comments_url":"https://api.github.com/repos/zeke/highlights/comments{/number}","issue_comment_url":"https://api.github.com/repos/zeke/highlights/issues/comments/{number}","contents_url":"https://api.github.com/repos/zeke/highlights/contents/{+path}","compare_url":"https://api.github.com/repos/zeke/highlights/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zeke/highlights/merges","archive_url":"https://api.github.com/repos/zeke/highlights/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zeke/highlights/downloads","issues_url":"https://api.github.com/repos/zeke/highlights/issues{/number}","pulls_url":"https://api.github.com/repos/zeke/highlights/pulls{/number}","milestones_url":"https://api.github.com/repos/zeke/highlights/milestones{/number}","notifications_url":"https://api.github.com/repos/zeke/highlights/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zeke/highlights/labels{/name}","releases_url":"https://api.github.com/repos/zeke/highlights/releases{/id}","created_at":"2015-01-25T00:00:59Z","updated_at":"2015-01-26T22:27:17Z","pushed_at":"2015-01-26T22:28:00Z","git_url":"git://github.com/zeke/highlights.git","ssh_url":"git@github.com:zeke/highlights.git","clone_url":"https://github.com/zeke/highlights.git","svn_url":"https://github.com/zeke/highlights","homepage":"http://atom.github.io/highlights","size":477,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"atom:master","ref":"master","sha":"0567b2f8957418b2138701b3e0e0d046770f424c","user":{"login":"atom","id":1089146,"avatar_url":"https://avatars.githubusercontent.com/u/1089146?v=3","gravatar_id":"","url":"https://api.github.com/users/atom","html_url":"https://github.com/atom","followers_url":"https://api.github.com/users/atom/followers","following_url":"https://api.github.com/users/atom/following{/other_user}","gists_url":"https://api.github.com/users/atom/gists{/gist_id}","starred_url":"https://api.github.com/users/atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atom/subscriptions","organizations_url":"https://api.github.com/users/atom/orgs","repos_url":"https://api.github.com/users/atom/repos","events_url":"https://api.github.com/users/atom/events{/privacy}","received_events_url":"https://api.github.com/users/atom/received_events","type":"Organization","site_admin":false},"repo":{"id":17883188,"name":"highlights","full_name":"atom/highlights","owner":{"login":"atom","id":1089146,"avatar_url":"https://avatars.githubusercontent.com/u/1089146?v=3","gravatar_id":"","url":"https://api.github.com/users/atom","html_url":"https://github.com/atom","followers_url":"https://api.github.com/users/atom/followers","following_url":"https://api.github.com/users/atom/following{/other_user}","gists_url":"https://api.github.com/users/atom/gists{/gist_id}","starred_url":"https://api.github.com/users/atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atom/subscriptions","organizations_url":"https://api.github.com/users/atom/orgs","repos_url":"https://api.github.com/users/atom/repos","events_url":"https://api.github.com/users/atom/events{/privacy}","received_events_url":"https://api.github.com/users/atom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/atom/highlights","description":"Syntax highlighter","fork":false,"url":"https://api.github.com/repos/atom/highlights","forks_url":"https://api.github.com/repos/atom/highlights/forks","keys_url":"https://api.github.com/repos/atom/highlights/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atom/highlights/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atom/highlights/teams","hooks_url":"https://api.github.com/repos/atom/highlights/hooks","issue_events_url":"https://api.github.com/repos/atom/highlights/issues/events{/number}","events_url":"https://api.github.com/repos/atom/highlights/events","assignees_url":"https://api.github.com/repos/atom/highlights/assignees{/user}","branches_url":"https://api.github.com/repos/atom/highlights/branches{/branch}","tags_url":"https://api.github.com/repos/atom/highlights/tags","blobs_url":"https://api.github.com/repos/atom/highlights/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atom/highlights/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atom/highlights/git/refs{/sha}","trees_url":"https://api.github.com/repos/atom/highlights/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atom/highlights/statuses/{sha}","languages_url":"https://api.github.com/repos/atom/highlights/languages","stargazers_url":"https://api.github.com/repos/atom/highlights/stargazers","contributors_url":"https://api.github.com/repos/atom/highlights/contributors","subscribers_url":"https://api.github.com/repos/atom/highlights/subscribers","subscription_url":"https://api.github.com/repos/atom/highlights/subscription","commits_url":"https://api.github.com/repos/atom/highlights/commits{/sha}","git_commits_url":"https://api.github.com/repos/atom/highlights/git/commits{/sha}","comments_url":"https://api.github.com/repos/atom/highlights/comments{/number}","issue_comment_url":"https://api.github.com/repos/atom/highlights/issues/comments/{number}","contents_url":"https://api.github.com/repos/atom/highlights/contents/{+path}","compare_url":"https://api.github.com/repos/atom/highlights/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atom/highlights/merges","archive_url":"https://api.github.com/repos/atom/highlights/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atom/highlights/downloads","issues_url":"https://api.github.com/repos/atom/highlights/issues{/number}","pulls_url":"https://api.github.com/repos/atom/highlights/pulls{/number}","milestones_url":"https://api.github.com/repos/atom/highlights/milestones{/number}","notifications_url":"https://api.github.com/repos/atom/highlights/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atom/highlights/labels{/name}","releases_url":"https://api.github.com/repos/atom/highlights/releases{/id}","created_at":"2014-03-18T21:46:28Z","updated_at":"2015-01-26T17:27:03Z","pushed_at":"2015-01-26T17:27:03Z","git_url":"git://github.com/atom/highlights.git","ssh_url":"git@github.com:atom/highlights.git","clone_url":"https://github.com/atom/highlights.git","svn_url":"https://github.com/atom/highlights","homepage":"http://atom.github.io/highlights","size":459,"stargazers_count":299,"watchers_count":299,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":14,"mirror_url":null,"open_issues_count":3,"forks":14,"open_issues":3,"watchers":299,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/atom/highlights/pulls/12"},"html":{"href":"https://github.com/atom/highlights/pull/12"},"issue":{"href":"https://api.github.com/repos/atom/highlights/issues/12"},"comments":{"href":"https://api.github.com/repos/atom/highlights/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/atom/highlights/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/atom/highlights/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/atom/highlights/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/atom/highlights/statuses/dbf96640398a480cc1cb654e96e3fd27ce16ab6c"}}}}