-
- Downloads
There was an error fetching the commit references. Please try again later.
Add new data to project in push, issue, merge-request and note webhooks data
- Add `avatar_url`, `description`, `git_ssh_url`, `git_http_url`, `path_with_namespace` and `default_branch` in `project` in push, issue, merge-request and note webhooks data - Deprecate the `ssh_url` in favor of `git_ssh_url` and `http_url` in favor of `git_http_url` in `project` for push, issue, merge-request and note webhooks data - Deprecate the `repository` key in push, issue, merge-request and note webhooks data, use `project` instead
Showing
- CHANGELOG 5 additions, 0 deletionsCHANGELOG
- app/models/concerns/issuable.rb 4 additions, 7 deletionsapp/models/concerns/issuable.rb
- app/models/project.rb 12 additions, 3 deletionsapp/models/project.rb
- doc/web_hooks/web_hooks.md 196 additions, 44 deletionsdoc/web_hooks/web_hooks.md
- lib/gitlab/note_data_builder.rb 4 additions, 7 deletionslib/gitlab/note_data_builder.rb
- lib/gitlab/push_data_builder.rb 6 additions, 10 deletionslib/gitlab/push_data_builder.rb
- spec/lib/gitlab/note_data_builder_spec.rb 24 additions, 6 deletionsspec/lib/gitlab/note_data_builder_spec.rb
- spec/lib/gitlab/push_data_builder_spec.rb 3 additions, 3 deletionsspec/lib/gitlab/push_data_builder_spec.rb
- spec/models/concerns/issuable_spec.rb 12 additions, 11 deletionsspec/models/concerns/issuable_spec.rb
- spec/models/merge_request_spec.rb 15 additions, 6 deletionsspec/models/merge_request_spec.rb
- spec/support/project_hook_data_shared_example.rb 27 additions, 0 deletionsspec/support/project_hook_data_shared_example.rb
Please register or sign in to comment