summaryrefslogtreecommitdiff
path: root/set.proto
diff options
context:
space:
mode:
Diffstat (limited to 'set.proto')
-rw-r--r--set.proto32
1 files changed, 32 insertions, 0 deletions
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;
+}