diff options
Diffstat (limited to 'human.go')
| -rw-r--r-- | human.go | 29 |
1 files changed, 0 insertions, 29 deletions
@@ -54,32 +54,3 @@ func PrintReport(readonly string, onlydirty string, perfect string) { } log.Info(fmt.Sprintf("EVERYTHING WORKED repo count = %d", count)) } - -func PrintReleaseReport(readonly string, perfect string) int { - var count int - - log.Info(repolist.ReleaseReportHeader()) - - loop := me.forge.Repos.SortByFullPath() - for loop.Scan() { - check := loop.Next() - if me.forge.Config.IsReadOnly(check.GetGoPath()) { - continue - } - if check.GetCurrentBranchVersion() == check.GetTargetVersion() { - continue - } - count += 1 - if check == nil { - log.Info("boo, you didn't git clone", check.GetGoPath()) - continue - } - var state string - if check.CheckDirty() { - state = "(dirty)" - } - log.Info(me.forge.StandardReleaseHeader(check, state)) - } - log.Info(fmt.Sprintf("total repo count = %d", count)) - return count -} |
