comment out this code for now
This commit is contained in:
parent
bd65b4eb45
commit
2ca9624bed
|
@ -23,18 +23,20 @@ func globalResetOptions(box *gui.Node) {
|
||||||
grid.NewLabel("clean start over")
|
grid.NewLabel("clean start over")
|
||||||
me.deleteGoSrcPkgB = grid.NewButton("rm ~/go/src & ~/go/pkg & ~/.cache/go-build", func() {
|
me.deleteGoSrcPkgB = grid.NewButton("rm ~/go/src & ~/go/pkg & ~/.cache/go-build", func() {
|
||||||
var state string = me.deleteGoSrcPkgB.String()
|
var state string = me.deleteGoSrcPkgB.String()
|
||||||
loop := me.repos.View.ReposSortByName()
|
/*
|
||||||
for loop.Scan() {
|
loop := me.repos.View.ReposSortByName()
|
||||||
repo := loop.Repo()
|
for loop.Scan() {
|
||||||
if repo.GetGoPath() == "go.wit.com/apps/autotypist" {
|
repo := loop.Repo()
|
||||||
continue
|
if repo.GetGoPath() == "go.wit.com/apps/autotypist" {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
if repo.Status.CheckDirty() {
|
||||||
|
log.Warn("repo is dirty. commit your changes first", repo.Status.Path())
|
||||||
|
me.deleteGoSrcPkgB.SetLabel("rm ~/go/src (can't. dirty repos)")
|
||||||
|
return
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if repo.Status.CheckDirty() {
|
*/
|
||||||
log.Warn("repo is dirty. commit your changes first", repo.Status.Path())
|
|
||||||
me.deleteGoSrcPkgB.SetLabel("rm ~/go/src (can't. dirty repos)")
|
|
||||||
return
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
log.Warn("no repos have uncommited changes")
|
log.Warn("no repos have uncommited changes")
|
||||||
log.Warn("TODO: check things are pushed and check every dir in go/src/")
|
log.Warn("TODO: check things are pushed and check every dir in go/src/")
|
||||||
|
|
Loading…
Reference in New Issue