summaryrefslogtreecommitdiff
path: root/doBuild.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-17 15:10:03 -0500
committerJeff Carr <[email protected]>2025-10-17 15:10:03 -0500
commit7671c9f09e37e6665e3ad63f0811cca2e79d478b (patch)
tree1a2f5705710c4ff0da6725694ac5f7e70fe1d86f /doBuild.go
parenta9b01e71d3783f3ef6ed6ca99544aa568228f33f (diff)
autogenpb Append() and Clone() now don't allow nil
Diffstat (limited to 'doBuild.go')
-rw-r--r--doBuild.go21
1 files changed, 9 insertions, 12 deletions
diff --git a/doBuild.go b/doBuild.go
index 16b08e6..0348609 100644
--- a/doBuild.go
+++ b/doBuild.go
@@ -82,25 +82,22 @@ func doInstall(all *gitpb.Repos) error {
// log.Info("CRAP. INSTALL FAILED", config.FormatDuration(dur), s, stat.Err)
msg := "go install FAILED " + s
log.Info(msg)
- // found := me.forge.Repos.FindByFullPath(s)
- found := me.forge.Repos.FindByNamespace(s)
+ found := me.forge.Repos.FindByFullPath(s)
if found == nil {
log.Info("found", found, "'"+s+"'")
- // panic(msg)
+ panic("wrong namespace logic. couldn't find repo from stats")
}
- // log.Info("found r.Namespace", found.Namespace)
- // failed.Clone(found)
failed.Append(found)
}
os.Remove(filepath.Join(me.homedir, "go/bin/forged"))
- if failed.Len() > 0 {
- for r := range failed.IterAll() {
- log.Info("r.Namespace", r.Namespace)
- }
- footer := failed.PrintForgedTable()
- log.Info("TABLE WITH NULLS", footer)
- me.argv.BadExit("go install Failed for: "+footer, nil)
+ // if failed.Len() > 0 {
+ for r := range failed.IterAll() {
+ log.Info("r.Namespace", r.Namespace)
}
+ footer = failed.PrintForgedTable()
+ log.Info("TABLE WITH NULLS", footer)
+ me.argv.BadExit("go install Failed for: "+footer, nil)
+ // }
return nil
}