From 81fc15e743f0c2acfbf2520a9ed2bfbcba431b12 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 23 Sep 2025 07:44:07 -0500 Subject: less confusing patch .proto files --- set.proto | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 set.proto (limited to 'set.proto') diff --git a/set.proto b/set.proto new file mode 100644 index 0000000..3420bd0 --- /dev/null +++ b/set.proto @@ -0,0 +1,32 @@ +// Copyright 2025 WIT.COM Inc Licensed GPL 3.0 + +syntax = "proto3"; + +package forgepb; + +import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp +import "patch.proto"; // Import the well-known type for Timestamp + +message Set { // `autogenpb:marshal` + Patches patches = 1; // `autogenpb:sort` + string uuid = 2; + google.protobuf.Timestamp ctime = 3; // when the patches were submitted + string submitter = 4; // who submitted these + string name = 5; // "fixes for foo" + string gitAuthorName = 6; // `autogenpb:sort` + string gitAuthorEmail = 7; + string hostname = 8; + string tmpDir = 9; // temp dir. deprecate this + string startBranchName = 10; // deprecate this + string endBranchName = 11; // deprecate this + string startBranchHash = 12; // deprecate this + string endBranchHash = 13; // deprecate this + string comment = 14; // deprecate this + string state = 15; // deprecate this +} + +message Sets { // `autogenpb:marshal` `autogenpb:gui` `autogenpb:nomutex` `autogenpb:http` + string uuid = 1; // `autogenpb:uuid:be926ad9-f07f-484c-adf2-d96eeabf3079` + string version = 2; // `autogenpb:version:v0.0.45` + repeated Set sets = 3; +} -- cgit v1.2.3