BlobsService: implement ListBlobs and ListAllBlobs
These new methods in Gitaly 14.2 are documented in blob.proto
.
On the Rails side, as of 14.2.0, only ListBlobs
is exposed in Gitlab::Git::Repository#blobs
, and the main current use case is to be a new backing for size limits of push operations in GitAccess
(was previously using RefService.ListNewBlobs
). This access control is not relevant for Mercurial anyway, because content is received in one step from the point of view of the Rails app (in Git, commits are received first, and only then references get updated, allowing to do more checking between both).