stable

Clone or download

Read-only

Merge commit 'refs/changes/86/23086/3' of ssh://gerrit.tuleap.net:29418/tuleap into HEAD

* ssh://gerrit.tuleap.net:29418/tuleap: story #21335: artifact have a gitlab_mr reference when the MR is created from a TULEAP-XXX branch Change-Id: I0c2b9713a2130f605977b4401a59a34a3b6b8453

Modified Files

Name
M plugins/gitlab/db/install.sql +1 −0 Go to diff View file
A plugins/gitlab/db/mysql/2021/202106151430_add_merge_request_info_source_branch.php +49 −0 Go to diff View file
M plugins/gitlab/include/Repository/Webhook/PostMergeRequest/CrossReferenceFromMergeRequestCreator.php +1 −0 Go to diff View file
M plugins/gitlab/include/Repository/Webhook/PostMergeRequest/MergeRequestTuleapReferenceDao.php +5 −2 Go to diff View file
M plugins/gitlab/include/Repository/Webhook/PostMergeRequest/PostMergeRequestWebhookActionProcessor.php +1 −0 Go to diff View file
M plugins/gitlab/include/Repository/Webhook/PostMergeRequest/PostMergeRequestWebhookData.php +12 −1 Go to diff View file
M plugins/gitlab/include/Repository/Webhook/PostMergeRequest/PostMergeRequestWebhookDataBuilder.php +15 −5 Go to diff View file
M plugins/gitlab/include/Repository/Webhook/PostMergeRequest/PreviouslySavedReferencesRetriever.php +2 −1 Go to diff View file
M plugins/gitlab/include/Repository/Webhook/PostMergeRequest/TuleapReferencesFromMergeRequestDataExtractor.php +27 −9 Go to diff View file
M plugins/gitlab/include/Repository/Webhook/WebhookTuleapReferenceCollection.php +33 −4 Go to diff View file
M plugins/gitlab/include/Repository/Webhook/WebhookTuleapReferencesParser.php +2 −2 Go to diff View file
M plugins/gitlab/include/gitlabPlugin.php +2 −0 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/PostMergeRequest/CrossReferenceFromMergeRequestCreatorTest.php +10 −5 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/PostMergeRequest/PostMergeRequestWebhookActionProcessorTest.php +27 −71 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/PostMergeRequest/PostMergeRequestWebhookAuthorDataRetrieverTest.php +4 −2 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/PostMergeRequest/PostMergeRequestWebhookDataBuilderTest.php +32 −18 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/PostMergeRequest/PreviouslySavedReferencesRetrieverTest.php +17 −6 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/PostMergeRequest/TuleapReferencesFromMergeRequestDataExtractorTest.php +8 −5 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/WebhookActionsTest.php +2 −1 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/WebhookDataExtractorTest.php +2 −1 Go to diff View file
A plugins/gitlab/tests/unit/Repository/Webhook/WebhookTuleapReferenceCollectionTest.php +71 −0 Go to diff View file