summaryrefslogtreecommitdiff
path: root/helperPatches.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-23 07:43:30 -0500
committerJeff Carr <[email protected]>2025-09-23 07:43:30 -0500
commit1e3f4a3b9feb0cc8bfa450a311ccca2b5f36362f (patch)
tree92a280acbc84e0bcea51612ac27fbb45536a78b9 /helperPatches.go
parente300719241a8bfe62db429f349315ff15816062d (diff)
new .proto files
Diffstat (limited to 'helperPatches.go')
-rw-r--r--helperPatches.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/helperPatches.go b/helperPatches.go
index 24a6617..bfc36f7 100644
--- a/helperPatches.go
+++ b/helperPatches.go
@@ -38,7 +38,7 @@ type stdPatchsetTableWin struct {
sync.Mutex
win *gadgets.GenericWindow // the machines gui window
box *gui.Node // the machines gui parent box widget
- TB *forgepb.PatchsetsTable // the gui table buffer
+ TB *forgepb.SetsTable // the gui table buffer
update bool // if the window should be updated
}
@@ -54,7 +54,7 @@ func (w *stdPatchsetTableWin) Toggle() {
*/
/*
- etimef := func(e *forgepb.Patchset) string {
+ etimef := func(e *forgepb.Set) string {
etime := e.Etime.AsTime()
s := etime.Format("2006/01/02 15:04")
if strings.HasPrefix(s, "1970/") {
@@ -67,14 +67,14 @@ func (w *stdPatchsetTableWin) Toggle() {
*/
/*
- ctimef := func(p *forgepb.Patchset) string {
+ ctimef := func(p *forgepb.Set) string {
ctime := p.Ctime.AsTime()
return ctime.Format("2006/01/02 15:04")
}
}
*/
-func setPatchsetState(p *forgepb.Patchset) {
+func setPatchsetState(p *forgepb.Set) {
var bad bool
var good bool
var done bool = true
@@ -209,7 +209,7 @@ func setNewCommitHash(patch *forgepb.Patch) bool {
}
/*
-func setNewCommitHashLoop(p *forgepb.Patchset) bool {
+func setNewCommitHashLoop(p *forgepb.Set) bool {
var done bool = true
for patch := range p.Patches.IterAll() {
setNewCommitHashLoop(patch)
@@ -219,7 +219,7 @@ func setNewCommitHashLoop(p *forgepb.Patchset) bool {
}
*/
-func AddAllPatches(notdone *forgepb.Patches, pset *forgepb.Patchset, full bool) {
+func AddAllPatches(notdone *forgepb.Patches, pset *forgepb.Set, full bool) {
for patch := range pset.Patches.IterAll() {
comment := cleanSubject(patch.Comment)
@@ -233,7 +233,7 @@ func AddAllPatches(notdone *forgepb.Patches, pset *forgepb.Patchset, full bool)
}
}
-func AddNotDonePatches(notdone *forgepb.Patches, pset *forgepb.Patchset, full bool) {
+func AddNotDonePatches(notdone *forgepb.Patches, pset *forgepb.Set, full bool) {
for patch := range pset.Patches.IterAll() {
comment := cleanSubject(patch.Comment)