summaryrefslogtreecommitdiff
path: root/doFind.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-08-31 12:16:38 -0500
committerJeff Carr <[email protected]>2025-08-31 12:16:38 -0500
commitc4252d21031ed432405be6a4f008831732068101 (patch)
tree35853d100781756ea826e6e44d2a61340faaa911 /doFind.go
parent9292eb18fa1ccec8229c3182c2dcbeab03d09e58 (diff)
maybe locks will work. maybe I can make a global repos.pb file?
Diffstat (limited to 'doFind.go')
-rw-r--r--doFind.go26
1 files changed, 13 insertions, 13 deletions
diff --git a/doFind.go b/doFind.go
index ca8ab76..65edb43 100644
--- a/doFind.go
+++ b/doFind.go
@@ -66,7 +66,7 @@ func findPrivate() *gitpb.Repos {
found := gitpb.NewRepos()
for repo := range me.forge.Repos.IterByFullPath() {
if me.forge.Config.IsPrivate(repo.GetGoPath()) {
- found.AppendByGoPath(repo)
+ found.AppendByFullPath(repo)
}
}
@@ -81,7 +81,7 @@ func findMine() *gitpb.Repos {
for repo := range me.forge.Repos.IterByFullPath() {
if me.forge.Config.IsWritable(repo.GetGoPath()) {
- found.AppendByGoPath(repo)
+ found.AppendByFullPath(repo)
}
}
return found
@@ -95,7 +95,7 @@ func findFavorites() *gitpb.Repos {
for repo := range me.forge.Repos.IterByFullPath() {
if me.forge.Config.IsFavorite(repo.GetGoPath()) {
- found.AppendByGoPath(repo)
+ found.AppendByFullPath(repo)
}
}
return found
@@ -107,7 +107,7 @@ func findDirty() *gitpb.Repos {
for repo := range me.forge.Repos.IterByFullPath() {
if repo.IsDirty() {
- found.AppendByGoPath(repo)
+ found.AppendByFullPath(repo)
}
}
return found
@@ -116,7 +116,7 @@ func findDirty() *gitpb.Repos {
func findAll() *gitpb.Repos {
found := gitpb.NewRepos()
for repo := range me.forge.Repos.IterByFullPath() {
- found.AppendByGoPath(repo)
+ found.AppendByFullPath(repo)
}
return found
}
@@ -125,7 +125,7 @@ func find50() *gitpb.Repos {
count := 0
found := gitpb.NewRepos()
for repo := range me.forge.Repos.IterByFullPath() {
- found.AppendByGoPath(repo)
+ found.AppendByFullPath(repo)
if count > 50 {
return found
}
@@ -139,7 +139,7 @@ func findUser() *gitpb.Repos {
for repo := range me.forge.Repos.IterByFullPath() {
if repo.GetCurrentBranchName() == repo.GetUserBranchName() {
- found.AppendByGoPath(repo)
+ found.AppendByFullPath(repo)
}
}
return found
@@ -152,7 +152,7 @@ func findPublishable() *gitpb.Repos {
if repo.GetTargetVersion() == "" {
continue
}
- found.AppendByGoPath(repo)
+ found.AppendByFullPath(repo)
}
return found
}
@@ -163,12 +163,12 @@ func findReposWithPatches() *gitpb.Repos {
for repo := range me.forge.Repos.IterByFullPath() {
if repo.GetTargetVersion() != "" {
// add everything that has a target version set
- found.AppendByGoPath(repo)
+ found.AppendByFullPath(repo)
continue
}
if repo.IsDirty() {
// always add dirty branches
- found.AppendByGoPath(repo)
+ found.AppendByFullPath(repo)
continue
}
if repo.GetUserVersion() == "" || repo.GetUserVersion() == "uerr" {
@@ -176,13 +176,13 @@ func findReposWithPatches() *gitpb.Repos {
continue
}
if repo.GetUserVersion() != repo.GetDevelVersion() {
- found.AppendByGoPath(repo)
+ found.AppendByFullPath(repo)
continue
}
// show anything that differs between 'devel' & 'master' branches
if repo.GetDevelVersion() != repo.GetMasterVersion() {
- found.AppendByGoPath(repo)
+ found.AppendByFullPath(repo)
continue
}
@@ -193,7 +193,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() {
- found.AppendByGoPath(repo)
+ found.AppendByFullPath(repo)
repo.FindLastTag()
continue
}