diff options
| author | Jeff Carr <[email protected]> | 2025-03-05 04:35:38 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-05 04:35:38 -0600 |
| commit | 8d5d7ca85cca96129eb4c725e86e691c860bbdc5 (patch) | |
| tree | 47b6277b2cc420f8e41e4b05f1f69241e6d96073 /prepareRelease.go | |
| parent | 6add3f9982adfa0944b2b73b67270a9852e4e64d (diff) | |
hmm. notsure what is going on
Diffstat (limited to 'prepareRelease.go')
| -rw-r--r-- | prepareRelease.go | 6 |
1 files changed, 5 insertions, 1 deletions
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))) |
