summaryrefslogtreecommitdiff
path: root/package.proto
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-15 17:25:11 -0600
committerJeff Carr <[email protected]>2024-11-15 17:25:11 -0600
commit5ef3669e7d35d6b281e2c4b5972fa9958c30f74c (patch)
tree1553423b3495b218e9bd5536f98e04bc0e9c0993 /package.proto
parenteacbb1fb7af28656b269b8bdc287f67a88e4f233 (diff)
stub in sort function
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'package.proto')
-rw-r--r--package.proto18
1 files changed, 18 insertions, 0 deletions
diff --git a/package.proto b/package.proto
new file mode 100644
index 0000000..53859a8
--- /dev/null
+++ b/package.proto
@@ -0,0 +1,18 @@
+syntax = "proto3";
+
+package gitpb;
+
+// import "google/protobuf/duration.proto"; // Import the well-known type for Timestamp
+import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
+
+message Package {
+ string name = 1;
+ string version = 2;
+ google.protobuf.Timestamp laststamp = 4; // the last time we heard anything from this droplet
+}
+
+message Packages {
+ 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 Package packages = 3;
+}