diff options
Diffstat (limited to 'stat.proto')
| -rw-r--r-- | stat.proto | 26 |
1 files changed, 14 insertions, 12 deletions
@@ -23,24 +23,26 @@ message GitRef { } // TODO: use patch.proto instead message Stat { - string patchId = 1; // `autogenpb:unique` `autogenpb:sort` - string hash = 2; // `autogenpb:unique` `autogenpb:sort` - string treeHash = 3; // `autogenpb:unique` `autogenpb:sort` - google.protobuf.Timestamp authorTime = 4; // `autogenpb:unique` `autogenpb:sort` - google.protobuf.Timestamp commitTime = 5; // `autogenpb:unique` `autogenpb:sort` - string sanitizedSubject = 6; // - string name = 7; // - string remote = 8; // blank unless REMOTE - string subject = 9; // git tag subject - GitRef.RefType type = 10; // is set by git as the master branch - repeated GitRef refs = 11; // this is dumb, but works for now. duplicate information is stored sometimes + string patchId = 1; // `autogenpb:sort` + string hash = 2; // `autogenpb:sort` + string treeHash = 3; // `autogenpb:sort` + string tagHash = 4; // `autogenpb:unique` `autogenpb:sort` + google.protobuf.Timestamp authorTime = 5; // `autogenpb:sort` + google.protobuf.Timestamp commitTime = 6; // `autogenpb:sort` + string sanitizedSubject = 7; // `autogenpb:sort` + string name = 8; // `autogenpb:unique` `autogenpb:sort` + string remote = 9; // blank unless REMOTE + string subject = 10; // git tag subject + GitRef.RefType type = 11; // is set by git as the master branch + repeated GitRef refs = 12; // this is dumb, but works for now. duplicate information is stored sometimes + string tags = 13; // git tag subject } // normally stored as .git/*.pb cache files // TODO: use patch.proto instead message Stats { // `autogenpb:marshal` `autogenpb:gui` `autogenpb:http` string uuid = 1; // `autogenpb:uuid:ba236558-f8a1-4c47-a14a-8856a24d3f72` - string version = 2; // `autogenpb:version:v0.0.3` + string version = 2; // `autogenpb:version:v0.0.7 go.wit.com/lib/protobuf/gitpb` repeated Stat stats = 3; string filename = 4; // `autogenpb:save` -- this enables autogenerated pb.Load() and pb.Save() string head = 5; // the current origin hash |
