more debugging
This commit is contained in:
parent
9738e869bf
commit
80109e7e65
|
@ -179,6 +179,8 @@ func doRelease() bool {
|
||||||
badExit(errors.New(msg))
|
badExit(errors.New(msg))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
printDone()
|
||||||
|
log.Info("sleep 2, then Reload()", check.GetGoPath())
|
||||||
time.Sleep(2 * time.Second) // notsure
|
time.Sleep(2 * time.Second) // notsure
|
||||||
check.Reload()
|
check.Reload()
|
||||||
|
|
||||||
|
@ -192,9 +194,11 @@ func doRelease() bool {
|
||||||
count := me.forge.PrintReleaseReport(me.found)
|
count := me.forge.PrintReleaseReport(me.found)
|
||||||
log.Info("count =", count)
|
log.Info("count =", count)
|
||||||
os.Setenv("FindNextDone", "true")
|
os.Setenv("FindNextDone", "true")
|
||||||
|
printDone()
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
log.Info("GOOD TO RUN ANOTHER DAY ON:", me.current.GetGoPath())
|
log.Info("GOOD TO RUN ANOTHER DAY ON:", me.current.GetGoPath())
|
||||||
|
printDone()
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -150,6 +150,13 @@ func rePrepareRelease() {
|
||||||
me.forge.PrintHumanTable(me.found)
|
me.forge.PrintHumanTable(me.found)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func printDone() {
|
||||||
|
for _, gopath := range me.done {
|
||||||
|
log.Info("WARNING already done", gopath)
|
||||||
|
log.Sleep(5)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
func alreadyDone(repo *gitpb.Repo) bool {
|
func alreadyDone(repo *gitpb.Repo) bool {
|
||||||
for _, gopath := range me.done {
|
for _, gopath := range me.done {
|
||||||
log.Info("WARNING already done", repo.GetGoPath(), gopath)
|
log.Info("WARNING already done", repo.GetGoPath(), gopath)
|
||||||
|
|
Loading…
Reference in New Issue