From 2aed84cf3ae3b51c91d929aa675cdd774a9de0ce Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 25 Jan 2024 23:19:51 -0600 Subject: [PATCH] attempt to ignore missing go.sum requirements Signed-off-by: Jeff Carr --- gitConfig.go | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/gitConfig.go b/gitConfig.go index d30918c..f849170 100644 --- a/gitConfig.go +++ b/gitConfig.go @@ -355,9 +355,13 @@ func (rs *RepoStatus) CheckGoSum() (bool, string) { if strings.HasSuffix(depname, "/v2") { log.Log(WARN, " FOUND /v2 wierd golang stuff. instead, look for:", depname) } - // log.Log(WARN, " go get -v", depname) - // rs.RunCmd([]string{"go", "get", "-v", depname}) - return false, depname + // only fail on our stuff + if strings.HasPrefix(depname, "go.wit.com") { + // log.Log(WARN, " go get -v", depname) + // rs.RunCmd([]string{"go", "get", "-v", depname}) + return false, depname + } + log.Log(WARN, " NOT FOUND BUT IGNORING FOR NOW") } } return true, ""