summaryrefslogtreecommitdiff
path: root/rill.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-13 08:12:39 -0600
committerJeff Carr <[email protected]>2025-01-13 08:12:39 -0600
commit49a06843e9aafdd74fa110df622816dbe61fe7b3 (patch)
tree97645cc624147e081bbffd7feded82c36323776d /rill.go
parent9b9c51d964a77a9260c02bcda46d4f73a8aabc3c (diff)
debugging a hung mutex lockv0.0.47
Diffstat (limited to 'rill.go')
-rw-r--r--rill.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/rill.go b/rill.go
index 312970b..27af0f2 100644
--- a/rill.go
+++ b/rill.go
@@ -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