summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-13 13:33:04 -0600
committerJeff Carr <[email protected]>2024-02-13 13:33:04 -0600
commite4c3aafb7b48ee44b677ee6e5d244ad85aecf985 (patch)
tree3c5969dcb90b42e57bbb808edf48aee9a04de629
parent464dcfa28e729ddc7d72d48663c61ff2dd071303 (diff)
more accurate name
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--main.go2
-rw-r--r--pkgsite.go2
-rw-r--r--submitPatches.go (renamed from summaryBox.go)11
3 files changed, 11 insertions, 4 deletions
diff --git a/main.go b/main.go
index 87e2c3e..e070b65 100644
--- a/main.go
+++ b/main.go
@@ -33,7 +33,7 @@ func main() {
vbox2 := box.NewVerticalBox("BOX2")
globalBuildOptions(vbox2)
- me.summary = summaryBox(vbox2)
+ me.summary = submitPatchesBox(vbox2)
globalResetOptions(box)
diff --git a/pkgsite.go b/pkgsite.go
index 6656c39..db61518 100644
--- a/pkgsite.go
+++ b/pkgsite.go
@@ -6,8 +6,8 @@ import (
"path/filepath"
"go.wit.com/gui"
- "go.wit.com/log"
"go.wit.com/lib/gui/shell"
+ "go.wit.com/log"
)
func docsBox(vbox *gui.Node) {
diff --git a/summaryBox.go b/submitPatches.go
index c40ba2b..510479c 100644
--- a/summaryBox.go
+++ b/submitPatches.go
@@ -23,9 +23,9 @@ type develSummary struct {
allp []*patch
}
-func summaryBox(box *gui.Node) *develSummary {
+func submitPatchesBox(box *gui.Node) *develSummary {
s := new(develSummary)
- group1 := box.NewGroup("Development Branch Summary")
+ group1 := box.NewGroup("Submit Patches Summary")
s.grid = group1.RawGrid()
s.updateB = s.grid.NewButton("Update Stats", func() {
@@ -40,6 +40,13 @@ func summaryBox(box *gui.Node) *develSummary {
}
})
+ s.updateB = s.grid.NewButton("Check repos are working", func() {
+ for _, repo := range me.allrepos {
+ log.Info("Check repo here:", repo.String())
+ return
+ }
+ })
+
s.grid.NextRow()
s.totalOL = gadgets.NewOneLiner(s.grid, "Total")