summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-17 14:21:05 -0600
committerJeff Carr <[email protected]>2024-02-17 14:21:05 -0600
commitbbc78159fe11c78ae33cc8026887f62888003630 (patch)
treed103c28bba28cd5e1a981c6a13f225c59644242b /main.go
parent6b5472ea43826bf1fce95257ffe51560ef3e0f04 (diff)
using repolist
Diffstat (limited to 'main.go')
-rw-r--r--main.go15
1 files changed, 13 insertions, 2 deletions
diff --git a/main.go b/main.go
index 0279876..3f6be1e 100644
--- a/main.go
+++ b/main.go
@@ -63,8 +63,19 @@ func main() {
me.releaseReasonS = releaseReasonS
- for _, repo := range me.allrepos {
- repo.status.UpdateCurrent()
+ for i, repo := range me.allrepos {
+ if repo == nil {
+ log.Info("initial scan i = nil", i)
+ continue
+ }
+
+ log.Info("initial scan repo", repo.String())
+ if repo.status == nil {
+ log.Info("repo.status == nil", repo.String())
+ continue
+ }
+
+ repo.status.UpdateNew()
repo.newScan()
if repo.String() == "go.wit.com/widget" {