From 9941532f439ac9774803db3328b66b158654efaf Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 21 Oct 2025 05:30:38 -0500 Subject: need to fix this later --- find.go | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/find.go b/find.go index 3e5826f..130b33e 100644 --- a/find.go +++ b/find.go @@ -179,12 +179,8 @@ func findReposWithPatches() *gitpb.Repos { // show anything that differs between 'devel' & 'master' branches if repo.GetDevelVersion() != repo.GetMasterVersion() { - // this repo.State code isn't great, but it got me here quickly - // I'll defend my code by saying it's faster for me if I do dumb things - // sometimes and fix them later. Probably some employee will have to - // fix this. if that is the case I owe you lunch. or stock options - if repo.State == "DEVEL behind MASTER" { - // log.Info("repo state", repo.FullPath, repo.State) + if !strings.HasPrefix(repo.Namespace, "go.wit.com") { + // todo: make this a config setting continue } repo.State = "devVSmaster" @@ -194,6 +190,7 @@ func findReposWithPatches() *gitpb.Repos { // this is an old test to see if the current 'last tag' is accurate and should be removed if repo.GetLastTag() != repo.GetMasterVersion() { + // todo: make this a config setting if strings.HasPrefix(repo.Namespace, "go.wit.com") { repo.State = "tagVSmaster" found.AppendByFullPath(repo) -- cgit v1.2.3