stable

Clone or download

Read-only

Avoid duplication in database

This is part of story #17178 reference my gitlab repositories in my tuleap project No functional changes expected here. With the old data model, when we integrate the same repository in multiple projects, then the repository entry was duplicated. To have this working, you have to uninstall / reinstall the plugin. Change-Id: I3599effa1f3da4e1e8fdbb184828f13f44de2b81

Modified Files

Name
M plugins/gitlab/db/install.sql +8 −3 Go to diff View file
M plugins/gitlab/db/uninstall.sql +1 −0 Go to diff View file
M plugins/gitlab/include/Repository/GitlabRepository.php +0 −13 Go to diff View file
M plugins/gitlab/include/Repository/GitlabRepositoryDao.php +6 −2 Go to diff View file
M plugins/gitlab/include/Repository/GitlabRepositoryFactory.php +0 −1 Go to diff View file
M plugins/gitlab/tests/rest/DatabaseInitialization.php +7 −3 Go to diff View file
M plugins/gitlab/tests/rest/Gitlab/ProjectTest.php +1 −1 Go to diff View file
M plugins/gitlab/tests/unit/Repository/GitlabRepositoryFactoryTest.php +2 −4 Go to diff View file