diff options
| author | Jeff Carr <[email protected]> | 2025-01-11 05:55:42 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-11 05:55:42 -0600 |
| commit | 48b19f1e70331fc6213a2e3a179e8b18a26aaecc (patch) | |
| tree | 1348fc46484db1909b6c079888d61a046fa78b2b /patchset.proto | |
| parent | 1e38cacfa788fc6c0ed2abcf627f4d6198f0b2ae (diff) | |
new protobuf file
Diffstat (limited to 'patchset.proto')
| -rw-r--r-- | patchset.proto | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/patchset.proto b/patchset.proto index afb725a..00b7134 100644 --- a/patchset.proto +++ b/patchset.proto @@ -5,7 +5,7 @@ package forgepb; import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp message Patch { - string filename = 1; // `autogenpb:unique` + string filename = 1; // `autogenpb:unique` `autogenpb:sort` bytes data = 2; // string repoPath = 3; // path to the git repo string branchName = 4; // @@ -17,10 +17,10 @@ message Patch { } message Patchset { // `autogenpb:marshal` - repeated Patch Patches = 1; - string name = 2; // + repeated Patch Patches = 1; // + string name = 2; // `autogenpb:sort` string comment = 3; // - string gitAuthorName = 4; // + string gitAuthorName = 4; // `autogenpb:sort` string gitAuthorEmail = 5; // google.protobuf.Timestamp ctime = 6; // create time of this patchset string tmpDir = 7; // temp dir @@ -30,8 +30,8 @@ message Patchset { // `autogenpb:marshal` string endBranchHash = 11; // } -message Patchsets { // `autogenpb:marshal` - string uuid = 1; // `autogenpb:uuid:be926ad9-f07f-484c-adf2-d96eeabf3079` // todo: add autogenpb support for this - string version = 2; // could be used for protobuf schema change violations? +message Patchsets { // `autogenpb:marshal` + string uuid = 1; // `autogenpb:uuid:be926ad9-f07f-484c-adf2-d96eeabf3079` // todo: add autogenpb support for this + string version = 2; // `autogenpb:version:v0.0.45` // todo: add autogenpb support for this repeated Patchset Patchsets = 3; } |
