more debugging

This commit is contained in:
Jeff Carr 2025-01-18 05:52:41 -06:00
parent 9738e869bf
commit 80109e7e65
2 changed files with 11 additions and 0 deletions

View File

@ -179,6 +179,8 @@ func doRelease() bool {
badExit(errors.New(msg))
}
printDone()
log.Info("sleep 2, then Reload()", check.GetGoPath())
time.Sleep(2 * time.Second) // notsure
check.Reload()
@ -192,9 +194,11 @@ func doRelease() bool {
count := me.forge.PrintReleaseReport(me.found)
log.Info("count =", count)
os.Setenv("FindNextDone", "true")
printDone()
return false
}
log.Info("GOOD TO RUN ANOTHER DAY ON:", me.current.GetGoPath())
printDone()
return true
}

View File

@ -150,6 +150,13 @@ func rePrepareRelease() {
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 {
for _, gopath := range me.done {
log.Info("WARNING already done", repo.GetGoPath(), gopath)