stable
Clone or download
Read-only
This is part of story #21336: create a development branch on GitLab out of an artifact. A Git administrator can now set the create branch prefix with REST PATCH gitlab_repositories/:id (feature flag must be set for that). This info is also retrieved in GET projects/:id/gitlab_repositories. Change-Id: I2417649e1aa68bb39e56dbe64d0ca9a5fcc23eb8
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/gitlab/db/install.sql | +5 | −0 | Go to diff View file |
A | plugins/gitlab/db/mysql/2021/202106181024_create_plugin_gitlab_create_branch_prefix_table.php | +47 | −0 | Go to diff View file |
M | plugins/gitlab/db/uninstall.sql | +1 | −0 | Go to diff View file |
A | plugins/gitlab/include/Artifact/Action/CreateBranchPrefixDao.php | +55 | −0 | Go to diff View file |
A | plugins/gitlab/include/Artifact/Action/CreateBranchPrefixUpdater.php | +60 | −0 | Go to diff View file |
M | plugins/gitlab/include/REST/v1/GitlabRepositoryPatchRepresentation.php | +5 | −0 | Go to diff View file |
M | plugins/gitlab/include/REST/v1/GitlabRepositoryRepresentation.php | +8 | −1 | Go to diff View file |
M | plugins/gitlab/include/REST/v1/GitlabRepositoryRepresentationFactory.php | +12 | −1 | Go to diff View file |
M | plugins/gitlab/include/REST/v1/GitlabRepositoryResource.php | +65 | −9 | Go to diff View file |
M | plugins/gitlab/include/Repository/GitlabRepositoryDeletor.php | +8 | −3 | Go to diff View file |
R | plugins/gitlab/include/Repository/GitlabRepositoryNotIntegratedInAnyProjectException.php | Go to diff View file | ||
M | plugins/gitlab/include/Repository/GitlabRepositoryIntegrationUpdator.php | +2 | −2 | Go to diff View file |
M | plugins/gitlab/tests/rest/DatabaseInitialization.php | +5 | −0 | Go to diff View file |
M | plugins/gitlab/tests/rest/Gitlab/ProjectTest.php | +1 | −0 | Go to diff View file |
M | plugins/gitlab/tests/rest/Gitlab/RepositoryTest.php | +45 | −1 | Go to diff View file |
M | plugins/gitlab/tests/unit/Artifact/Action/CreateBranchButtonFetcherTest.php | +98 | −1 | Go to diff View file |
A | plugins/gitlab/tests/unit/Artifact/Action/CreateBranchPrefixUpdaterTest.php | +135 | −0 | Go to diff View file |
M | plugins/gitlab/tests/unit/Repository/GitlabRepositoryDeletorTest.php | +11 | −1 | Go to diff View file |
M | plugins/gitlab/tests/unit/Repository/GitlabRepositoryIntegrationUpdatorTest.php | +1 | −1 | Go to diff View file |