stable
Clone or download
Read-only
We make an attempt to retrieve the default branch of the GitLab repositories to prefill the source field. If for some reasons that fail (e.g. the GitLab API is too slow) we just skip over and do not prefill it as the branch creation itself might still work. Part of story #21336: create a development branch on GitLab out of an artifact Change-Id: I067b2ea6a1e02d812050b4b2d9aff76ca33994b9
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/gitlab/package-lock.json | +3 | −0 | Go to diff View file |
M | plugins/gitlab/package.json | +1 | −0 | Go to diff View file |
M | plugins/gitlab/scripts/artifact-create-branch-action/src/api/rest-querier.test.ts | +16 | −2 | Go to diff View file |
M | plugins/gitlab/scripts/artifact-create-branch-action/src/api/rest-querier.ts | +19 | −1 | Go to diff View file |
M | plugins/gitlab/scripts/artifact-create-branch-action/src/components/App.vue | +17 | −23 | Go to diff View file |
A | plugins/gitlab/scripts/artifact-create-branch-action/src/fetch-gitlab-repositories-information.test.ts | +62 | −0 | Go to diff View file |
A | plugins/gitlab/scripts/artifact-create-branch-action/src/fetch-gitlab-repositories-information.ts | +59 | −0 | Go to diff View file |
M | plugins/gitlab/scripts/artifact-create-branch-action/src/modal.ts | +4 | −1 | Go to diff View file |