diff options
Diffstat (limited to 'patch.proto')
| -rw-r--r-- | patch.proto | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/patch.proto b/patch.proto new file mode 100644 index 0000000..a35bca6 --- /dev/null +++ b/patch.proto @@ -0,0 +1,24 @@ +syntax = "proto3"; + +package forgepb; + +import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp + +message Patch { + string filename = 1; // `autogenpb:unique` + bytes data = 2; // + string repoPath = 3; // path to the git repo + string branchName = 4; // + string branchHash = 5; // + google.protobuf.Timestamp ctime = 7; // the git commit timestamp of the version +} + +message Patchs { // `autogenpb:marshal` + string uuid = 1; // `autogenpb:uuid:0703df95-6a38-4422-994b-c55d3d6001f9` // todo: add file support + string version = 2; // could be used for protobuf schema change violations? + repeated Patch Patchs = 3; + string name = 4; // could be used for protobuf schema change violations? + string comment = 5; // could be used for protobuf schema change violations? + string gitAuthor = 6; // could be used for protobuf schema change violations? + google.protobuf.Timestamp ctime = 7; // the git commit timestamp of the version +} |
