diff options
| -rw-r--r-- | init.go | 2 | ||||
| -rw-r--r-- | rill.go | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -43,6 +43,8 @@ func Init() *Forge { f.rillUpdate(20, 10) if f.configSave { + // taking this out to debug Marshal() panic + // os.Exit(-1) f.ConfigSave() f.configSave = false } @@ -30,6 +30,7 @@ func (f *Forge) rillUpdate(pool1 int, pool2 int) (int, error) { // Concurrency = 10 err := rill.ForEach(rills, pool2, func(repo *gitpb.Repo) error { counter += 1 + // log.Info("rill.ForEach() gopath=", repo.GetGoPath()) return f.updateRepo(repo) }) @@ -38,7 +39,7 @@ func (f *Forge) rillUpdate(pool1 int, pool2 int) (int, error) { func (f *Forge) updateRepo(repo *gitpb.Repo) error { if !repo.IsValidDir() { - log.Printf("%10s %-50s", "bad git dir\n", repo.FullPath) + log.Printf("%10s %-50s gopath=%s\n", "git dir is missing:", repo.FullPath, repo.GetGoPath()) f.Repos.DeleteByFullPath(repo.FullPath) f.configSave = true return nil |
