zoopb/package.proto

22 lines
889 B
Protocol Buffer
Raw Permalink Normal View History

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; // name: zookeeper-go
string version = 2; // version: 0.0.3
google.protobuf.Timestamp laststamp = 3; // the last time this package was seen (used to timeout entries)
string srcPath = 4; // path to the sources (go.wit.com/apps/zookeeper)
2024-11-22 11:15:14 -06:00
bool installed = 5; // if installed on your machine, this should be set to true
string pkgName = 6; // the apt filename pool/main/f/foo/foo_2.2.2_riscv64.deb
}
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;
}