diff options
| -rw-r--r-- | doRepos.go | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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) |
