From 8fd63835353f23323b3fd7cdf25f1422a5a549b8 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 29 Nov 2024 22:32:25 -0600 Subject: [PATCH] runs kinda --- main.go | 2 ++ repoview.go | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/main.go b/main.go index 3610038..5463b04 100644 --- a/main.go +++ b/main.go @@ -83,6 +83,7 @@ func main() { // which should be all the git repositories in ~/go/src & the .config file me.repos = makeRepoView() + if myargs.DumpVersions { gowit.DumpVersions(me.repos.View) os.Exit(0) @@ -140,6 +141,7 @@ func main() { me.release.guireleaser = repo } } + log.Info("repolist.ReposSortByName() found", repo.GoPath()) /* if repo.GoPath() == myargs.Repo { myrepo = repo diff --git a/repoview.go b/repoview.go index 2dfe6c3..8fd61d3 100644 --- a/repoview.go +++ b/repoview.go @@ -62,11 +62,18 @@ func makeRepoView() *repoWindow { gowit.DumpVersions(me.repos.View) }) + r.View = repolist.Init(me.forge, me.myGui) + r.View.Enable() + + r.View.ScanRepositories() + + /* r.View = repolist.GuireleaserView(r.box) showncount := r.View.MirrorShownCount() box2.Append(showncount) duration := r.View.MirrorScanDuration() box2.Append(duration) + */ return r }