diff options
author | Dmitriy Zaporozhets <dzaporozhets@gitlab.com> | 2015-02-20 21:40:59 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dzaporozhets@gitlab.com> | 2015-02-20 21:40:59 +0000 |
commit | 2617f8d14af870e5364c6299483164d33006e087 (patch) | |
tree | 2b02d77b232b0e09597257b36d4e8af563a70811 /lib | |
parent | 1f617c3c5ffd3b8b4d1eb29d9cda8a2e7a749133 (diff) | |
parent | 92434b29cc45677fe72bb6a8a5bd09d5ead8d138 (diff) | |
download | gitlab-ce-2617f8d14af870e5364c6299483164d33006e087.tar.gz |
Merge branch 'improve-web-hooks' into 'master'
Improve web hooks
* add git_http_url and git_ssh_url to project web hook
* add visibility_level to project web hook
* add documentation about project visibility_level in API
Fixes #2018, #2030
cc @sytse
See merge request !1560
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/push_data_builder.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/gitlab/push_data_builder.rb b/lib/gitlab/push_data_builder.rb index faea6ae375c..9aa5c8967a7 100644 --- a/lib/gitlab/push_data_builder.rb +++ b/lib/gitlab/push_data_builder.rb @@ -41,6 +41,9 @@ module Gitlab url: project.url_to_repo, description: project.description, homepage: project.web_url, + git_http_url: project.http_url_to_repo, + git_ssh_url: project.ssh_url_to_repo, + visibility_level: project.visibility_level }, commits: [], total_commits_count: commits_count |