Skip to content

Commit

Permalink
remove todo: compression
Browse files Browse the repository at this point in the history
  • Loading branch information
mfridman committed Oct 16, 2024
1 parent fd48e8f commit 428ed38
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
9 changes: 9 additions & 0 deletions buf/registry/plugin/v1beta1/commit.proto
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,12 @@ message Commit {
// The documentation of the Plugin.
string doc = 10;
}

// The compression type of the content a commit provides.
enum CompressionType {
COMPRESSION_TYPE_UNSPECIFIED = 0;
// No compression.
COMPRESSION_TYPE_NONE = 1;
// Zstandard compression.
COMPRESSION_TYPE_ZSTD = 2;
}
11 changes: 0 additions & 11 deletions buf/registry/plugin/v1beta1/resource.proto
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,3 @@ message ResourceRef {
Name name = 2;
}
}

// The compression type of the content.
//
// TODO(mf): is there a better place for this?
enum CompressionType {
COMPRESSION_TYPE_UNSPECIFIED = 0;
// No compression.
COMPRESSION_TYPE_NONE = 1;
// Zstandard compression.
COMPRESSION_TYPE_ZSTD = 2;
}
1 change: 0 additions & 1 deletion buf/registry/plugin/v1beta1/upload_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ package buf.registry.plugin.v1beta1;
import "buf/registry/plugin/v1beta1/code_generation_config.proto";
import "buf/registry/plugin/v1beta1/commit.proto";
import "buf/registry/plugin/v1beta1/plugin.proto";
import "buf/registry/plugin/v1beta1/resource.proto";
import "buf/registry/priv/extension/v1beta1/extension.proto";
import "buf/validate/validate.proto";

Expand Down

0 comments on commit 428ed38

Please sign in to comment.