{"action":"created","comment":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/comments/29944384","id":29944384,"diff_hunk":"@@ -80,6 +80,11 @@ production: &base\n       wiki: true\n       snippets: false\n \n+      ## Default web hooks settings","path":"config/gitlab.yml.example","position":4,"original_position":4,"commit_id":"365bbf8a67da6346a9f78741bfe3c247a936b90b","original_commit_id":"365bbf8a67da6346a9f78741bfe3c247a936b90b","user":{"login":"jvanbaarsen","id":1362793,"avatar_url":"https://avatars.githubusercontent.com/u/1362793?v=3","gravatar_id":"","url":"https://api.github.com/users/jvanbaarsen","html_url":"https://github.com/jvanbaarsen","followers_url":"https://api.github.com/users/jvanbaarsen/followers","following_url":"https://api.github.com/users/jvanbaarsen/following{/other_user}","gists_url":"https://api.github.com/users/jvanbaarsen/gists{/gist_id}","starred_url":"https://api.github.com/users/jvanbaarsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvanbaarsen/subscriptions","organizations_url":"https://api.github.com/users/jvanbaarsen/orgs","repos_url":"https://api.github.com/users/jvanbaarsen/repos","events_url":"https://api.github.com/users/jvanbaarsen/events{/privacy}","received_events_url":"https://api.github.com/users/jvanbaarsen/received_events","type":"User","site_admin":false},"body":"Ok, so for this PR the config needs to be moved to some web interface right? Can you say if you would like to see this merged in? If so I'll guide the rest of the PR.","created_at":"2015-05-08T14:36:18Z","updated_at":"2015-05-08T14:36:18Z","html_url":"https://github.com/gitlabhq/gitlabhq/pull/9252#discussion_r29944384","pull_request_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/9252","_links":{"self":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/comments/29944384"},"html":{"href":"https://github.com/gitlabhq/gitlabhq/pull/9252#discussion_r29944384"},"pull_request":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/9252"}}},"pull_request":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/9252","id":34812225,"html_url":"https://github.com/gitlabhq/gitlabhq/pull/9252","diff_url":"https://github.com/gitlabhq/gitlabhq/pull/9252.diff","patch_url":"https://github.com/gitlabhq/gitlabhq/pull/9252.patch","issue_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9252","number":9252,"state":"open","locked":false,"title":"List of default web hooks could be setted up","user":{"login":"newmen","id":983853,"avatar_url":"https://avatars.githubusercontent.com/u/983853?v=3","gravatar_id":"","url":"https://api.github.com/users/newmen","html_url":"https://github.com/newmen","followers_url":"https://api.github.com/users/newmen/followers","following_url":"https://api.github.com/users/newmen/following{/other_user}","gists_url":"https://api.github.com/users/newmen/gists{/gist_id}","starred_url":"https://api.github.com/users/newmen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newmen/subscriptions","organizations_url":"https://api.github.com/users/newmen/orgs","repos_url":"https://api.github.com/users/newmen/repos","events_url":"https://api.github.com/users/newmen/events{/privacy}","received_events_url":"https://api.github.com/users/newmen/received_events","type":"User","site_admin":false},"body":"Now we can setup our GitLab for auto create web hooks for each new project","created_at":"2015-05-06T12:39:15Z","updated_at":"2015-05-08T14:36:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e7420af1ec06d69784292e3a95a2e09afda02f2a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/9252/commits","review_comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/9252/comments","review_comment_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9252/comments","statuses_url":"https://api.github.com/repos/gitlabhq/gitlabhq/statuses/365bbf8a67da6346a9f78741bfe3c247a936b90b","head":{"label":"newmen:auto-web-hooks","ref":"auto-web-hooks","sha":"365bbf8a67da6346a9f78741bfe3c247a936b90b","user":{"login":"newmen","id":983853,"avatar_url":"https://avatars.githubusercontent.com/u/983853?v=3","gravatar_id":"","url":"https://api.github.com/users/newmen","html_url":"https://github.com/newmen","followers_url":"https://api.github.com/users/newmen/followers","following_url":"https://api.github.com/users/newmen/following{/other_user}","gists_url":"https://api.github.com/users/newmen/gists{/gist_id}","starred_url":"https://api.github.com/users/newmen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newmen/subscriptions","organizations_url":"https://api.github.com/users/newmen/orgs","repos_url":"https://api.github.com/users/newmen/repos","events_url":"https://api.github.com/users/newmen/events{/privacy}","received_events_url":"https://api.github.com/users/newmen/received_events","type":"User","site_admin":false},"repo":{"id":35147187,"name":"gitlabhq","full_name":"newmen/gitlabhq","owner":{"login":"newmen","id":983853,"avatar_url":"https://avatars.githubusercontent.com/u/983853?v=3","gravatar_id":"","url":"https://api.github.com/users/newmen","html_url":"https://github.com/newmen","followers_url":"https://api.github.com/users/newmen/followers","following_url":"https://api.github.com/users/newmen/following{/other_user}","gists_url":"https://api.github.com/users/newmen/gists{/gist_id}","starred_url":"https://api.github.com/users/newmen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newmen/subscriptions","organizations_url":"https://api.github.com/users/newmen/orgs","repos_url":"https://api.github.com/users/newmen/repos","events_url":"https://api.github.com/users/newmen/events{/privacy}","received_events_url":"https://api.github.com/users/newmen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/newmen/gitlabhq","description":"GitLab is version control for your server","fork":true,"url":"https://api.github.com/repos/newmen/gitlabhq","forks_url":"https://api.github.com/repos/newmen/gitlabhq/forks","keys_url":"https://api.github.com/repos/newmen/gitlabhq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/newmen/gitlabhq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/newmen/gitlabhq/teams","hooks_url":"https://api.github.com/repos/newmen/gitlabhq/hooks","issue_events_url":"https://api.github.com/repos/newmen/gitlabhq/issues/events{/number}","events_url":"https://api.github.com/repos/newmen/gitlabhq/events","assignees_url":"https://api.github.com/repos/newmen/gitlabhq/assignees{/user}","branches_url":"https://api.github.com/repos/newmen/gitlabhq/branches{/branch}","tags_url":"https://api.github.com/repos/newmen/gitlabhq/tags","blobs_url":"https://api.github.com/repos/newmen/gitlabhq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/newmen/gitlabhq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/newmen/gitlabhq/git/refs{/sha}","trees_url":"https://api.github.com/repos/newmen/gitlabhq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/newmen/gitlabhq/statuses/{sha}","languages_url":"https://api.github.com/repos/newmen/gitlabhq/languages","stargazers_url":"https://api.github.com/repos/newmen/gitlabhq/stargazers","contributors_url":"https://api.github.com/repos/newmen/gitlabhq/contributors","subscribers_url":"https://api.github.com/repos/newmen/gitlabhq/subscribers","subscription_url":"https://api.github.com/repos/newmen/gitlabhq/subscription","commits_url":"https://api.github.com/repos/newmen/gitlabhq/commits{/sha}","git_commits_url":"https://api.github.com/repos/newmen/gitlabhq/git/commits{/sha}","comments_url":"https://api.github.com/repos/newmen/gitlabhq/comments{/number}","issue_comment_url":"https://api.github.com/repos/newmen/gitlabhq/issues/comments{/number}","contents_url":"https://api.github.com/repos/newmen/gitlabhq/contents/{+path}","compare_url":"https://api.github.com/repos/newmen/gitlabhq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/newmen/gitlabhq/merges","archive_url":"https://api.github.com/repos/newmen/gitlabhq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/newmen/gitlabhq/downloads","issues_url":"https://api.github.com/repos/newmen/gitlabhq/issues{/number}","pulls_url":"https://api.github.com/repos/newmen/gitlabhq/pulls{/number}","milestones_url":"https://api.github.com/repos/newmen/gitlabhq/milestones{/number}","notifications_url":"https://api.github.com/repos/newmen/gitlabhq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/newmen/gitlabhq/labels{/name}","releases_url":"https://api.github.com/repos/newmen/gitlabhq/releases{/id}","created_at":"2015-05-06T08:14:18Z","updated_at":"2015-05-06T08:14:26Z","pushed_at":"2015-05-06T12:37:32Z","git_url":"git://github.com/newmen/gitlabhq.git","ssh_url":"git@github.com:newmen/gitlabhq.git","clone_url":"https://github.com/newmen/gitlabhq.git","svn_url":"https://github.com/newmen/gitlabhq","homepage":"https://gitlab.com/gitlab-org/gitlab-ce/tree/master","size":94659,"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":"7af59c54fc1fcf9d19927e76be49318689684f8b","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-05-08T14:17:01Z","pushed_at":"2015-05-08T14:17:01Z","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":166964,"stargazers_count":15491,"watchers_count":15491,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4131,"mirror_url":null,"open_issues_count":727,"forks":4131,"open_issues":727,"watchers":15491,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/9252"},"html":{"href":"https://github.com/gitlabhq/gitlabhq/pull/9252"},"issue":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9252"},"comments":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9252/comments"},"review_comments":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/9252/comments"},"review_comment":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/9252/commits"},"statuses":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/statuses/365bbf8a67da6346a9f78741bfe3c247a936b90b"}}}}