Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2021-09-15 10:18:16 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2021-09-15 10:20:54 +0300
commite61d7828e502e4cd7ad89c9c303ba5a0fb1d937f (patch)
treed86049ea1d3f28266374ed1ab982ea0ad01840a3 /proto/ref.proto
parentccd8ea3e1436d6464ac5f67e6bebd1ae317f4d50 (diff)
ref: Deprecate `ListNewBlobs()` RPC
The `ListNewBlobs()` RPC call has been replaced upstream by the more flexible alternative `ListBlobs()`, which can do the same but across multiple new refs as once. Let's deprecate this RPC such that we can remove it in v14.4. Changelog: deprecated
Diffstat (limited to 'proto/ref.proto')
-rw-r--r--proto/ref.proto3
1 files changed, 3 insertions, 0 deletions
diff --git a/proto/ref.proto b/proto/ref.proto
index 5ba7f289e..eb07ba0c2 100644
--- a/proto/ref.proto
+++ b/proto/ref.proto
@@ -106,7 +106,10 @@ service RefService {
};
}
+ // ListNewBlobs is equivalent to ListBlobs with `["--not", "--all", "--not",
+ // commit_id]`. This RPC call will be removed in v14.4.
rpc ListNewBlobs(ListNewBlobsRequest) returns (stream ListNewBlobsResponse) {
+ option deprecated = true;
option (op_type) = {
op: ACCESSOR
};