-
Stan Hu authored
This commit adds the `include_lfs_blobs_in_archive` feature flag. When switched on, `include_lfs_blobs_in_archive` will enable the inclusion of LFS blobs in archive files by enabling a flag in the `GetArchiveRequest` RPC message. Workhorse will decode the `GetArchiveRequest` and send it to Gitaly, which will run a custom LFS smudge filter (added in https://gitlab.com/gitlab-org/gitaly/-/merge_requests/2577, activated via https://gitlab.com/gitlab-org/gitaly/-/merge_requests/2621). Support for this flag has already been merged via https://gitlab.com/gitlab-org/gitlab/-/merge_requests/44159. To prevent stale archive files from being served from the cache, we introduce a new version prefix in the archive path. When the feature flag is enabled, the archive path will be in the format that looks like: ``` /path/to/project-1/:sha/@v2/archive.zip ``` When the feature flag is disabled, the archive path will revert back to the original form: ``` /path/to/project-1/:sha/archive.zip ``` Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/15079.
98714d0e
This project manages its dependencies using
Bundler.
Learn more