summaryrefslogtreecommitdiff
path: root/human.go
diff options
context:
space:
mode:
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
-}