Skip to content
Snippets Groups Projects

Download a folder from repository

Merged 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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • @patrickbajao - The changes are looking good. Left a few thoughts for your consideration.

  • Patrick Bajao added 2 commits

    added 2 commits

    • a0db7efd - Use existing classes for display inline content
    • acc1e934 - Don't translate file extensions

    Compare with previous version

  • Please register or sign in to reply
    Loading