summaryrefslogtreecommitdiff
path: root/bug.proto
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-05-22 17:32:22 -0500
committerJeff Carr <[email protected]>2025-05-22 17:32:22 -0500
commit55a0052c71960b5f85f81fed30b5154d187102bf (patch)
tree5f26425a6b2faf0faadcf5933d22568e0e7946cc /bug.proto
Diffstat (limited to 'bug.proto')
-rw-r--r--bug.proto19
1 files changed, 19 insertions, 0 deletions
diff --git a/bug.proto b/bug.proto
new file mode 100644
index 0000000..5bed185
--- /dev/null
+++ b/bug.proto
@@ -0,0 +1,19 @@
+syntax = "proto3";
+
+// protobufs for git-bug
+
+package bugpb;
+
+// import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
+import "google/protobuf/any.proto"; // Import 'Any'
+
+message Bug {
+ string uuid = 1;
+ string name = 2;
+}
+
+message Bugs { // `autogenpb:marshal`
+ string uuid = 1; // `autogenpb:uuid:cdf6711e-f948-4376-9e72-cf1912a96cee`
+ string version = 2; // `autogenpb:version:v1`
+ repeated Bug Bugs = 3; // this never gets used, but it's not worth violating the autogenpb standard
+}