diff options
| author | Jeff Carr <[email protected]> | 2024-12-17 07:03:17 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-17 07:03:17 -0600 |
| commit | 3d22172fa9b58a03bb59aba0b9c730d31ec2ff3f (patch) | |
| tree | 811a3eaa998e4a9c38fa3d517240bb409b386685 /human.go | |
| parent | 8dd47d59e3e37b91111154c2b25d018437c3cab9 (diff) | |
fixes for new gitpb
Diffstat (limited to 'human.go')
| -rw-r--r-- | human.go | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -25,7 +25,7 @@ func PrintReport(readonly string, onlydirty string, perfect string) { continue } - if me.forge.Config.IsReadOnly(repo.GoPath()) { + if me.forge.Config.IsReadOnly(repo.GetGoPath()) { if readonly == "true" { log.Info(header + "readonly") } @@ -45,9 +45,9 @@ func PrintReport(readonly string, onlydirty string, perfect string) { continue } log.Info(header + "") - check := me.forge.Repos.FindByGoPath(repo.GoPath()) + check := me.forge.FindByGoPath(repo.GetGoPath()) if check == nil { - log.Info("boo, you didn't git clone", repo.GoPath()) + log.Info("boo, you didn't git clone", repo.GetGoPath()) continue } me.forge.StandardReleaseHeader(check, repo.State()) @@ -60,10 +60,10 @@ func PrintReleaseReport(readonly string, perfect string) int { log.Info(repolist.ReleaseReportHeader()) - loop := me.forge.Repos.SortByGoPath() + loop := me.forge.Repos.SortByFullPath() for loop.Scan() { check := loop.Next() - if me.forge.Config.IsReadOnly(check.GoPath) { + if me.forge.Config.IsReadOnly(check.GetGoPath()) { continue } if check.GetCurrentBranchVersion() == check.GetTargetVersion() { @@ -71,7 +71,7 @@ func PrintReleaseReport(readonly string, perfect string) int { } count += 1 if check == nil { - log.Info("boo, you didn't git clone", check.GoPath) + log.Info("boo, you didn't git clone", check.GetGoPath()) continue } var state string |
