Skip to content

Add an API endpoint to download git repository snapshots (EE)

Nick Thomas requested to merge (removed):ee-39345-get-raw-archive into master

What does this MR do?

EE version of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/18173

In addition to the CE functionality, this MR adds the ability for a Geo secondary to get a snapshot of a repository from a Geo primary. It does not currently attach this functionality to anything.

Are there points in the code the reviewer needs to double check?

In the API, we end up needing to punch a hole through the user_project access checks, which is disconcerting. I've put a fix in, but I don't think it's the right fix.

Why was this MR needed?

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/39345

Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/4767

Edited by Nick Thomas

Merge request reports