From c8339bec60ce41e9eb9769ac249bfb9701b967d4 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 30 Aug 2025 21:49:35 -0500 Subject: [PATCH] notes for the future --- repoNew.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/repoNew.go b/repoNew.go index 9ed3a60..a8f026f 100644 --- a/repoNew.go +++ b/repoNew.go @@ -19,9 +19,13 @@ func (f *Forge) NewGoRepo(gopath string, url string) (*gitpb.Repo, error) { if test != nil { return test, nil } + if gopath == "" { + log.Info("TODO: gopath was blank. I'm not sure what is happening here, but this needs to determine the repo Namespace. all calls to NewGoRepo() need to be deprecated. Someone will have to do this when I have funding for WIT. If you are the one looking at this, track me down and I will help do this correctly.") + return nil, log.Errorf("gopath was blank") + } repo, err := f.Repos.NewGoRepo(fullpath, gopath) if err != nil { - log.Info("WARNING. NEW FAILED", fullpath) + log.Info("WARNING. NEW FAILED", fullpath, err) return nil, err } // slices.Reverse(f.Repos.Repos)