diff options
Diffstat (limited to 'package.proto')
| -rw-r--r-- | package.proto | 59 |
1 files changed, 28 insertions, 31 deletions
diff --git a/package.proto b/package.proto index 9ba9055..7470c8d 100644 --- a/package.proto +++ b/package.proto @@ -8,37 +8,34 @@ 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` `autogenpb:sort` - google.protobuf.Timestamp laststamp = 2; // the last time this package was seen (used to timeout entries) - google.protobuf.Timestamp ctime = 3; // the last time this package was seen (used to timeout entries) - string Namespace = 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 Version = 7; // version: 0.0.3 - string Architecture = 8; // - string Source = 9; // - string Package = 10; // - string Size = 11; // - string Depends = 12; // - string Maintainer = 13; // - string Filename = 14; // - string Description = 15; // - string Packager = 16; // - string Conflicts = 17; // - string BuildDepends = 18; // - string PackageBuildDate = 19; // - string GitTagDate = 20; // - string URL = 21; // - string SHA1 = 22; // - string MD5SUM = 23; // - string SHA256 = 24; // - string SHA512 = 25; // - map<string, string> core = 26; // catch all for whatever is left over + string Package = 1; // `autogenpb:unique` `autogenpb:sort` + string Filename = 2; // `autogenpb:unique` `autogenpb:sort` + string Namespace = 3; // path to the sources (go.wit.com/apps/zookeeper) + string Version = 4; // version: 0.0.3 + string Architecture = 5; // + string Depends = 6; // + string Maintainer = 7; // + string Description = 8; // + string Packager = 9; // + string Source = 10; // + string Size = 11; // + string Conflicts = 12; // + string BuildDepends = 13; // + string URL = 14; // + string SHA1 = 15; // + string MD5SUM = 16; // + string SHA256 = 17; // + string SHA512 = 18; // + bool installed = 19; // if installed on your machine, this should be set to true + google.protobuf.Timestamp BuildDate = 20; // + google.protobuf.Timestamp GitDate = 21; // + google.protobuf.Timestamp ctime = 22; // create time on the mirrors + map<string, string> core = 23; // catch all for whatever is left over } -message Packages { // `autogenpb:marshal` `autogenpb:gui` `autogenpb:http` - string uuid = 1; // `autogenpb:uuid:2f26cc03-ea30-4481-a333-ad0acc86e1d3` - string version = 2; // `autogenpb:version:v0.0.1` - repeated Package packages = 3; - string filename = 4; // `autogenpb:save` -- this enables autogenerated pb.Load() and pb.Save() +message Packages { // `autogenpb:marshal` `autogenpb:gui` `autogenpb:http` + string uuid = 1; // `autogenpb:uuid:2f26cc03-ea30-4481-a333-ad0acc86e1d3` + string version = 2; // `autogenpb:version:v0.0.1` + repeated Package packages = 3; + string filename = 4; // `autogenpb:save` -- this enables autogenerated pb.Load() and pb.Save() } |
