diff options
| author | Jeff Carr <[email protected]> | 2025-03-10 23:25:27 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-10 23:25:27 -0500 |
| commit | 95d4e03ca44a2bff04d4722248f5dff84a137529 (patch) | |
| tree | 5bd81242ccaaa3c99d15c23ecbfdd8665837eb16 /windowNewPatchsets.go | |
| parent | 3870959747c13246441a0e4e79503e030176736b (diff) | |
more patch cleanups
Diffstat (limited to 'windowNewPatchsets.go')
| -rw-r--r-- | windowNewPatchsets.go | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/windowNewPatchsets.go b/windowNewPatchsets.go index f6517c1..b077923 100644 --- a/windowNewPatchsets.go +++ b/windowNewPatchsets.go @@ -106,11 +106,16 @@ func AddPatchsetsPB(tbox *gui.Node, pb *forgepb.Patchsets) *forgepb.PatchsetsTab }) testf := func(p *forgepb.Patchset) string { - return "test" + return "validate" } tp := t.AddButtonFunc("Analyze", testf) tp.Custom = func(p *forgepb.Patchset) { - log.Info("analyze patches here", p.Name) + log.Info("check patches here", p.Name) + all := p.Patches.All() + for all.Scan() { + patch := all.Next() + log.Info("What is up with patches:", patch.Filename) + } } vp := t.AddButtonFunc("View Patchset", func(p *forgepb.Patchset) string { |
