Skip to content

Download a folder from repository

Patrick Bajao requested to merge 24704-download-repository-path into master

What does this MR do?

This is based from the Community contribution MR from @kiameisomabes: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20604.

Add links to download a folder from repository in different formats (zip, tar.gz, tar.bz2, or tar).

Add GetArchiveRequest to git-archive params.

Modifies Git::Repository#archive_metadata to append path to ArchivePrefix so it'll not hit the cache of repository archive when it already exists.

gitlab-ee MR is created as ee_compat_check fails: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10533.

What are the relevant issue numbers?

#24704 (closed)

TODOs

  • Update GITALY_SERVER_VERSION when version required gets released.
  • Update GITLAB_WORKHORSE_VERSION when version required gets released.
  • Update gitaly-proto gem when version required gets released.

Does this MR meet the acceptance criteria?

Closes #24704 (closed)

Edited by Patrick Bajao

Merge request reports