stable

Clone or download

Read-only

feat: Link the created Gitlab group with integrations

Part of story #26799 associate a Tuleap project and a GitLab group Don't forget to run `make dev-forgeupgrade`. Whether they were created or already existing, integrations are linked to the newly created group. You can check the database table `plugin_gitlab_group_repository_integration`. GitLab Projects that were already integrated in Tuleap also count in the total now. I think it makes more sense to count all the projects in the GitLab Group, if people expect to import 3 projects they will see the same number. Change-Id: Iaa803d3159e4e0c502f73cb97b616376155ec82f

Modified Files

Name
M plugins/gitlab/adr/glossary.md +5 −3 Go to diff View file
M plugins/gitlab/db/install.sql +6 −0 Go to diff View file
A plugins/gitlab/db/mysql/2022/20220907154127_create_group_repository_integration_table.php +42 −0 Go to diff View file
M plugins/gitlab/db/uninstall.sql +1 −0 Go to diff View file
A plugins/gitlab/include/Group/GroupRepositoryIntegrationDAO.php +36 −0 Go to diff View file
A plugins/gitlab/include/Group/LinkARepositoryIntegrationToAGroup.php +26 −0 Go to diff View file
A plugins/gitlab/include/Group/NewRepositoryIntegrationLinkedToAGroup.php +32 −0 Go to diff View file
M plugins/gitlab/include/REST/v1/GitlabGroupResource.php +13 −12 Go to diff View file
M plugins/gitlab/include/Repository/GitlabRepositoryGroupLinkHandler.php +48 −22 Go to diff View file
M plugins/gitlab/tests/unit/Group/GitlabRepositoryGroupLinkHandlerTest.php +33 −26 Go to diff View file
A plugins/gitlab/tests/unit/Test/Stubs/LinkARepositoryIntegrationToAGroupStub.php +45 −0 Go to diff View file