summaryrefslogtreecommitdiff
path: root/addRepo.go
diff options
context:
space:
mode:
Diffstat (limited to 'addRepo.go')
-rw-r--r--addRepo.go22
1 files changed, 14 insertions, 8 deletions
diff --git a/addRepo.go b/addRepo.go
index c8d054f..3ea8042 100644
--- a/addRepo.go
+++ b/addRepo.go
@@ -21,7 +21,8 @@ func (r *Repo) Hide() {
r.endBox.Hide()
// r.statusButton.Hide()
// r.diffButton.Hide()
- r.goSumStatus.Hide()
+ r.goState.Hide()
+ r.targetV.Hide()
r.hidden = true
}
@@ -42,7 +43,8 @@ func (r *Repo) Show() {
r.endBox.Show()
// r.statusButton.Show()
// r.diffButton.Show()
- r.goSumStatus.Show()
+ r.goState.Show()
+ r.targetV.Show()
r.hidden = false
}
@@ -75,13 +77,14 @@ func (r *RepoList) addRepo(grid *gui.Node, path string, master string, devel str
}
newRepo.pLabel = grid.NewLabel(path).SetProgName("path")
- newRepo.lastTag = grid.NewLabel("").SetProgName("lastTag")
- newRepo.masterVersion = grid.NewLabel("").SetProgName("masterVersion")
newRepo.hidden = false
switch r.viewName {
case "autotypist":
+ newRepo.lastTag = grid.NewLabel("").SetProgName("lastTag")
+ newRepo.masterVersion = grid.NewLabel("").SetProgName("masterVersion")
newRepo.develVersion = grid.NewLabel("").SetProgName("develVersion")
newRepo.userVersion = grid.NewLabel("").SetProgName("userVersion")
+ newRepo.targetV = r.blind.NewLabel("")
newRepo.dirtyLabel = grid.NewLabel("")
newRepo.vLabel = grid.NewLabel("").SetProgName("current")
newRepo.endBox = grid.NewHorizontalBox("HBOX")
@@ -138,12 +141,13 @@ func (r *RepoList) addRepo(grid *gui.Node, path string, master string, devel str
newRepo.Status.Build()
})
}
- newRepo.goSumStatus = r.blind.NewLabel("in the blind")
+ newRepo.goState = r.blind.NewLabel("in the blind")
case "guireleaser":
- newRepo.develVersion = r.blind.NewLabel("").SetProgName("develVersion")
- newRepo.userVersion = r.blind.NewLabel("").SetProgName("userVersion")
+ newRepo.targetV = grid.NewLabel("")
+ newRepo.lastTag = grid.NewLabel("").SetProgName("lastTag")
+ newRepo.masterVersion = grid.NewLabel("").SetProgName("masterVersion")
newRepo.dirtyLabel = grid.NewLabel("")
- newRepo.goSumStatus = grid.NewLabel("in the blind")
+ newRepo.goState = grid.NewLabel("not in the blind")
newRepo.vLabel = grid.NewLabel("").SetProgName("current")
newRepo.endBox = grid.NewHorizontalBox("HBOX")
newRepo.endBox.NewButton("Configure", func() {
@@ -171,6 +175,8 @@ func (r *RepoList) addRepo(grid *gui.Node, path string, master string, devel str
newRepo.Status.Build()
})
}
+ newRepo.develVersion = r.blind.NewLabel("").SetProgName("develVersion")
+ newRepo.userVersion = r.blind.NewLabel("").SetProgName("userVersion")
default:
}
grid.NextRow()