diff options
| author | Jeff Carr <[email protected]> | 2024-12-17 13:13:15 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-17 13:13:15 -0600 |
| commit | db2296b5b4aa6970deabebb3a8cc867c43dc8898 (patch) | |
| tree | 589f53b8cac6bff11d8df5d137cc42d4e22c3440 /human.go | |
| parent | 3d22172fa9b58a03bb59aba0b9c730d31ec2ff3f (diff) | |
fix for new gitpb
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 -} |
