diff options
| author | Jeff Carr <[email protected]> | 2024-02-13 13:33:04 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-13 13:33:04 -0600 |
| commit | e4c3aafb7b48ee44b677ee6e5d244ad85aecf985 (patch) | |
| tree | 3c5969dcb90b42e57bbb808edf48aee9a04de629 | |
| parent | 464dcfa28e729ddc7d72d48663c61ff2dd071303 (diff) | |
more accurate name
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | main.go | 2 | ||||
| -rw-r--r-- | pkgsite.go | 2 | ||||
| -rw-r--r-- | submitPatches.go (renamed from summaryBox.go) | 11 |
3 files changed, 11 insertions, 4 deletions
@@ -33,7 +33,7 @@ func main() { vbox2 := box.NewVerticalBox("BOX2") globalBuildOptions(vbox2) - me.summary = summaryBox(vbox2) + me.summary = submitPatchesBox(vbox2) globalResetOptions(box) @@ -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") |
