Compare commits

..

No commits in common. "master" and "v0.0.147" have entirely different histories.

2 changed files with 3 additions and 6 deletions

View File

@ -56,12 +56,12 @@ message Patch {
google.protobuf.Timestamp ctime = 24; // create time of the patch google.protobuf.Timestamp ctime = 24; // create time of the patch
bool applied = 25; // have you applied this patch? bool applied = 25; // have you applied this patch?
bool upstream = 26; // has this patch been applied upstream? bool upstream = 26; // has this patch been applied upstream?
string patchId = 27; // patchId `autogenpb:unique` string patchId = 27; // patchId
string treeHash = 28; // final tree Hash string treeHash = 28; // final tree Hash
} }
// this is a "PATCH: [1/x]" series // this is a "PATCH: [1/x]" series
message Patches { // `autogenpb:marshal` `autogenpb:gui:Patch` `autogenpb:http` message Patches { // `autogenpb:marshal` `autogenpb:gui:Patch` `autogenpb:http autogenpb:var:Patches`
string uuid = 1; // `autogenpb:uuid:2679065e-c81d-4a00-aca4-03c158a834fb` string uuid = 1; // `autogenpb:uuid:2679065e-c81d-4a00-aca4-03c158a834fb`
string version = 2; // `autogenpb:version:v2.0.0` string version = 2; // `autogenpb:version:v2.0.0`
repeated Patch patches = 3; repeated Patch patches = 3;

View File

@ -21,7 +21,7 @@ func (pset *Set) PrintTable() {
} }
func (mt *PatchesTable) PrintTable() { func (mt *PatchesTable) PrintTable() {
// log.Info("ShowTable() SENDING TO GUI") log.Info("ShowTable() SENDING TO GUI")
mt.MakeTable() mt.MakeTable()
cobol.PrintTable(mt.pb) cobol.PrintTable(mt.pb)
} }
@ -39,9 +39,6 @@ func (pb *Patches) makeStandardTable() *PatchesTable {
col = t.AddPatchId() col = t.AddPatchId()
col.Width = 8 col.Width = 8
col = t.AddNewHash()
col.Width = 8
col = t.AddTimeFunc("ctime", func(p *Patch) time.Time { col = t.AddTimeFunc("ctime", func(p *Patch) time.Time {
// todo // todo
return p.Ctime.AsTime() return p.Ctime.AsTime()