diff options
| author | Jeff Carr <[email protected]> | 2024-02-20 14:58:51 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-20 14:58:51 -0600 |
| commit | e4126c886b9349557be4578c751cfb640a7a742c (patch) | |
| tree | 776428157e0976cf0369b9a83b26aa1bff85e1f2 /submitPatches.go | |
| parent | 2b0f48985521977a8bf40d4d67eb9a614b843773 (diff) | |
attempt to write out patch files again
Diffstat (limited to 'submitPatches.go')
| -rw-r--r-- | submitPatches.go | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/submitPatches.go b/submitPatches.go index 07a6c5e..e7430c1 100644 --- a/submitPatches.go +++ b/submitPatches.go @@ -55,7 +55,7 @@ func submitPatchesBox(box *gui.Node) *patchSummary { group1 := box.NewGroup("Submit Patches Summary") s.grid = group1.RawGrid() - s.grid.NewButton("Count Patches", func() { + s.grid.NewButton("Update Patch Counts", func() { var repocount, patchcount int for _, repo := range repolist.AllRepos() { if repo.ReadOnly() { @@ -86,15 +86,20 @@ func submitPatchesBox(box *gui.Node) *patchSummary { s.totalUserRepos.SetText(strconv.Itoa(repocount) + " go repos") }) + // this Update is deprecated and probably should be the function above + /* s.grid.NewButton("summary.Update()", func() { // update the stats s.Update() }) + */ - s.grid.NewButton("List Patches", func() { + s.grid.NewButton("Make Patches", func() { + /* this used to be the way and should probably be revisited for i, p := range s.allp { log.Info(i, p.Ref, p.RS.String()) } + */ }) s.grid.NextRow() @@ -160,6 +165,7 @@ func submitPatchesBox(box *gui.Node) *patchSummary { log.Info("something went wrong making", patchdir) return } + me.repos.View.MakePatchset(patchdir) }) // disable these until there are not dirty repos s.reason.Disable() |
