Skip to content

Add endpoint to update a git submodule reference

What does this MR do?

This MR adds a new endpoint (api/v4/projects/:id/repositories/submodules/:submodule) to update the submodule reference stored in a repository.

gitaly!936 (merged), gitaly-proto!233 (merged) and gitaly-proto!237 (merged) are also needed for this MR.

Why was this MR needed?

Some users that automate their workflows needed an endpoint to automatically update all the related projects where the submodule is included.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/41213

Edited by Francisco Javier López

Merge request reports

Loading