summaryrefslogtreecommitdiff
path: root/findNext.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-19 04:35:58 -0600
committerJeff Carr <[email protected]>2025-01-19 04:35:58 -0600
commitf3e7f02e1647812c8119d38c9a8c9192e6a32b9b (patch)
tree02c58507b157e1796b75acf9eac6b3f745d01e15 /findNext.go
parentf9c5e4c44400c49661db5b54513b25bbe5baa97a (diff)
parentff90528c2e85389d06e3a49c3ff3d42e8f65d230 (diff)
Merge branch 'jcarr' into develv0.23.29
Diffstat (limited to 'findNext.go')
-rw-r--r--findNext.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/findNext.go b/findNext.go
index 536d798..b36594c 100644
--- a/findNext.go
+++ b/findNext.go
@@ -25,11 +25,10 @@ func rillFixGodeps(repo *gitpb.Repo) error {
if me.forge.Config.IsReadOnly(repo.GetGoPath()) {
return nil
}
- if fixGodeps(repo) {
- log.Info("Rill fixGoDeps() returned true")
- } else {
- log.Info("Rill fixGoDeps() returned false")
+ if me.forge.Config.IsReadOnly(repo.GetGoPath()) {
+ return nil
}
+ runGoClean(repo, "--strict")
return nil
}
@@ -38,7 +37,7 @@ func rillFixGodeps(repo *gitpb.Repo) error {
// rename this findNext()
func findNext() bool {
now := time.Now()
- me.forge.RillFuncError(20, 10, rillFixGodeps)
+ me.forge.RillFuncError(rillFixGodeps)
log.Printf("rillFixGodeps() (%d total repos) took:%s\n", me.forge.Repos.Len(), shell.FormatDuration(time.Since(now)))
findCounter = 0