{"action":"created","comment":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/comments/33087700","id":33087700,"diff_hunk":"@@ -42,7 +42,7 @@ def edit\n \n   def update\n     result = Files::UpdateService.new(@project, current_user, @commit_params).execute\n-\n+ ","path":"app/controllers/projects/blob_controller.rb","position":5,"original_position":5,"commit_id":"9f24fe9d54c451b7f4dfe5cdf33a17f95be0f132","original_commit_id":"9f24fe9d54c451b7f4dfe5cdf33a17f95be0f132","user":{"login":"tsigo","id":16124,"avatar_url":"https://avatars.githubusercontent.com/u/16124?v=3","gravatar_id":"","url":"https://api.github.com/users/tsigo","html_url":"https://github.com/tsigo","followers_url":"https://api.github.com/users/tsigo/followers","following_url":"https://api.github.com/users/tsigo/following{/other_user}","gists_url":"https://api.github.com/users/tsigo/gists{/gist_id}","starred_url":"https://api.github.com/users/tsigo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsigo/subscriptions","organizations_url":"https://api.github.com/users/tsigo/orgs","repos_url":"https://api.github.com/users/tsigo/repos","events_url":"https://api.github.com/users/tsigo/events{/privacy}","received_events_url":"https://api.github.com/users/tsigo/received_events","type":"User","site_admin":false},"body":"Whitespace.","created_at":"2015-06-23T20:25:48Z","updated_at":"2015-06-23T20:25:48Z","html_url":"https://github.com/gitlabhq/gitlabhq/pull/9138#discussion_r33087700","pull_request_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/9138","_links":{"self":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/comments/33087700"},"html":{"href":"https://github.com/gitlabhq/gitlabhq/pull/9138#discussion_r33087700"},"pull_request":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/9138"}}},"pull_request":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/9138","id":33245301,"html_url":"https://github.com/gitlabhq/gitlabhq/pull/9138","diff_url":"https://github.com/gitlabhq/gitlabhq/pull/9138.diff","patch_url":"https://github.com/gitlabhq/gitlabhq/pull/9138.patch","issue_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9138","number":9138,"state":"open","locked":false,"title":"add \"replace\" and \"upload\" functionality","user":{"login":"liyakun","id":7370334,"avatar_url":"https://avatars.githubusercontent.com/u/7370334?v=3","gravatar_id":"","url":"https://api.github.com/users/liyakun","html_url":"https://github.com/liyakun","followers_url":"https://api.github.com/users/liyakun/followers","following_url":"https://api.github.com/users/liyakun/following{/other_user}","gists_url":"https://api.github.com/users/liyakun/gists{/gist_id}","starred_url":"https://api.github.com/users/liyakun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liyakun/subscriptions","organizations_url":"https://api.github.com/users/liyakun/orgs","repos_url":"https://api.github.com/users/liyakun/repos","events_url":"https://api.github.com/users/liyakun/events{/privacy}","received_events_url":"https://api.github.com/users/liyakun/received_events","type":"User","site_admin":false},"body":"\r\n![replace1](https://cloud.githubusercontent.com/assets/7370334/7135065/4fb2a15e-e2a3-11e4-9d16-436263a39c4d.png)\r\n![replace2](https://cloud.githubusercontent.com/assets/7370334/7135062/4fb0ae08-e2a3-11e4-90f6-e3090f58ebca.png)\r\n![upload1](https://cloud.githubusercontent.com/assets/7370334/7135063/4fb0e436-e2a3-11e4-986c-984e1d5c3b44.png)\r\n![upload2](https://cloud.githubusercontent.com/assets/7370334/7135064/4fb0e6ac-e2a3-11e4-8ca6-7353e2b400cb.png)\r\n\r\n\r\n\r\n\r\nadd \"replace\" and \"upload\" functionalities\r\n\r\nadd \"upload\" file name check\r\n\r\nadd upload service with commit_message_replace\r\n\r\nadd replace action\r\n\r\nadd \"replace\" view\r\n\r\nshow \"replace\"\r\n\r\nadd \"replace\" commit message\r\n\r\nadd \"replace\" and \"upload\" test\r\n\r\nadd \"replace\" and \"upload\" test\r\n\r\nsupport \"replace\" and \"upload\" functionalities\r\n\r\nadd \"upload\" view\r\n\r\nadd upload button\r\n\r\nshow \"upload\"\r\n\r\nnew functionality added","created_at":"2015-04-14T10:39:47Z","updated_at":"2015-06-23T20:25:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9b073b55ff938398917fd135797c7f54ed41e66a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/9138/commits","review_comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/9138/comments","review_comment_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9138/comments","statuses_url":"https://api.github.com/repos/gitlabhq/gitlabhq/statuses/9f24fe9d54c451b7f4dfe5cdf33a17f95be0f132","head":{"label":"liyakun:master","ref":"master","sha":"9f24fe9d54c451b7f4dfe5cdf33a17f95be0f132","user":{"login":"liyakun","id":7370334,"avatar_url":"https://avatars.githubusercontent.com/u/7370334?v=3","gravatar_id":"","url":"https://api.github.com/users/liyakun","html_url":"https://github.com/liyakun","followers_url":"https://api.github.com/users/liyakun/followers","following_url":"https://api.github.com/users/liyakun/following{/other_user}","gists_url":"https://api.github.com/users/liyakun/gists{/gist_id}","starred_url":"https://api.github.com/users/liyakun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liyakun/subscriptions","organizations_url":"https://api.github.com/users/liyakun/orgs","repos_url":"https://api.github.com/users/liyakun/repos","events_url":"https://api.github.com/users/liyakun/events{/privacy}","received_events_url":"https://api.github.com/users/liyakun/received_events","type":"User","site_admin":false},"repo":{"id":33925126,"name":"gitlabhq","full_name":"liyakun/gitlabhq","owner":{"login":"liyakun","id":7370334,"avatar_url":"https://avatars.githubusercontent.com/u/7370334?v=3","gravatar_id":"","url":"https://api.github.com/users/liyakun","html_url":"https://github.com/liyakun","followers_url":"https://api.github.com/users/liyakun/followers","following_url":"https://api.github.com/users/liyakun/following{/other_user}","gists_url":"https://api.github.com/users/liyakun/gists{/gist_id}","starred_url":"https://api.github.com/users/liyakun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liyakun/subscriptions","organizations_url":"https://api.github.com/users/liyakun/orgs","repos_url":"https://api.github.com/users/liyakun/repos","events_url":"https://api.github.com/users/liyakun/events{/privacy}","received_events_url":"https://api.github.com/users/liyakun/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/liyakun/gitlabhq","description":"GitLab is version control for your server","fork":true,"url":"https://api.github.com/repos/liyakun/gitlabhq","forks_url":"https://api.github.com/repos/liyakun/gitlabhq/forks","keys_url":"https://api.github.com/repos/liyakun/gitlabhq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/liyakun/gitlabhq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/liyakun/gitlabhq/teams","hooks_url":"https://api.github.com/repos/liyakun/gitlabhq/hooks","issue_events_url":"https://api.github.com/repos/liyakun/gitlabhq/issues/events{/number}","events_url":"https://api.github.com/repos/liyakun/gitlabhq/events","assignees_url":"https://api.github.com/repos/liyakun/gitlabhq/assignees{/user}","branches_url":"https://api.github.com/repos/liyakun/gitlabhq/branches{/branch}","tags_url":"https://api.github.com/repos/liyakun/gitlabhq/tags","blobs_url":"https://api.github.com/repos/liyakun/gitlabhq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/liyakun/gitlabhq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/liyakun/gitlabhq/git/refs{/sha}","trees_url":"https://api.github.com/repos/liyakun/gitlabhq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/liyakun/gitlabhq/statuses/{sha}","languages_url":"https://api.github.com/repos/liyakun/gitlabhq/languages","stargazers_url":"https://api.github.com/repos/liyakun/gitlabhq/stargazers","contributors_url":"https://api.github.com/repos/liyakun/gitlabhq/contributors","subscribers_url":"https://api.github.com/repos/liyakun/gitlabhq/subscribers","subscription_url":"https://api.github.com/repos/liyakun/gitlabhq/subscription","commits_url":"https://api.github.com/repos/liyakun/gitlabhq/commits{/sha}","git_commits_url":"https://api.github.com/repos/liyakun/gitlabhq/git/commits{/sha}","comments_url":"https://api.github.com/repos/liyakun/gitlabhq/comments{/number}","issue_comment_url":"https://api.github.com/repos/liyakun/gitlabhq/issues/comments{/number}","contents_url":"https://api.github.com/repos/liyakun/gitlabhq/contents/{+path}","compare_url":"https://api.github.com/repos/liyakun/gitlabhq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/liyakun/gitlabhq/merges","archive_url":"https://api.github.com/repos/liyakun/gitlabhq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/liyakun/gitlabhq/downloads","issues_url":"https://api.github.com/repos/liyakun/gitlabhq/issues{/number}","pulls_url":"https://api.github.com/repos/liyakun/gitlabhq/pulls{/number}","milestones_url":"https://api.github.com/repos/liyakun/gitlabhq/milestones{/number}","notifications_url":"https://api.github.com/repos/liyakun/gitlabhq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/liyakun/gitlabhq/labels{/name}","releases_url":"https://api.github.com/repos/liyakun/gitlabhq/releases{/id}","created_at":"2015-04-14T10:17:00Z","updated_at":"2015-05-07T14:37:57Z","pushed_at":"2015-06-23T09:01:27Z","git_url":"git://github.com/liyakun/gitlabhq.git","ssh_url":"git@github.com:liyakun/gitlabhq.git","clone_url":"https://github.com/liyakun/gitlabhq.git","svn_url":"https://github.com/liyakun/gitlabhq","homepage":"https://gitlab.com/gitlab-org/gitlab-ce/tree/master","size":96691,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"gitlabhq:master","ref":"master","sha":"5c6d83b8e772dedb753336d83783123e166fbe40","user":{"login":"gitlabhq","id":1086321,"avatar_url":"https://avatars.githubusercontent.com/u/1086321?v=3","gravatar_id":"","url":"https://api.github.com/users/gitlabhq","html_url":"https://github.com/gitlabhq","followers_url":"https://api.github.com/users/gitlabhq/followers","following_url":"https://api.github.com/users/gitlabhq/following{/other_user}","gists_url":"https://api.github.com/users/gitlabhq/gists{/gist_id}","starred_url":"https://api.github.com/users/gitlabhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitlabhq/subscriptions","organizations_url":"https://api.github.com/users/gitlabhq/orgs","repos_url":"https://api.github.com/users/gitlabhq/repos","events_url":"https://api.github.com/users/gitlabhq/events{/privacy}","received_events_url":"https://api.github.com/users/gitlabhq/received_events","type":"Organization","site_admin":false},"repo":{"id":2500088,"name":"gitlabhq","full_name":"gitlabhq/gitlabhq","owner":{"login":"gitlabhq","id":1086321,"avatar_url":"https://avatars.githubusercontent.com/u/1086321?v=3","gravatar_id":"","url":"https://api.github.com/users/gitlabhq","html_url":"https://github.com/gitlabhq","followers_url":"https://api.github.com/users/gitlabhq/followers","following_url":"https://api.github.com/users/gitlabhq/following{/other_user}","gists_url":"https://api.github.com/users/gitlabhq/gists{/gist_id}","starred_url":"https://api.github.com/users/gitlabhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitlabhq/subscriptions","organizations_url":"https://api.github.com/users/gitlabhq/orgs","repos_url":"https://api.github.com/users/gitlabhq/repos","events_url":"https://api.github.com/users/gitlabhq/events{/privacy}","received_events_url":"https://api.github.com/users/gitlabhq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gitlabhq/gitlabhq","description":"GitLab is version control for your server","fork":false,"url":"https://api.github.com/repos/gitlabhq/gitlabhq","forks_url":"https://api.github.com/repos/gitlabhq/gitlabhq/forks","keys_url":"https://api.github.com/repos/gitlabhq/gitlabhq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gitlabhq/gitlabhq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gitlabhq/gitlabhq/teams","hooks_url":"https://api.github.com/repos/gitlabhq/gitlabhq/hooks","issue_events_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/events{/number}","events_url":"https://api.github.com/repos/gitlabhq/gitlabhq/events","assignees_url":"https://api.github.com/repos/gitlabhq/gitlabhq/assignees{/user}","branches_url":"https://api.github.com/repos/gitlabhq/gitlabhq/branches{/branch}","tags_url":"https://api.github.com/repos/gitlabhq/gitlabhq/tags","blobs_url":"https://api.github.com/repos/gitlabhq/gitlabhq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gitlabhq/gitlabhq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gitlabhq/gitlabhq/git/refs{/sha}","trees_url":"https://api.github.com/repos/gitlabhq/gitlabhq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gitlabhq/gitlabhq/statuses/{sha}","languages_url":"https://api.github.com/repos/gitlabhq/gitlabhq/languages","stargazers_url":"https://api.github.com/repos/gitlabhq/gitlabhq/stargazers","contributors_url":"https://api.github.com/repos/gitlabhq/gitlabhq/contributors","subscribers_url":"https://api.github.com/repos/gitlabhq/gitlabhq/subscribers","subscription_url":"https://api.github.com/repos/gitlabhq/gitlabhq/subscription","commits_url":"https://api.github.com/repos/gitlabhq/gitlabhq/commits{/sha}","git_commits_url":"https://api.github.com/repos/gitlabhq/gitlabhq/git/commits{/sha}","comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/comments{/number}","issue_comment_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/comments{/number}","contents_url":"https://api.github.com/repos/gitlabhq/gitlabhq/contents/{+path}","compare_url":"https://api.github.com/repos/gitlabhq/gitlabhq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gitlabhq/gitlabhq/merges","archive_url":"https://api.github.com/repos/gitlabhq/gitlabhq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gitlabhq/gitlabhq/downloads","issues_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues{/number}","pulls_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls{/number}","milestones_url":"https://api.github.com/repos/gitlabhq/gitlabhq/milestones{/number}","notifications_url":"https://api.github.com/repos/gitlabhq/gitlabhq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gitlabhq/gitlabhq/labels{/name}","releases_url":"https://api.github.com/repos/gitlabhq/gitlabhq/releases{/id}","created_at":"2011-10-02T16:25:27Z","updated_at":"2015-06-23T17:59:58Z","pushed_at":"2015-06-23T17:52:52Z","git_url":"git://github.com/gitlabhq/gitlabhq.git","ssh_url":"git@github.com:gitlabhq/gitlabhq.git","clone_url":"https://github.com/gitlabhq/gitlabhq.git","svn_url":"https://github.com/gitlabhq/gitlabhq","homepage":"https://gitlab.com/gitlab-org/gitlab-ce/tree/master","size":167687,"stargazers_count":15768,"watchers_count":15768,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4221,"mirror_url":null,"open_issues_count":667,"forks":4221,"open_issues":667,"watchers":15768,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/9138"},"html":{"href":"https://github.com/gitlabhq/gitlabhq/pull/9138"},"issue":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9138"},"comments":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9138/comments"},"review_comments":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/9138/comments"},"review_comment":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/9138/commits"},"statuses":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/statuses/9f24fe9d54c451b7f4dfe5cdf33a17f95be0f132"}}}}