summaryrefslogtreecommitdiff
path: root/testautogen/test.proto
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-29 09:14:30 -0600
committerJeff Carr <[email protected]>2024-11-29 09:14:30 -0600
commit1c0234a442a428df859d28f718ca207a8f859ba5 (patch)
treefd9e15846ad610ef08f54c502ceb5736ae96f6aa /testautogen/test.proto
parentf145e6e74eff9e529623468840084583fe6800c8 (diff)
make test
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'testautogen/test.proto')
-rw-r--r--testautogen/test.proto19
1 files changed, 19 insertions, 0 deletions
diff --git a/testautogen/test.proto b/testautogen/test.proto
new file mode 100644
index 0000000..00dc92c
--- /dev/null
+++ b/testautogen/test.proto
@@ -0,0 +1,19 @@
+syntax = "proto3";
+
+package gitpb;
+
+import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
+
+message GitTag {
+ string refname = 1; // tag name. treated as unique
+ google.protobuf.Timestamp creatordate = 2; // git creatordate
+ google.protobuf.Timestamp authordate = 3; // git creatordate
+ string objectname = 4; // git hash
+ string subject = 5; // git tag subject
+}
+
+message GitTags {
+ string uuid = 1; // I guess why not just have this on each file
+ string version = 2; // maybe can be used for protobuf schema change violations
+ repeated GitTag gitTags = 3;
+}