syntax = "proto3"; package gitpb; import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp // Note: 'autogenpb' treats all .proto variable names as case insensitive // The order here is the order they will be written into the // /home/mirrors/debian/sid/main/binary-riscv64/Packages file message DebInfo { 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 BuildDepends = 7; // string Conflicts = 8; // string Maintainer = 9; // string Packager = 10; // string URL = 11; // string Homepage = 12; // deprecate string Source = 13; // string DebCtime = 14; // string BuildDate = 15; // string GitHash = 16; // string GitDate = 17; // string InstalledSize = 18; // string MD5SUM = 19; // string SHA256 = 20; // string Description = 21; // } message Package { string Package = 1; // `autogenpb:unique` `autogenpb:sort` string Filename = 2; // `autogenpb:unique` `autogenpb:sort` string Namespace = 3; // namespace path to the sources (go.wit.com/apps/zookeeper) string Version = 4; // string Architecture = 5; // DebInfo debInfo = 6; // the information given by "dpkg -I pingus.deb" bool installed = 7; // if installed on your machine, this should be set to true google.protobuf.Timestamp ctime = 8; // the ctime of the file on the mirrors google.protobuf.Timestamp buildDate = 9; // when the package was built google.protobuf.Timestamp gitDate = 10; // the tiem of the last git commit string gitHash = 11; // the git hash it was built from map custom = 12; // for custom strings } 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.4` repeated Package packages = 3; string filename = 4; // `autogenpb:save` -- this enables autogenerated pb.Load() and pb.Save() bool changed = 5; // only writes to disk on Save() if changed == true string gpgKeyID = 6; // the gpg key used to sign the debian mirror Package files string baseDir = 7; // where your mirrors repo starts "/home/mirrors/debian" repeated string Errors = 8; // expirement. probably a dumb one }