{"action":"created","comment":{"url":"https://api.github.com/repos/chromium/axiom/pulls/comments/29301840","id":29301840,"diff_hunk":"@@ -0,0 +1,206 @@\n+// Copyright (c) 2014 The Chromium Authors. All rights reserved.","path":"samples/web_shell/scripts/resources/git/git_salt.js","position":1,"original_position":1,"commit_id":"2372d80ddd7b7b211bf2e716db3eb95cb8729565","original_commit_id":"2372d80ddd7b7b211bf2e716db3eb95cb8729565","user":{"login":"rpaquay","id":1087507,"avatar_url":"https://avatars.githubusercontent.com/u/1087507?v=3","gravatar_id":"","url":"https://api.github.com/users/rpaquay","html_url":"https://github.com/rpaquay","followers_url":"https://api.github.com/users/rpaquay/followers","following_url":"https://api.github.com/users/rpaquay/following{/other_user}","gists_url":"https://api.github.com/users/rpaquay/gists{/gist_id}","starred_url":"https://api.github.com/users/rpaquay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpaquay/subscriptions","organizations_url":"https://api.github.com/users/rpaquay/orgs","repos_url":"https://api.github.com/users/rpaquay/repos","events_url":"https://api.github.com/users/rpaquay/events{/privacy}","received_events_url":"https://api.github.com/users/rpaquay/received_events","type":"User","site_admin":false},"body":"How come we have almost identical code in samples/web_shell/scripts/git.js","created_at":"2015-04-29T00:20:44Z","updated_at":"2015-04-29T00:20:44Z","html_url":"https://github.com/chromium/axiom/pull/242#discussion_r29301840","pull_request_url":"https://api.github.com/repos/chromium/axiom/pulls/242","_links":{"self":{"href":"https://api.github.com/repos/chromium/axiom/pulls/comments/29301840"},"html":{"href":"https://github.com/chromium/axiom/pull/242#discussion_r29301840"},"pull_request":{"href":"https://api.github.com/repos/chromium/axiom/pulls/242"}}},"pull_request":{"url":"https://api.github.com/repos/chromium/axiom/pulls/242","id":34211787,"html_url":"https://github.com/chromium/axiom/pull/242","diff_url":"https://github.com/chromium/axiom/pull/242.diff","patch_url":"https://github.com/chromium/axiom/pull/242.patch","issue_url":"https://api.github.com/repos/chromium/axiom/issues/242","number":242,"state":"open","locked":false,"title":"Add git-salt lib and git script ","user":{"login":"gaurave","id":2711803,"avatar_url":"https://avatars.githubusercontent.com/u/2711803?v=3","gravatar_id":"","url":"https://api.github.com/users/gaurave","html_url":"https://github.com/gaurave","followers_url":"https://api.github.com/users/gaurave/followers","following_url":"https://api.github.com/users/gaurave/following{/other_user}","gists_url":"https://api.github.com/users/gaurave/gists{/gist_id}","starred_url":"https://api.github.com/users/gaurave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaurave/subscriptions","organizations_url":"https://api.github.com/users/gaurave/orgs","repos_url":"https://api.github.com/users/gaurave/repos","events_url":"https://api.github.com/users/gaurave/events{/privacy}","received_events_url":"https://api.github.com/users/gaurave/received_events","type":"User","site_admin":false},"body":"* Adds git-salt library to axiom\r\n* Adds a git script to axiom which should act like git command line.\r\n\r\nTODO\r\n* Add parsing in `git` script and route the commands to appropriate API.\r\n* Re-factor code into classes\r\n* Route `stdio` and `stderr` correctly.\r\n\r\n@rpaquay ","created_at":"2015-04-27T21:22:30Z","updated_at":"2015-04-29T00:20:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fa946098923158f23a628dfbd47e63dfa0e2ab8d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chromium/axiom/pulls/242/commits","review_comments_url":"https://api.github.com/repos/chromium/axiom/pulls/242/comments","review_comment_url":"https://api.github.com/repos/chromium/axiom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chromium/axiom/issues/242/comments","statuses_url":"https://api.github.com/repos/chromium/axiom/statuses/2372d80ddd7b7b211bf2e716db3eb95cb8729565","head":{"label":"gaurave:git_in_web","ref":"git_in_web","sha":"2372d80ddd7b7b211bf2e716db3eb95cb8729565","user":{"login":"gaurave","id":2711803,"avatar_url":"https://avatars.githubusercontent.com/u/2711803?v=3","gravatar_id":"","url":"https://api.github.com/users/gaurave","html_url":"https://github.com/gaurave","followers_url":"https://api.github.com/users/gaurave/followers","following_url":"https://api.github.com/users/gaurave/following{/other_user}","gists_url":"https://api.github.com/users/gaurave/gists{/gist_id}","starred_url":"https://api.github.com/users/gaurave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaurave/subscriptions","organizations_url":"https://api.github.com/users/gaurave/orgs","repos_url":"https://api.github.com/users/gaurave/repos","events_url":"https://api.github.com/users/gaurave/events{/privacy}","received_events_url":"https://api.github.com/users/gaurave/received_events","type":"User","site_admin":false},"repo":{"id":32954785,"name":"axiom-1","full_name":"gaurave/axiom-1","owner":{"login":"gaurave","id":2711803,"avatar_url":"https://avatars.githubusercontent.com/u/2711803?v=3","gravatar_id":"","url":"https://api.github.com/users/gaurave","html_url":"https://github.com/gaurave","followers_url":"https://api.github.com/users/gaurave/followers","following_url":"https://api.github.com/users/gaurave/following{/other_user}","gists_url":"https://api.github.com/users/gaurave/gists{/gist_id}","starred_url":"https://api.github.com/users/gaurave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaurave/subscriptions","organizations_url":"https://api.github.com/users/gaurave/orgs","repos_url":"https://api.github.com/users/gaurave/repos","events_url":"https://api.github.com/users/gaurave/events{/privacy}","received_events_url":"https://api.github.com/users/gaurave/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gaurave/axiom-1","description":"Axiom Project","fork":true,"url":"https://api.github.com/repos/gaurave/axiom-1","forks_url":"https://api.github.com/repos/gaurave/axiom-1/forks","keys_url":"https://api.github.com/repos/gaurave/axiom-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gaurave/axiom-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gaurave/axiom-1/teams","hooks_url":"https://api.github.com/repos/gaurave/axiom-1/hooks","issue_events_url":"https://api.github.com/repos/gaurave/axiom-1/issues/events{/number}","events_url":"https://api.github.com/repos/gaurave/axiom-1/events","assignees_url":"https://api.github.com/repos/gaurave/axiom-1/assignees{/user}","branches_url":"https://api.github.com/repos/gaurave/axiom-1/branches{/branch}","tags_url":"https://api.github.com/repos/gaurave/axiom-1/tags","blobs_url":"https://api.github.com/repos/gaurave/axiom-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gaurave/axiom-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gaurave/axiom-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/gaurave/axiom-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gaurave/axiom-1/statuses/{sha}","languages_url":"https://api.github.com/repos/gaurave/axiom-1/languages","stargazers_url":"https://api.github.com/repos/gaurave/axiom-1/stargazers","contributors_url":"https://api.github.com/repos/gaurave/axiom-1/contributors","subscribers_url":"https://api.github.com/repos/gaurave/axiom-1/subscribers","subscription_url":"https://api.github.com/repos/gaurave/axiom-1/subscription","commits_url":"https://api.github.com/repos/gaurave/axiom-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/gaurave/axiom-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/gaurave/axiom-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/gaurave/axiom-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/gaurave/axiom-1/contents/{+path}","compare_url":"https://api.github.com/repos/gaurave/axiom-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gaurave/axiom-1/merges","archive_url":"https://api.github.com/repos/gaurave/axiom-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gaurave/axiom-1/downloads","issues_url":"https://api.github.com/repos/gaurave/axiom-1/issues{/number}","pulls_url":"https://api.github.com/repos/gaurave/axiom-1/pulls{/number}","milestones_url":"https://api.github.com/repos/gaurave/axiom-1/milestones{/number}","notifications_url":"https://api.github.com/repos/gaurave/axiom-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gaurave/axiom-1/labels{/name}","releases_url":"https://api.github.com/repos/gaurave/axiom-1/releases{/id}","created_at":"2015-03-26T22:16:30Z","updated_at":"2015-03-26T22:16:30Z","pushed_at":"2015-04-28T23:15:30Z","git_url":"git://github.com/gaurave/axiom-1.git","ssh_url":"git@github.com:gaurave/axiom-1.git","clone_url":"https://github.com/gaurave/axiom-1.git","svn_url":"https://github.com/gaurave/axiom-1","homepage":"","size":11987,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":false,"has_wiki":false,"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":"chromium:master","ref":"master","sha":"7c022681dace763c5574dc9395bce00350053a47","user":{"login":"chromium","id":30044,"avatar_url":"https://avatars.githubusercontent.com/u/30044?v=3","gravatar_id":"","url":"https://api.github.com/users/chromium","html_url":"https://github.com/chromium","followers_url":"https://api.github.com/users/chromium/followers","following_url":"https://api.github.com/users/chromium/following{/other_user}","gists_url":"https://api.github.com/users/chromium/gists{/gist_id}","starred_url":"https://api.github.com/users/chromium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chromium/subscriptions","organizations_url":"https://api.github.com/users/chromium/orgs","repos_url":"https://api.github.com/users/chromium/repos","events_url":"https://api.github.com/users/chromium/events{/privacy}","received_events_url":"https://api.github.com/users/chromium/received_events","type":"Organization","site_admin":false},"repo":{"id":29257259,"name":"axiom","full_name":"chromium/axiom","owner":{"login":"chromium","id":30044,"avatar_url":"https://avatars.githubusercontent.com/u/30044?v=3","gravatar_id":"","url":"https://api.github.com/users/chromium","html_url":"https://github.com/chromium","followers_url":"https://api.github.com/users/chromium/followers","following_url":"https://api.github.com/users/chromium/following{/other_user}","gists_url":"https://api.github.com/users/chromium/gists{/gist_id}","starred_url":"https://api.github.com/users/chromium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chromium/subscriptions","organizations_url":"https://api.github.com/users/chromium/orgs","repos_url":"https://api.github.com/users/chromium/repos","events_url":"https://api.github.com/users/chromium/events{/privacy}","received_events_url":"https://api.github.com/users/chromium/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chromium/axiom","description":"Axiom Project","fork":false,"url":"https://api.github.com/repos/chromium/axiom","forks_url":"https://api.github.com/repos/chromium/axiom/forks","keys_url":"https://api.github.com/repos/chromium/axiom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chromium/axiom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chromium/axiom/teams","hooks_url":"https://api.github.com/repos/chromium/axiom/hooks","issue_events_url":"https://api.github.com/repos/chromium/axiom/issues/events{/number}","events_url":"https://api.github.com/repos/chromium/axiom/events","assignees_url":"https://api.github.com/repos/chromium/axiom/assignees{/user}","branches_url":"https://api.github.com/repos/chromium/axiom/branches{/branch}","tags_url":"https://api.github.com/repos/chromium/axiom/tags","blobs_url":"https://api.github.com/repos/chromium/axiom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chromium/axiom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chromium/axiom/git/refs{/sha}","trees_url":"https://api.github.com/repos/chromium/axiom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chromium/axiom/statuses/{sha}","languages_url":"https://api.github.com/repos/chromium/axiom/languages","stargazers_url":"https://api.github.com/repos/chromium/axiom/stargazers","contributors_url":"https://api.github.com/repos/chromium/axiom/contributors","subscribers_url":"https://api.github.com/repos/chromium/axiom/subscribers","subscription_url":"https://api.github.com/repos/chromium/axiom/subscription","commits_url":"https://api.github.com/repos/chromium/axiom/commits{/sha}","git_commits_url":"https://api.github.com/repos/chromium/axiom/git/commits{/sha}","comments_url":"https://api.github.com/repos/chromium/axiom/comments{/number}","issue_comment_url":"https://api.github.com/repos/chromium/axiom/issues/comments{/number}","contents_url":"https://api.github.com/repos/chromium/axiom/contents/{+path}","compare_url":"https://api.github.com/repos/chromium/axiom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chromium/axiom/merges","archive_url":"https://api.github.com/repos/chromium/axiom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chromium/axiom/downloads","issues_url":"https://api.github.com/repos/chromium/axiom/issues{/number}","pulls_url":"https://api.github.com/repos/chromium/axiom/pulls{/number}","milestones_url":"https://api.github.com/repos/chromium/axiom/milestones{/number}","notifications_url":"https://api.github.com/repos/chromium/axiom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chromium/axiom/labels{/name}","releases_url":"https://api.github.com/repos/chromium/axiom/releases{/id}","created_at":"2015-01-14T17:48:53Z","updated_at":"2015-04-28T20:23:24Z","pushed_at":"2015-04-29T00:05:00Z","git_url":"git://github.com/chromium/axiom.git","ssh_url":"git@github.com:chromium/axiom.git","clone_url":"https://github.com/chromium/axiom.git","svn_url":"https://github.com/chromium/axiom","homepage":"https://chromium.github.io/axiom/web_shell/","size":14760,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":42,"forks":6,"open_issues":42,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chromium/axiom/pulls/242"},"html":{"href":"https://github.com/chromium/axiom/pull/242"},"issue":{"href":"https://api.github.com/repos/chromium/axiom/issues/242"},"comments":{"href":"https://api.github.com/repos/chromium/axiom/issues/242/comments"},"review_comments":{"href":"https://api.github.com/repos/chromium/axiom/pulls/242/comments"},"review_comment":{"href":"https://api.github.com/repos/chromium/axiom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chromium/axiom/pulls/242/commits"},"statuses":{"href":"https://api.github.com/repos/chromium/axiom/statuses/2372d80ddd7b7b211bf2e716db3eb95cb8729565"}}}}