stable

Clone or download

Read-only

feat: create a GitLab merge request at branch creation

This is part of story #26801 create a merge request from artifact When creating a GitLab branch from a Tuleap artifact, a new option is proposed to create a GitLab merge request from this newly created branch into the default branch of the GitLab repository. To do this, we call the POST gitlab_merge_request previsouly added in our REST API. Change-Id: I2663410264e847ff1d11919427850a6f880af031

Modified Files

Name
M plugins/gitlab/include/REST/v1/GitlabBranchCreator.php +3 −1 Go to diff View file
A plugins/gitlab/include/REST/v1/GitlabBranchRepresentation.php +42 −0 Go to diff View file
M plugins/gitlab/include/REST/v1/GitlabBranchResource.php +2 −2 Go to diff View file
M plugins/gitlab/scripts/artifact-create-branch-action/po/fr_FR.po +13 −2 Go to diff View file
M plugins/gitlab/scripts/artifact-create-branch-action/po/pt_BR.po +11 −0 Go to diff View file
M plugins/gitlab/scripts/artifact-create-branch-action/src/api/rest-querier.test.ts +16 −0 Go to diff View file
M plugins/gitlab/scripts/artifact-create-branch-action/src/api/rest-querier.ts +35 −7 Go to diff View file
M plugins/gitlab/scripts/artifact-create-branch-action/src/components/App.vue +56 −9 Go to diff View file
M plugins/gitlab/tests/unit/REST/v1/GitlabBranchCreatorTest.php +35 −95 Go to diff View file