Implement usage of new Gitaly RPC to get new blobs from push
Instead of invoking git commands from GitLab we are now invoking the `list_new_blobs` RPC from Gitaly that will return all the blobs found in the new revision that's being used for the push operation. With this change we're also fixing a bug by making push size checks only count the size of newly-pushed files
Showing
... | @@ -438,7 +438,7 @@ group :ed25519 do | ... | @@ -438,7 +438,7 @@ group :ed25519 do |
end | end | ||
# Gitaly GRPC client | # Gitaly GRPC client | ||
gem 'gitaly-proto', '~> 0.109.0', require: 'gitaly' | gem 'gitaly-proto', '~> 0.112.0', require: 'gitaly' | ||
gem 'grpc', '~> 1.11.0' | gem 'grpc', '~> 1.11.0' | ||
# Locked until https://github.com/google/protobuf/issues/4210 is closed | # Locked until https://github.com/google/protobuf/issues/4210 is closed | ||
... | ... |
Please register or sign in to comment