scan for all repos again
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
024d4ba18c
commit
55b175e2da
21
repolist.go
21
repolist.go
|
@ -92,6 +92,7 @@ func addRepo(grid *gui.Node, path string, master string, devel string, user stri
|
||||||
log.Info("addRepo() already had path", path)
|
log.Info("addRepo() already had path", path)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
log.Info("addRepo() attempting to add path", path)
|
||||||
|
|
||||||
newRepo := new(repo)
|
newRepo := new(repo)
|
||||||
|
|
||||||
|
@ -230,18 +231,14 @@ func repolistWindow() {
|
||||||
me.reposgrid.NextRow()
|
me.reposgrid.NextRow()
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: figure out why this borks everything
|
for i, path := range repostatus.ListGitDirectories() {
|
||||||
/*
|
// log.Info("addRepo()", i, path)
|
||||||
for i, path := range repostatus.ListGitDirectories() {
|
tmp := strings.TrimPrefix(path, me.goSrcPwd.String())
|
||||||
// log.Info("addRepo()", i, path)
|
path = strings.Trim(tmp, "/")
|
||||||
tmp := strings.TrimPrefix(path, me.goSrcPwd.String())
|
log.Info("addRepo()", i, path)
|
||||||
log.Info("addRepo()", i, tmp)
|
addRepo(me.reposgrid, path, "master", "devel", usr.Username)
|
||||||
addRepo(me.reposgrid, tmp, "master", "devel", usr.Username)
|
me.reposgrid.NextRow()
|
||||||
me.reposgrid.NextRow()
|
}
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
// reposwin.Toggle()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func showApps() {
|
func showApps() {
|
||||||
|
|
Loading…
Reference in New Issue