BigW Consortium Gitlab
Add new data to project in push, issue, merge-request and note webhooks data _Originally opened at !2738 by @bugagazavr._ - - - **What does this MR do?** Adds more data to hooks, makes repository data in all hook more dry ( use one hook_attrs method for repository data in all hooks ) **Are there points in the code the reviewer needs to double check?** 1. https://gitlab.com/bugagazavr/gitlab-ce/blob/extend-hooks/app/models/project.rb#L738 2. https://gitlab.com/bugagazavr/gitlab-ce/blob/extend-hooks/app/models/concerns/issuable.rb#L132 3. https://gitlab.com/bugagazavr/gitlab-ce/blob/extend-hooks/lib/gitlab/push_data_builder.rb#L52 4. https://gitlab.com/bugagazavr/gitlab-ce/blob/extend-hooks/lib/gitlab/note_data_builder.rb#L56 **Why was this MR needed?** More information about user for push events, and more data about repositiry ( project ) **What are the relevant issue numbers?** No **Screenshots (if relevant)** No See merge request !2788
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
api | Loading commit data... | |
gitlab_stubs | Loading commit data... | |
matchers | Loading commit data... | |
api_helpers.rb | Loading commit data... | |
capybara.rb | Loading commit data... | |
capybara_helpers.rb | Loading commit data... | |
db_cleaner.rb | Loading commit data... | |
email_format_shared_examples.rb | Loading commit data... | |
factory_girl.rb | Loading commit data... | |
filter_spec_helper.rb | Loading commit data... | |
fixture_helpers.rb | Loading commit data... | |
jira_service_helper.rb | Loading commit data... | |
login_helpers.rb | Loading commit data... | |
markdown_feature.rb | Loading commit data... | |
mentionable_shared_examples.rb | Loading commit data... | |
project_hook_data_shared_example.rb | Loading commit data... | |
relative_url.rb | Loading commit data... | |
repo_helpers.rb | Loading commit data... | |
select2_helper.rb | Loading commit data... | |
services_shared_context.rb | Loading commit data... | |
setup_builds_storage.rb | Loading commit data... | |
stub_configuration.rb | Loading commit data... | |
stub_gitlab_calls.rb | Loading commit data... | |
stub_gitlab_data.rb | Loading commit data... | |
taskable_shared_examples.rb | Loading commit data... | |
test_env.rb | Loading commit data... | |
wait_for_ajax.rb | Loading commit data... | |
webmock.rb | Loading commit data... |