protobuf changes

This commit is contained in:
Jeff Carr 2024-12-05 12:49:07 -06:00
parent d6ecd246e0
commit c275e762c6
4 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@ func findNext() bool {
} else { } else {
log.Info("findNext() update needed", check.GoPath, check.GetTargetVersion(), "vs", check.GetCurrentBranchVersion()) 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") log.Info("findNext() skipping readonly")
continue continue
} }

View File

@ -280,7 +280,7 @@ func showNext() {
} else { } else {
log.Info("IsPrimitive() == false") log.Info("IsPrimitive() == false")
} }
if me.forge.IsPrivate(check.GoPath) { if me.forge.Config.IsPrivate(check.GoPath) {
log.Info("IsPrivate() == true") log.Info("IsPrivate() == true")
} else { } else {
log.Info("IsPrivate() == false") log.Info("IsPrivate() == false")

View File

@ -63,7 +63,7 @@ func PrintReleaseReport(readonly string, perfect string) {
loop := me.forge.Repos.SortByGoPath() loop := me.forge.Repos.SortByGoPath()
for loop.Scan() { for loop.Scan() {
check := loop.Next() check := loop.Next()
if me.forge.IsReadOnly(check) { if me.forge.Config.IsReadOnly(check.GoPath) {
continue continue
} }
if check.GetCurrentBranchVersion() == check.GetTargetVersion() { if check.GetCurrentBranchVersion() == check.GetTargetVersion() {

View File

@ -115,7 +115,7 @@ func main() {
} else { } else {
repo.Status.SetReadOnly(false) repo.Status.SetReadOnly(false)
} }
if me.forge.IsPrivate(repo.GoPath()) { if me.forge.Config.IsPrivate(repo.GoPath()) {
repo.Status.SetPrivate(true) repo.Status.SetPrivate(true)
} else { } else {
repo.Status.SetPrivate(false) repo.Status.SetPrivate(false)