working back to merge working

This commit is contained in:
Jeff Carr 2025-01-30 11:02:19 -06:00
parent 7ea9732c8f
commit 0ff7e62c60
1 changed files with 20 additions and 1 deletions

View File

@ -47,6 +47,7 @@ func (r *repoWindow) Show() {
// everything is on the master branch
r.mergeMaster.Enable()
}
log.Info("TODO: update the rows")
}
func (r *repoWindow) Hide() {
@ -80,7 +81,8 @@ func makeRepoView() *repoWindow {
r.View = repolist.InitBox(me.forge, r.box)
r.View.Enable()
r.View.ScanRepositories()
// need to update this logic
r.View.ScanRepositoriesOld()
return r
}
@ -120,6 +122,23 @@ func (r *repoWindow) repoMenu() *gui.Node {
r.Enable()
})
box2.NewButton("test merge to devel", func() {
r.Disable()
loop := r.View.ReposSortByName()
for loop.Scan() {
// var repo *repolist.RepoRow
view := loop.Repo()
if view.Hidden() {
continue
}
repo := view.GetPb()
log.Info("repo:", repo.GetGoPath())
repo.Reload()
view.Update()
}
r.Enable()
})
/*
box2.NewButton("show apps", func() {
loop := me.repos.View.ReposSortByName()