diff options
| -rw-r--r-- | doClone.go | 6 | ||||
| -rw-r--r-- | doDebian.go | 9 |
2 files changed, 11 insertions, 4 deletions
@@ -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) |
