summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-03 11:57:24 -0500
committerJeff Carr <[email protected]>2025-10-03 11:57:24 -0500
commit23f5a97c6149249f2b79e737e4f5f1f9315d17d9 (patch)
tree50902e5251ca3ec63b9c2b5ba126e46e9f64d7ef
parent5998a60acb8e29f1ca2416df77eae106532925ef (diff)
check repomap paths
-rw-r--r--doClone.go6
-rw-r--r--doDebian.go9
2 files changed, 11 insertions, 4 deletions
diff --git a/doClone.go b/doClone.go
index a033cb7..6ab28ee 100644
--- a/doClone.go
+++ b/doClone.go
@@ -45,8 +45,12 @@ func doClone() error {
if argv.Clone.Check != nil {
if repo == nil {
log.Info("don't have repo", namespace)
+ continue
}
- log.Info("does url match?", parts)
+ if repo.URL == parts[1] {
+ continue
+ }
+ log.Info("url wrong?", repo.URL, parts[1])
continue
}
if repo != nil {
diff --git a/doDebian.go b/doDebian.go
index ebdd4f3..8d6aa3e 100644
--- a/doDebian.go
+++ b/doDebian.go
@@ -6,6 +6,7 @@ package main
import (
"path/filepath"
+ "go.wit.com/lib/gui/shell"
"go.wit.com/lib/protobuf/gitpb"
"go.wit.com/log"
)
@@ -51,10 +52,12 @@ func doDebian() {
me.forge.ConfigRill(16, 16)
stats := me.forge.RunOnRepos(found, doInstallRepo)
for s, stat := range stats {
- log.Info(s, stat.Err)
- if stat.Err != nil {
- badExit(stat.Err)
+ if stat.Err == nil {
+ continue
}
+ dur := stat.End.Sub(stat.Start)
+ log.Info("CRAP. INSTALL FAILED", shell.FormatDuration(dur), s, stat.Err)
+ badExit(stat.Err)
}
me.forge.ConfigRill(16, 16)