From c275e762c6aeb68b300a41aa8bb4a65b22233867 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 5 Dec 2024 12:49:07 -0600 Subject: [PATCH] protobuf changes --- findNext.go | 2 +- http.go | 2 +- human.go | 2 +- main.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/findNext.go b/findNext.go index 225cd65..84730eb 100644 --- a/findNext.go +++ b/findNext.go @@ -31,7 +31,7 @@ func findNext() bool { } else { log.Info("findNext() update needed", check.GoPath, check.GetTargetVersion(), "vs", check.GetCurrentBranchVersion()) } - if me.forge.IsReadOnly(check) { + if me.forge.Config.IsReadOnly(check.GoPath) { log.Info("findNext() skipping readonly") continue } diff --git a/http.go b/http.go index 846f93a..512394e 100644 --- a/http.go +++ b/http.go @@ -280,7 +280,7 @@ func showNext() { } else { log.Info("IsPrimitive() == false") } - if me.forge.IsPrivate(check.GoPath) { + if me.forge.Config.IsPrivate(check.GoPath) { log.Info("IsPrivate() == true") } else { log.Info("IsPrivate() == false") diff --git a/human.go b/human.go index e771238..5b2aaf9 100644 --- a/human.go +++ b/human.go @@ -63,7 +63,7 @@ func PrintReleaseReport(readonly string, perfect string) { loop := me.forge.Repos.SortByGoPath() for loop.Scan() { check := loop.Next() - if me.forge.IsReadOnly(check) { + if me.forge.Config.IsReadOnly(check.GoPath) { continue } if check.GetCurrentBranchVersion() == check.GetTargetVersion() { diff --git a/main.go b/main.go index c14aebd..126f5f6 100644 --- a/main.go +++ b/main.go @@ -115,7 +115,7 @@ func main() { } else { repo.Status.SetReadOnly(false) } - if me.forge.IsPrivate(repo.GoPath()) { + if me.forge.Config.IsPrivate(repo.GoPath()) { repo.Status.SetPrivate(true) } else { repo.Status.SetPrivate(false)