stable

Clone or download

Read-only

Deal with deleted tags

This is part of request #20918 GitLab tags that contains a reference to Tuleap should be backlinked If a tag is deleted on GitLab side, its informations and all related cross-references are removed on Tuleap side. Change-Id: I20bbdc8c45210d42846cd9928e7e02ff9ae1e94d

Modified Files

Name
M plugins/gitlab/include/Repository/Webhook/TagPush/TagInfoDao.php +11 −0 Go to diff View file
M plugins/gitlab/include/Repository/Webhook/TagPush/TagPushWebhookActionProcessor.php +29 −8 Go to diff View file
M plugins/gitlab/include/Repository/Webhook/TagPush/TagPushWebhookData.php +23 −1 Go to diff View file
M plugins/gitlab/include/Repository/Webhook/TagPush/TagPushWebhookDataBuilder.php +22 −2 Go to diff View file
A plugins/gitlab/include/Repository/Webhook/TagPush/TagPushWebhookDeleteAction.php +94 −0 Go to diff View file
M plugins/gitlab/include/gitlabPlugin.php +12 −0 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/TagPush/TagPushWebhookActionProcessorTest.php +111 −0 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/TagPush/TagPushWebhookDataBuilderTest.php +86 −0 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/TagPush/TagPushWebhookDataTest.php +2 −0 Go to diff View file
A plugins/gitlab/tests/unit/Repository/Webhook/TagPush/TagPushWebhookDeleteActionTest.php +173 −0 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/WebhookDataExtractorTest.php +3 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ArtifactsDeletion/ArtifactDependenciesDeletor.php +1 −1 Go to diff View file
M src/common/Reference/CrossReferenceManager.php +3 −8 Go to diff View file
M src/common/dao/CrossReferenceDao.class.php +1 −1 Go to diff View file