runs kinda

This commit is contained in:
Jeff Carr 2024-11-29 22:32:25 -06:00
parent f7c9af9537
commit 8fd6383535
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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
}