summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-21 05:30:38 -0500
committerJeff Carr <[email protected]>2025-10-21 05:30:38 -0500
commit9941532f439ac9774803db3328b66b158654efaf (patch)
tree44c1cf833127bc4d839bc06245cb74cc3cb51c79
parent19cbfa7a819607e2602d48617ce9e96797fa6e1a (diff)
need to fix this later
-rw-r--r--find.go9
1 files 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)