Skip to content

Get git-archive with GetArchiveRequest

Patrick Bajao requested to merge 24704-git-archive-by-path into master

Gitaly has been updated to accept Path option for GetArchive RPC which is being used by gitlab-workhorse.

Parse the GetArchiveRequest from the send data header and use it when making calling the GetArchive RPC on gitaly.

In order for this to work, gitaly-proto needs to be updated. The protobuf/proto packages needs to be updated as a requirement of gitaly-proto. Updated it to the same version as gitaly.

CE issue: https://gitlab.com/gitlab-org/gitlab-ce/issues/24704

gitaly-proto MR: gitaly-proto!281 (merged)

gitaly MR: gitaly!1142 (merged)

gitlab-ce MR: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/26532

TODO

  • Update vendored gitalypb when related gitaly-proto MR gets released.
Edited by Patrick Bajao

Merge request reports