diff options
author | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2019-10-17 15:19:27 +0300 |
---|---|---|
committer | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2019-10-17 16:30:59 +0300 |
commit | 9690e862f2d584b856fbf66c96be73db34670616 (patch) | |
tree | 344fb8dfefe5034b2135dfcec920b1908da005a2 /proto/cleanup.proto | |
parent | 78de944558414c1ae8f97ed900ce303725fdea90 (diff) |
Remove deprecated ApplyBfgObjectMap
The RPC got replaced by a version that's streaming the input. Which
allows us to remove this RPC, as it's unused for multiple releases.
Closes: https://gitlab.com/gitlab-org/gitaly/issues/2094
Diffstat (limited to 'proto/cleanup.proto')
-rw-r--r-- | proto/cleanup.proto | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/proto/cleanup.proto b/proto/cleanup.proto index c4cc1480d..db4cbcc50 100644 --- a/proto/cleanup.proto +++ b/proto/cleanup.proto @@ -7,14 +7,6 @@ option go_package = "gitlab.com/gitlab-org/gitaly/proto/go/gitalypb"; import "shared.proto"; service CleanupService { - // Deprecated in favour of ApplyBfgObjectMapStream - rpc ApplyBfgObjectMap(stream ApplyBfgObjectMapRequest) returns (ApplyBfgObjectMapResponse) { - option (op_type) = { - op: MUTATOR - target_repository_field: "1" - }; - } - rpc ApplyBfgObjectMapStream(stream ApplyBfgObjectMapStreamRequest) returns (stream ApplyBfgObjectMapStreamResponse) { option (op_type) = { op: MUTATOR @@ -23,16 +15,6 @@ service CleanupService { } } -message ApplyBfgObjectMapRequest { - Repository repository = 1; - // A raw object-map file as generated by BFG: https://rtyley.github.io/bfg-repo-cleaner - // Each line in the file has two object SHAs, space-separated - the original - // SHA of the object, and the SHA after BFG has rewritten the object. - bytes object_map = 2; -} - -message ApplyBfgObjectMapResponse {} - message ApplyBfgObjectMapStreamRequest { // Only available on the first message Repository repository = 1; |