summaryrefslogtreecommitdiff
path: root/doRepos.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-11-05 15:29:24 -0600
committerJeff Carr <[email protected]>2025-11-05 15:29:24 -0600
commite9f3d9e23638e2d4b1ca195dbd618a23d8406905 (patch)
treea424889648dd1be6d2106aa3c449d732367dc3f7 /doRepos.go
parent5bb2ce2fca59fa5672d9fdaa7855e8d5b0802512 (diff)
compiles against stat.protoHEADv0.0.73v0.0.72masterdevel
Diffstat (limited to 'doRepos.go')
-rw-r--r--doRepos.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/doRepos.go b/doRepos.go
index f10300d..5fd2e70 100644
--- a/doRepos.go
+++ b/doRepos.go
@@ -25,7 +25,7 @@ func doRepos() error {
if argv.Repos.Devel != nil {
found := gitpb.NewRepos()
for repo := range me.forge.Repos.IterAll() {
- if repo.Tags.Devel == nil {
+ if repo.DevelStat == nil {
continue
}
found.Append(repo)
@@ -66,23 +66,23 @@ func doRepos() error {
log.Infof("%s Tags == nil\n", repo.GetFullPath())
continue
}
- if repo.Tags.Master == nil {
+ if repo.MasterStat == nil {
if found := repo.GetRemoteTag(repo.GetMasterBranchName()); found != nil {
// log.Info("found master tag ", repo.FullPath, found)
- repo.Tags.Master = proto.Clone(found).(*gitpb.GitTag)
+ repo.MasterStat = proto.Clone(found).(*gitpb.Stat)
config.SetChanged("repos", true)
} else {
log.Info("not found master tag (Reload() ?)", repo.FullPath)
}
continue
}
- if repo.Tags.Devel == nil {
+ if repo.DevelStat == nil {
if repo.GetDevelBranchName() == "" {
repo.SetDevelBranchName("devel")
}
if found := repo.GetRemoteTag(repo.GetDevelBranchName()); found != nil {
log.Info("found devel tag ", repo.FullPath, found)
- repo.Tags.Devel = proto.Clone(found).(*gitpb.GitTag)
+ repo.DevelStat = proto.Clone(found).(*gitpb.Stat)
config.SetChanged("repos", true)
} else {
// log.Info("not found devel tag (Reload() ?)", repo.FullPath)