{"action":"opened","number":8682,"pull_request":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8682","id":28282531,"html_url":"https://github.com/gitlabhq/gitlabhq/pull/8682","diff_url":"https://github.com/gitlabhq/gitlabhq/pull/8682.diff","patch_url":"https://github.com/gitlabhq/gitlabhq/pull/8682.patch","issue_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/8682","number":8682,"state":"open","locked":false,"title":"\"upload\" and \"replace\" functionality added","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":"This merge requst contains the \"upload\" and \"replace\" functionality.\r\nThey enable user upload file to the current repository and replace existing file in the current repository.\r\n![replace_01](https://cloud.githubusercontent.com/assets/7370334/5959112/b1739956-a7cb-11e4-84ab-57e5c4b88d25.png)\r\n![replace_02](https://cloud.githubusercontent.com/assets/7370334/5959113/b175bb64-a7cb-11e4-8d89-c6425cd008de.png)\r\n![upload_01](https://cloud.githubusercontent.com/assets/7370334/5959114/b176469c-a7cb-11e4-9d63-cccd6db5a28d.png)\r\n![upload_02](https://cloud.githubusercontent.com/assets/7370334/5959115/b1792510-a7cb-11e4-80f3-70881f3b0d2d.png)\r\n\r\n\r\n\r\n ","created_at":"2015-01-29T14:30:12Z","updated_at":"2015-01-29T14:30:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8682/commits","review_comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8682/comments","review_comment_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/comments/{number}","comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/8682/comments","statuses_url":"https://api.github.com/repos/gitlabhq/gitlabhq/statuses/1fd97ae446990fb7a181359307d97e4b7389bb3d","head":{"label":"liyakun:7-5-stable","ref":"7-5-stable","sha":"1fd97ae446990fb7a181359307d97e4b7389bb3d","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":30022540,"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":"Open source software to collaborate on code. Follow us on twitter @gitlab","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-01-29T14:03:25Z","updated_at":"2015-01-29T14:03:30Z","pushed_at":"2015-01-29T14:16:23Z","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://about.gitlab.com/","size":144087,"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:7-5-stable","ref":"7-5-stable","sha":"b656b8592fc67b466ae2dd3b99ad35d663721b37","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":"Open source software to collaborate on code. Follow us on twitter @gitlab","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-01-29T12:09:01Z","pushed_at":"2015-01-29T09:03:30Z","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://about.gitlab.com/","size":144087,"stargazers_count":14759,"watchers_count":14759,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3876,"mirror_url":null,"open_issues_count":746,"forks":3876,"open_issues":746,"watchers":14759,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8682"},"html":{"href":"https://github.com/gitlabhq/gitlabhq/pull/8682"},"issue":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/8682"},"comments":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/8682/comments"},"review_comments":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8682/comments"},"review_comment":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8682/commits"},"statuses":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/statuses/1fd97ae446990fb7a181359307d97e4b7389bb3d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":10,"additions":171,"deletions":15,"changed_files":10}}