diff options
| author | Jeff Carr <[email protected]> | 2025-10-24 00:57:31 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-24 00:57:31 -0500 |
| commit | 2ae3b613b8e1cac099eb029ad1baa18cc72bec6d (patch) | |
| tree | 72a5921324f15a6f470c41afd1e67c94fdbc0d45 | |
| parent | bfdb07b4342c33a2d82ce8066a37565c92d35173 (diff) | |
use a table for output
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | doBuild.debian.go | 7 |
2 files changed, 7 insertions, 2 deletions
@@ -27,7 +27,7 @@ install: goimports -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME}" install-verbose: goimports - GO111MODULE=off go install -v \ + GO111MODULE=off go install -v -x \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME}" vet: diff --git a/doBuild.debian.go b/doBuild.debian.go index 570ef94..a34bc43 100644 --- a/doBuild.debian.go +++ b/doBuild.debian.go @@ -11,6 +11,7 @@ import ( "strings" "go.wit.com/lib/ENV" + "go.wit.com/lib/cobol" "go.wit.com/lib/debian" "go.wit.com/lib/fhelp" "go.wit.com/lib/gui/shell" @@ -22,6 +23,7 @@ import ( func findBuildDeb() *gitpb.Repos { initForge() + var dumbtable [][]string found := gitpb.NewRepos() for check := range me.forge.Repos.IterAll() { if me.forge.Config.IsReadOnly(check.GetNamespace()) { @@ -59,13 +61,16 @@ func findBuildDeb() *gitpb.Repos { if shouldBuild(check) == "yes" { // need to build } else { - log.Info(check.FullPath, "not building for reasons: todo: get reason") + // log.Info(check.FullPath, "not building for reasons: todo: get reason") + dumbtable = append(dumbtable, []string{check.FullPath, "not building for reasons: todo: get reason"}) continue } } found.Append(check) } + footer := cobol.SimpleTable(dumbtable) + log.Info("simple build table footer:", footer) found.ActualSort() return found |
