summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-17 21:58:31 -0600
committerJeff Carr <[email protected]>2024-12-17 21:58:31 -0600
commit272f965eec8c1f59728e7374f73e9360f8c1514d (patch)
tree340ea76182605e084a6d5627b56e4ace6b413c3e
parentc4f9430e4633aa13b993a9ac6102dcdbcc5eb9c2 (diff)
process on a *gitpb.Reposv0.0.37
-rw-r--r--human.go12
1 files changed, 3 insertions, 9 deletions
diff --git a/human.go b/human.go
index af307ae..497f7a9 100644
--- a/human.go
+++ b/human.go
@@ -77,23 +77,17 @@ func ReleaseReportHeader() string {
"STATE")
}
-func (f *Forge) PrintReleaseReport() int {
+func (f *Forge) PrintReleaseReport(repos *gitpb.Repos) int {
var count int
log.Info(ReleaseReportHeader())
- loop := f.Repos.SortByFullPath()
+ loop := repos.SortByFullPath()
for loop.Scan() {
check := loop.Next()
- if f.Config.IsReadOnly(check.GetGoPath()) {
- continue
- }
- if check.GetLastTag() == check.GetTargetVersion() {
- continue
- }
count += 1
if check == nil {
- log.Info("boo, you didn't git clone", check.GetGoPath())
+ // wtf
continue
}
var state string