summaryrefslogtreecommitdiff
path: root/submitPatches.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-21 08:32:59 -0600
committerJeff Carr <[email protected]>2024-02-21 08:32:59 -0600
commitdf0ff5af1cd92287f79c7033cde4d339e0d8b628 (patch)
tree9230b0b2cc4d4e776c0a91e50f36c6685f92a764 /submitPatches.go
parent42c506c0982ea85d54443a39e4995c44060287df (diff)
purge code for the autotypist
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'submitPatches.go')
-rw-r--r--submitPatches.go20
1 files changed, 8 insertions, 12 deletions
diff --git a/submitPatches.go b/submitPatches.go
index b4ebeaf..79f0f2f 100644
--- a/submitPatches.go
+++ b/submitPatches.go
@@ -86,21 +86,13 @@ 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()
- })
- */
-
+ /* this used to be the way and should probably be revisited
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()
@@ -139,8 +131,12 @@ func submitPatchesBox(box *gui.Node) *patchSummary {
s.grid.NewLabel("")
s.grid.NewLabel("")
- s.grid.NewButton("merge from user", func() {})
- s.grid.NewButton("merge from devel", func() {})
+ s.grid.NewButton("merge from user", func() {
+ log.Info("this should make a patchset of your patches")
+ })
+ s.grid.NewButton("merge from devel", func() {
+ log.Info("this probably should not exist")
+ })
s.grid.NextRow()
group1 = box.NewGroup("Create GUI Patch Set")