Skip to content

Convert blob service to use ListLFSPointers

Patrick Steinhardt requested to merge pks-lfs-use-list-lfs-pointers into master

What does this MR do?

Gitaly has recently deprecated both the GetLFSPointers and GetAllLFSPointers RPCs in favor of ListLFSPointers, which is a more flexible variant which simply takes a list of revisions (including the pseudo-revs --not and --all) and then returns all LFS pointers reachable via these revisions.

Convert the BlobService::get_new_lfs_pointers and BlobService::get_all_lfs_pointers RPCs to use the new RPC.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Merge request reports

Loading