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 {
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
}

View File

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

View File

@ -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() {

View File

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