From 2c71c4a5fec1fd326c748fc67aa693387fc4a4a1 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 8 Jan 2025 02:39:30 -0600 Subject: keep working on why this doesn't work anymore --- human.go | 56 -------------------------------------------------------- 1 file changed, 56 deletions(-) delete mode 100644 human.go (limited to 'human.go') diff --git a/human.go b/human.go deleted file mode 100644 index a615c0f..0000000 --- a/human.go +++ /dev/null @@ -1,56 +0,0 @@ -package main - -import ( - "fmt" - - "go.wit.com/lib/gui/repolist" - "go.wit.com/log" -) - -func PrintReport(readonly string, onlydirty string, perfect string) { - var count int - - log.Info(repolist.ReportHeader()) - - loop := me.repos.View.ReposSortByName() - for loop.Scan() { - repo := loop.Repo() - - count += 1 - header := repo.StandardHeader() - if onlydirty == "true" { - if repo.CheckDirty() { - log.Info(header + "") - } - continue - } - - if me.forge.Config.IsReadOnly(repo.GetGoPath()) { - if readonly == "true" { - log.Info(header + "readonly") - } - continue - } - if repo.State() == "PERFECT" { - if perfect == "false" { - continue - } - } - if repo.State() != "merge to main" { - log.Info(header + "") - continue - } - if repo.CheckDirty() { - log.Info(header + "") - continue - } - log.Info(header + "") - check := me.forge.FindByGoPath(repo.GetGoPath()) - if check == nil { - log.Info("boo, you didn't git clone", repo.GetGoPath()) - continue - } - me.forge.StandardReleaseHeader(check, repo.State()) - } - log.Info(fmt.Sprintf("EVERYTHING WORKED repo count = %d", count)) -} -- cgit v1.2.3