stable
Clone or download
Read-only
If you create or edit a merge request in gitlab, then a comment is added to it by Tuleap, like for commits. Note: currently there is too much comments on a given MR. Every time its status is changed, then the comment is added. We should add a comment only if the content is edited. It will be done in a dedicated changeset. Part of story #17182: reference tuleap artifacts in gitlab merge requests Change-Id: I96e8f5ba669345cc51e0781fe79617b8c72b1c09
Modified Files
Name | ||||
---|---|---|---|---|
R | plugins/gitlab/include/Repository/Webhook/PostPush/Presenters/PostPushCommitBotCommentPresenter.php | Go to diff View file | ||
R | plugins/gitlab/include/Repository/Webhook/PostPush/Presenters/PostPushCommitBotCommentReferencePresenter.php | Go to diff View file | ||
R | plugins/gitlab/include/Repository/Webhook/PostPush/Presenters/PostPushCommitBotCommentReferencePresenterBuilder.php | Go to diff View file | ||
R | plugins/gitlab/include/Repository/Webhook/PostPush/PostPushCommitCredentialsRetriever.php | Go to diff View file | ||
A | plugins/gitlab/include/Repository/Webhook/PostMergeRequest/PostMergeRequestBotCommenter.php | +110 | −0 | Go to diff View file |
M | plugins/gitlab/include/Repository/Webhook/PostMergeRequest/PostMergeRequestWebhookActionProcessor.php | +16 | −5 | Go to diff View file |
M | plugins/gitlab/include/Repository/Webhook/PostPush/PostPushCommitBotCommenter.php | +12 | −11 | Go to diff View file |
M | plugins/gitlab/include/gitlabPlugin.php | +12 | −4 | Go to diff View file |
R | plugins/gitlab/templates/gitlab-bot-comment.mustache | Go to diff View file | ||
A | plugins/gitlab/templates/gitlab-bot-comment-merge-request.mustache | +14 | −0 | Go to diff View file |
R | plugins/gitlab/tests/unit/Repository/Webhook/PostPush/Presenters/PostPushCommitBotCommentReferencePresenterBuilderTest.php | Go to diff View file | ||
R | plugins/gitlab/tests/unit/Repository/Webhook/PostPush/PostPushCommitCredentialsRetrieverTest.php | Go to diff View file | ||
A | plugins/gitlab/tests/unit/Repository/Webhook/PostMergeRequest/PostMergeRequestBotCommenterTest.php | +259 | −0 | Go to diff View file |
M | plugins/gitlab/tests/unit/Repository/Webhook/PostMergeRequest/PostMergeRequestWebhookActionProcessorTest.php | +48 | −20 | Go to diff View file |
M | plugins/gitlab/tests/unit/Repository/Webhook/PostPush/PostPushCommitBotCommenterTest.php | +16 | −15 | Go to diff View file |