diff options
| author | Jeff Carr <[email protected]> | 2025-09-11 21:39:57 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-11 21:39:57 -0500 |
| commit | fa3e6c3cd5568a0ca730814017273e73a46741a2 (patch) | |
| tree | 5897c38df9cf57e92c2ba2c47e6f86be79b7d60b /windowPatches.go | |
| parent | 101e9bd0d2a511f7960bb8264fcab2100b41a0f5 (diff) | |
cleaning out old file
Diffstat (limited to 'windowPatches.go')
| -rw-r--r-- | windowPatches.go | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/windowPatches.go b/windowPatches.go index c2d8c4b..a7d40b5 100644 --- a/windowPatches.go +++ b/windowPatches.go @@ -58,34 +58,12 @@ func makePatchesWin(patches *forgepb.Patches) *stdPatchTableWin { grid.NewLabel(fmt.Sprintf("total repos")) grid.NextRow() - grid.NewButton("Update", func() { - log.Info("TODO: doesn't update this window") - me.forge.GetPatches() - dwin.win.Custom() - // loadUpstreamPatchsets() - }) - grid.NewButton("Apply All", func() { var count int all := patches.SortByFilename() for all.Scan() { p := all.Next() applyPatchNew(p) - /* - rn := p.Namespace - repo := me.forge.FindByGoPath(rn) - if repo == nil { - log.Info("Could not figure out repo path", rn) - return - } - count += 1 - if _, err := applyAndTrackPatch(repo, p); err != nil { - cmd := []string{"git", "am", "--abort"} - err := repo.RunVerbose(cmd) - log.Info("warn user of git am error", err) - return - } - */ } log.Info("ALL PATCHES WORKED! count =", count) }) |
