summaryrefslogtreecommitdiff
path: root/newRepo.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-29 21:57:33 -0600
committerJeff Carr <[email protected]>2024-02-29 21:57:33 -0600
commitca67fa6cd1ea401d6a7d1ab10b265b1d6f049acb (patch)
tree3d7afa3e87cef59812c33b5119c6299b362e21f3 /newRepo.go
parente4769df09034e8f5cdea1b941b2e260e91f14c15 (diff)
deprecate old go statev0.21.1
Diffstat (limited to 'newRepo.go')
-rw-r--r--newRepo.go14
1 files changed, 10 insertions, 4 deletions
diff --git a/newRepo.go b/newRepo.go
index 54deb9b..3892445 100644
--- a/newRepo.go
+++ b/newRepo.go
@@ -25,7 +25,7 @@ func (r *RepoRow) Hide() {
r.endBox.Hide()
// r.statusButton.Hide()
// r.diffButton.Hide()
- r.goState.Hide()
+ // r.goState.Hide()
r.targetV.Hide()
r.hidden = true
}
@@ -44,7 +44,7 @@ func (r *RepoRow) Show() {
r.endBox.Show()
// r.statusButton.Show()
// r.diffButton.Show()
- r.goState.Show()
+ // r.goState.Show()
r.targetV.Show()
r.hidden = false
}
@@ -175,7 +175,7 @@ func (r *RepoList) makeGuireleaserView(newRepo *RepoRow) {
newRepo.gitState = newRepo.Status.MirrorGitState()
grid.Append(newRepo.gitState)
- newRepo.goState = grid.NewLabel("goState")
+ // newRepo.goState = grid.NewLabel("goState")
newRepo.endBox = grid.NewHorizontalBox("HBOX")
newRepo.endBox.NewButton("Configure", func() {
@@ -187,6 +187,11 @@ func (r *RepoList) makeGuireleaserView(newRepo *RepoRow) {
}
newRepo.Status.Toggle()
})
+ newRepo.endBox.NewButton("Whitelist", func() {
+ log.Info("need to implement this")
+ newRepo.Hide()
+ })
+ /*
newRepo.endBox.NewButton("CheckValidGoSum()", func() {
ok, err := r.CheckValidGoSum(newRepo)
if err != nil {
@@ -195,8 +200,9 @@ func (r *RepoList) makeGuireleaserView(newRepo *RepoRow) {
}
if ok {
log.Info("repo has go.sum requirements that are clean")
- newRepo.goState.SetText("GOOD")
+ // newRepo.goState.SetText("GOOD")
return
}
})
+ */
}