summaryrefslogtreecommitdiff
path: root/gitTag.proto
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-29 18:15:25 -0600
committerJeff Carr <[email protected]>2024-11-29 18:15:25 -0600
commit4a79cccffd6cd20e42271eada567c4b8c0edc2f4 (patch)
tree4f1bf43db50e09956abe22d9fb3cb9d9b8ca4717 /gitTag.proto
parent7615317ca72347429f665dc7db9a0fe49d86cc55 (diff)
attempt to use go.wit.com/apps/autogenpb for sort
Diffstat (limited to 'gitTag.proto')
-rw-r--r--gitTag.proto19
1 files changed, 19 insertions, 0 deletions
diff --git a/gitTag.proto b/gitTag.proto
new file mode 100644
index 0000000..14bf4dc
--- /dev/null
+++ b/gitTag.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 author date
+ string hash = 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;
+}