Merge branch 'jcarr' into devel

This commit is contained in:
Jeff Carr 2025-01-19 04:35:58 -06:00
commit f3e7f02e16
1 changed files with 4 additions and 5 deletions

View File

@ -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