func name change
This commit is contained in:
parent
2ea06531dc
commit
501241dbb6
2
http.go
2
http.go
|
@ -73,7 +73,7 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
// log.Info(me.current.StandardHeader())
|
// log.Info(me.current.StandardHeader())
|
||||||
log.Info(me.forge.StandardReleaseHeader(me.current, "todoing"))
|
log.Info(me.forge.StandardReleaseHeader(me.current, "todoing"))
|
||||||
case "/rescanAll":
|
case "/rescanAll":
|
||||||
me.repos.View.ScanRepositories()
|
me.repos.View.ScanRepositoriesOld()
|
||||||
case "/setCurrentRepo":
|
case "/setCurrentRepo":
|
||||||
log.Info("repo: " + repoName)
|
log.Info("repo: " + repoName)
|
||||||
log.Info("version: " + version)
|
log.Info("version: " + version)
|
||||||
|
|
2
main.go
2
main.go
|
@ -102,7 +102,7 @@ func main() {
|
||||||
|
|
||||||
// scan in the State of all the repos
|
// scan in the State of all the repos
|
||||||
// TODO: should not really be necessary directly after init()
|
// TODO: should not really be necessary directly after init()
|
||||||
me.repos.View.ScanRepositories()
|
me.repos.View.ScanRepositoriesOld()
|
||||||
|
|
||||||
// todo: add this to forgepb
|
// todo: add this to forgepb
|
||||||
me.startRepo = me.forge.FindWorkingDirRepo()
|
me.startRepo = me.forge.FindWorkingDirRepo()
|
||||||
|
|
|
@ -59,7 +59,7 @@ func makeRepoView() *repoWindow {
|
||||||
r.View = repolist.InitBox(me.forge, r.box)
|
r.View = repolist.InitBox(me.forge, r.box)
|
||||||
r.View.Enable()
|
r.View.Enable()
|
||||||
|
|
||||||
r.View.ScanRepositories()
|
r.View.ScanRepositoriesOld()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
r.View = repolist.GuireleaserView(r.box)
|
r.View = repolist.GuireleaserView(r.box)
|
||||||
|
|
Loading…
Reference in New Issue