From 8d5d7ca85cca96129eb4c725e86e691c860bbdc5 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 5 Mar 2025 04:35:38 -0600 Subject: [PATCH] hmm. notsure what is going on --- prepareRelease.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/prepareRelease.go b/prepareRelease.go index fc21d31..04eed3a 100644 --- a/prepareRelease.go +++ b/prepareRelease.go @@ -8,6 +8,7 @@ import ( "time" "go.wit.com/lib/gui/shell" + "go.wit.com/lib/protobuf/forgepb" "go.wit.com/lib/protobuf/gitpb" "go.wit.com/log" ) @@ -62,7 +63,6 @@ func rillPurge(repo *gitpb.Repo) error { } func rillRestore(repo *gitpb.Repo) error { - log.Info("go-mod-clean --smart", repo.GetGoPath()) if me.forge.Config.IsReadOnly(repo.GetGoPath()) { return nil } @@ -70,7 +70,9 @@ func rillRestore(repo *gitpb.Repo) error { return nil } + log.Info("go-mod-clean --smart START", repo.GetGoPath()) _, err := repo.RunQuiet([]string{"go-mod-clean", "--smart"}) + log.Info("go-mod-clean --smart END", repo.GetGoPath()) rillcount += 1 if err != nil { log.Info("go-mod-clean --smart failed", repo.GetGoPath(), err) @@ -86,6 +88,8 @@ func rePrepareRelease() { log.Printf("rePrepareRelease() START rill go-mod-clean --smart (11 seconds?)") rillcount = 0 + forgepb.RillX = 2 + forgepb.RillY = 2 now := time.Now() me.forge.RillFuncError(rillRestore) log.Printf("showRestore() (%d total repos) took:%s\n", rillcount, shell.FormatDuration(time.Since(now)))