From 55a0052c71960b5f85f81fed30b5154d187102bf Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 22 May 2025 17:32:22 -0500 Subject: Day1 --- bug.proto | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 bug.proto (limited to 'bug.proto') 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 +} -- cgit v1.2.3