Download a folder from repository
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?
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?
-
Changelog entry added, if necessary -
Documentation created/updated via this MR -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Tested in all supported browsers -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the database guides -
Link to e2e tests MR added if this MR has Requires e2e tests label. See the Test Planning Process. -
Security reports checked/validated by reviewer
Closes #24704 (closed)
Edited by Patrick Bajao