diff options
| author | Jeff Carr <[email protected]> | 2025-02-07 18:23:05 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-07 18:23:05 -0600 |
| commit | d8a2e56b8885d4a4ddf80925f1b891d5e896a1aa (patch) | |
| tree | 5de23bb2f1c2a3a59cb3cabd0cf289761a8a1b00 /package.proto | |
| parent | 54f4c4be3d35cc2c86706aed673392a01d5c7e45 (diff) | |
updated proto files to conform with autogenpb
Diffstat (limited to 'package.proto')
| -rw-r--r-- | package.proto | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/package.proto b/package.proto index 9dc301b..fdf81a3 100644 --- a/package.proto +++ b/package.proto @@ -8,16 +8,16 @@ import "google/protobuf/timestamp.proto"; // Import the well-known type for Time // global settings for autogenpb `autogenpb:mutex` message Package { - string name = 1; // `autogenpb:unique` // 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) - 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 + string name = 1; // `autogenpb:unique` `autogenpb:sort` + 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) + 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 { // `autogenpb:marshal` - 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; +message Packages { // `autogenpb:marshal` + string uuid = 1; // `autogenpb:uuid:2f26cc03-ea30-4481-a333-ad0acc86e1d3` + string version = 2; // `autogenpb:version:v0.0.1` + repeated Package packages = 3; } |
