summaryrefslogtreecommitdiff
path: root/package.proto
diff options
context:
space:
mode:
Diffstat (limited to 'package.proto')
-rw-r--r--package.proto83
1 files changed, 42 insertions, 41 deletions
diff --git a/package.proto b/package.proto
index fdb99d7..ddb0ae5 100644
--- a/package.proto
+++ b/package.proto
@@ -6,54 +6,55 @@ import "google/protobuf/timestamp.proto"; // Import the well-known type for Time
// Note: 'autogenpb' treats all .proto variable names as case insensitive
-// DebInfo has the information displayed by "dpkg -I moon-buggy.deb"
// 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 Maintainer = 7; //
- string Homepage = 8; //
- string Description = 9; //
- string Packager = 10; //
- string Source = 11; //
- string Size = 12; //
- string Conflicts = 13; //
- string BuildDepends = 14; //
- string URL = 15; //
- string SHA1 = 16; // probably not used anymore
- string MD5SUM = 17; // deprecate
- string SHA256 = 18; //
- string SHA512 = 19; //
+ 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
- google.protobuf.Timestamp gitHash = 11; // the git hash it was built from
- map<string, string> custom = 12; // for custom strings
+ 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<string, string> 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.3`
- 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; // where your mirrors repo starts "/home/mirrors/debian"
+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
}