An error occurred while fetching the assigned iteration of the selected issue.
Move Go module archive generation to Gitaly
The Go proxy (!27746 (merged)) and Go packages (!29642 (closed), !34558 (merged)) need to create or otherwise retrieve repository archives. Currently, this is being done in Rails by Packages::Go::ModuleVersion#archive
. Ideally, this would be accomplished with a call to Gitaly:RepositoryService.GetArchive
.
Prerequisites
- [Gitaly] Add support for eliding the path from archive elements (gitaly#2867 (closed), gitaly!2342 (merged))
- [Gitaly] Add support for excluding files and directories from archives (gitaly#2893 (closed), gitaly!2304 (merged))
- [Rails] Add
Gitlab::GitalyClient::RepositoryService#get_archive