runs kinda
This commit is contained in:
parent
f7c9af9537
commit
8fd6383535
2
main.go
2
main.go
|
@ -83,6 +83,7 @@ func main() {
|
||||||
// which should be all the git repositories in ~/go/src & the .config file
|
// which should be all the git repositories in ~/go/src & the .config file
|
||||||
me.repos = makeRepoView()
|
me.repos = makeRepoView()
|
||||||
|
|
||||||
|
|
||||||
if myargs.DumpVersions {
|
if myargs.DumpVersions {
|
||||||
gowit.DumpVersions(me.repos.View)
|
gowit.DumpVersions(me.repos.View)
|
||||||
os.Exit(0)
|
os.Exit(0)
|
||||||
|
@ -140,6 +141,7 @@ func main() {
|
||||||
me.release.guireleaser = repo
|
me.release.guireleaser = repo
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
log.Info("repolist.ReposSortByName() found", repo.GoPath())
|
||||||
/*
|
/*
|
||||||
if repo.GoPath() == myargs.Repo {
|
if repo.GoPath() == myargs.Repo {
|
||||||
myrepo = repo
|
myrepo = repo
|
||||||
|
|
|
@ -62,11 +62,18 @@ func makeRepoView() *repoWindow {
|
||||||
gowit.DumpVersions(me.repos.View)
|
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)
|
r.View = repolist.GuireleaserView(r.box)
|
||||||
|
|
||||||
showncount := r.View.MirrorShownCount()
|
showncount := r.View.MirrorShownCount()
|
||||||
box2.Append(showncount)
|
box2.Append(showncount)
|
||||||
duration := r.View.MirrorScanDuration()
|
duration := r.View.MirrorScanDuration()
|
||||||
box2.Append(duration)
|
box2.Append(duration)
|
||||||
|
*/
|
||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue