diff options
| author | Jeff Carr <[email protected]> | 2025-10-21 05:30:38 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-21 05:30:38 -0500 |
| commit | 9941532f439ac9774803db3328b66b158654efaf (patch) | |
| tree | 44c1cf833127bc4d839bc06245cb74cc3cb51c79 /find.go | |
| parent | 19cbfa7a819607e2602d48617ce9e96797fa6e1a (diff) | |
need to fix this later
Diffstat (limited to 'find.go')
| -rw-r--r-- | find.go | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -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) |
