summaryrefslogtreecommitdiff
path: root/human.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-17 13:13:15 -0600
committerJeff Carr <[email protected]>2024-12-17 13:13:15 -0600
commitdb2296b5b4aa6970deabebb3a8cc867c43dc8898 (patch)
tree589f53b8cac6bff11d8df5d137cc42d4e22c3440 /human.go
parent3d22172fa9b58a03bb59aba0b9c730d31ec2ff3f (diff)
fix for new gitpb
Diffstat (limited to 'human.go')
-rw-r--r--human.go29
1 files changed, 0 insertions, 29 deletions
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
-}