submit sends patches
This commit is contained in:
parent
e68cb3e80f
commit
b7a6001ba4
2
Makefile
2
Makefile
|
@ -32,7 +32,7 @@ goimports:
|
||||||
@# // gofmt -w -r '"go.wit.com/gui/gadgets" -> "go.wit.com/lib/gadgets"' *.go
|
@# // gofmt -w -r '"go.wit.com/gui/gadgets" -> "go.wit.com/lib/gadgets"' *.go
|
||||||
|
|
||||||
gocui: install
|
gocui: install
|
||||||
forge --gui gocui
|
forge --gui gocui --do-gui
|
||||||
|
|
||||||
redomod-all:
|
redomod-all:
|
||||||
forge --do-RedoGoMod
|
forge --do-RedoGoMod
|
||||||
|
|
|
@ -37,11 +37,11 @@ type mainType struct {
|
||||||
mainbox *gui.Node
|
mainbox *gui.Node
|
||||||
|
|
||||||
// the window from the /lib/gui/gowit package
|
// the window from the /lib/gui/gowit package
|
||||||
lw *gadgets.BasicWindow
|
// lw *gadgets.BasicWindow
|
||||||
|
|
||||||
// #### Sorting options for the repolist
|
// #### Sorting options for the repolist
|
||||||
autoHidePerfect *gui.Node
|
// autoHidePerfect *gui.Node
|
||||||
autoHideReadOnly *gui.Node
|
// autoHideReadOnly *gui.Node
|
||||||
|
|
||||||
// checkbox for --dry-run
|
// checkbox for --dry-run
|
||||||
autoDryRun *gui.Node
|
autoDryRun *gui.Node
|
||||||
|
|
|
@ -1,14 +1,11 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"os"
|
|
||||||
"path/filepath"
|
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"go.wit.com/gui"
|
"go.wit.com/gui"
|
||||||
"go.wit.com/lib/gadgets"
|
"go.wit.com/lib/gadgets"
|
||||||
"go.wit.com/lib/gui/repolist"
|
"go.wit.com/lib/gui/repolist"
|
||||||
"go.wit.com/lib/gui/shell"
|
|
||||||
"go.wit.com/log"
|
"go.wit.com/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -160,6 +157,8 @@ func submitPatchesBox(box *gui.Node) *patchSummary {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
s.submitB = s.grid.NewButton("Submit", func() {
|
s.submitB = s.grid.NewButton("Submit", func() {
|
||||||
|
sendDevelDiff()
|
||||||
|
/*
|
||||||
dirname := "submit-patchset.quilt"
|
dirname := "submit-patchset.quilt"
|
||||||
patchdir := filepath.Join(me.userHomePwd.String(), dirname)
|
patchdir := filepath.Join(me.userHomePwd.String(), dirname)
|
||||||
if shell.Exists(patchdir) {
|
if shell.Exists(patchdir) {
|
||||||
|
@ -172,6 +171,7 @@ func submitPatchesBox(box *gui.Node) *patchSummary {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
me.repos.View.MakePatchset(patchdir)
|
me.repos.View.MakePatchset(patchdir)
|
||||||
|
*/
|
||||||
})
|
})
|
||||||
s.grid.NewButton("Show Repos", func() {
|
s.grid.NewButton("Show Repos", func() {
|
||||||
s.Update()
|
s.Update()
|
Loading…
Reference in New Issue