From db2296b5b4aa6970deabebb3a8cc867c43dc8898 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 17 Dec 2024 13:13:15 -0600 Subject: fix for new gitpb --- human.go | 29 ----------------------------- 1 file changed, 29 deletions(-) (limited to 'human.go') diff --git a/human.go b/human.go index 1621154..a615c0f 100644 --- a/human.go +++ b/human.go @@ -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 -} -- cgit v1.2.3