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 }