autogenpb improvements
This commit is contained in:
parent
b00584213d
commit
fb792e13a7
4
init.go
4
init.go
|
@ -21,7 +21,7 @@ func Init(f *forgepb.Forge, g *gui.Node) *RepoList {
|
||||||
|
|
||||||
me.viewName = "autotypist"
|
me.viewName = "autotypist"
|
||||||
|
|
||||||
repos := me.forge.Repos.SortByPath()
|
repos := me.forge.Repos.SortByGoPath()
|
||||||
for repos.Scan() {
|
for repos.Scan() {
|
||||||
repo := repos.Next()
|
repo := repos.Next()
|
||||||
if me.forge.IsReadOnly(repo.GoPath) {
|
if me.forge.IsReadOnly(repo.GoPath) {
|
||||||
|
@ -47,7 +47,7 @@ func InitBox(f *forgepb.Forge, newbox *gui.Node) *RepoList {
|
||||||
|
|
||||||
me.viewName = "autotypist"
|
me.viewName = "autotypist"
|
||||||
|
|
||||||
repos := me.forge.Repos.SortByPath()
|
repos := me.forge.Repos.SortByGoPath()
|
||||||
for repos.Scan() {
|
for repos.Scan() {
|
||||||
repo := repos.Next()
|
repo := repos.Next()
|
||||||
if me.forge.IsReadOnly(repo.GoPath) {
|
if me.forge.IsReadOnly(repo.GoPath) {
|
||||||
|
|
4
scan.go
4
scan.go
|
@ -36,7 +36,7 @@ func (r *RepoList) ScanRepositories() (int, string) {
|
||||||
me.shownCount.SetText(tmp)
|
me.shownCount.SetText(tmp)
|
||||||
me.duration.SetText(s)
|
me.duration.SetText(s)
|
||||||
|
|
||||||
log.Info("Scanned", i, "repositories.", total, "changes in", s)
|
log.Info("repolist Scanned", i, "repositories.", total, "changes in", s)
|
||||||
return i, s
|
return i, s
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -73,6 +73,8 @@ func (r *RepoRow) NewScan() int {
|
||||||
|
|
||||||
if r.Status.GitState() == "PERFECT" {
|
if r.Status.GitState() == "PERFECT" {
|
||||||
r.Hide()
|
r.Hide()
|
||||||
|
} else {
|
||||||
|
r.Show()
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue