stable

Clone or download

Read-only

Display raw merge request

This is part of story #17182 reference tuleap artifacts in gitlab merge requests How to test: - Have a integrated gitlab repository - Create/Edit/Merge merge request in this repository with reference to tuleap => Reference can be in Title or Description of the Merge Request => References are created with TULEAP-XXXX (where XXXX is a tuleap artifact id) Expected results: - A xRef is created and displayed in each referenced artifact /!\ I know this patch creates much DRY. A refactor is planed to delete it. Change-Id: Ia7665ae5eb6168b289f26167c5a240a5fc217b0a

Modified Files

Name
M plugins/gitlab/include/Reference/GitlabCommitReferenceBuilder.php +2 −2 Go to diff View file
M plugins/gitlab/include/Reference/GitlabCrossReferenceOrganizer.php +5 −1 Go to diff View file
A plugins/gitlab/include/Reference/GitlabMergeRequestReference.php +50 −0 Go to diff View file
A plugins/gitlab/include/Reference/GitlabMergeRequestReferenceBuilder.php +78 −0 Go to diff View file
R plugins/gitlab/include/Reference/GitlabCommitReferenceExtractor.php Go to diff View file
M plugins/gitlab/include/Repository/Webhook/PostMergeRequest/PostMergeRequestWebhookActionProcessor.php +62 −5 Go to diff View file
M plugins/gitlab/include/Repository/Webhook/WebhookActions.php +1 −1 Go to diff View file
M plugins/gitlab/include/gitlabPlugin.php +35 −0 Go to diff View file
M plugins/gitlab/site-content/fr_FR/LC_MESSAGES/tuleap-gitlab.po +3 −0 Go to diff View file
R plugins/gitlab/tests/unit/Reference/GitlabCommitReferenceExtractorTest.php Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/PostMergeRequest/PostMergeRequestWebhookActionProcessorTest.php +43 −6 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/WebhookActionsTest.php +1 −5 Go to diff View file