stable

Clone or download

Read-only

Deletion of a GitLab repository should delete its commits

As soon as we remove the last integration of a GitLab repository, its commits that had been saved in the database are not anymore relevant and can be safely removed. Part of story #17182: reference tuleap artifacts in gitlab merge requests Change-Id: Ib3df273babfa66099e14a5da63f77ce7d54d7a8a

Modified Files

Name
M plugins/gitlab/include/REST/v1/GitlabRepositoryResource.php +3 −1 Go to diff View file
M plugins/gitlab/include/Reference/Commit/GitlabCommitFactory.php +3 −3 Go to diff View file
M plugins/gitlab/include/Repository/GitlabRepositoryDeletor.php +10 −2 Go to diff View file
R plugins/gitlab/include/Repository/Webhook/PostPush/Commits/CommitTuleapReferenceDAO.php Go to diff View file
M plugins/gitlab/include/Repository/Webhook/PostPush/PostPushWebhookActionProcessor.php +3 −3 Go to diff View file
M plugins/gitlab/include/gitlabPlugin.php +3 −3 Go to diff View file
M plugins/gitlab/tests/unit/Reference/Commit/GitlabCommitFactoryTest.php +3 −3 Go to diff View file
M plugins/gitlab/tests/unit/Repository/GitlabRepositoryDeletorTest.php +13 −1 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/PostPush/PostPushWebhookActionProcessorTest.php +3 −3 Go to diff View file