From 7396af67a199f8f10d3523913bf9c6e1b5aee9e9 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 17 Dec 2024 07:09:22 -0600 Subject: [PATCH] fixes for new gitpb --- main.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main.go b/main.go index 03e8786..f2702b0 100644 --- a/main.go +++ b/main.go @@ -8,23 +8,23 @@ import ( // go will sit here until the window exits func main() { forge := forgepb.Init() - all := forge.Repos.SortByGoPath() + all := forge.Repos.SortByFullPath() for all.Scan() { check := all.Next() - repotype := check.RepoType() + repotype := check.GetRepoType() if repotype != "plugin" { continue } - if forge.Config.IsReadOnly(check.GoPath) { + if forge.Config.IsReadOnly(check.GetGoPath()) { // ignore read only stuff continue } - log.Info("STARTING 'make install' in", check.GoPath) + log.Info("STARTING 'make install' in", check.GetGoPath()) if err := forge.Install(check, nil); err != nil { - log.Warn("INSTALL FAILED", check.GoPath, err) + log.Warn("INSTALL FAILED", check.GetGoPath(), err) } } }