summaryrefslogtreecommitdiff
path: root/scan.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-19 14:42:34 -0600
committerJeff Carr <[email protected]>2024-02-19 14:42:34 -0600
commit89e8d79d9b300cb97c33f5db55d960aafb400298 (patch)
tree5f54303e9208dbbf613385cd477e4342cccf321d /scan.go
parent5d0c793ae99dacf49520c6b9902130d0d40e3528 (diff)
adding 'mirror' widget support is a win here
Diffstat (limited to 'scan.go')
-rw-r--r--scan.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/scan.go b/scan.go
index 68fc036..a715dda 100644
--- a/scan.go
+++ b/scan.go
@@ -55,11 +55,12 @@ func (r *Repo) NewScan() bool {
}
r.userVersion.SetLabel(uver)
- cbname := r.Status.GetCurrentBranchName()
- cbversion := r.Status.GetCurrentBranchVersion()
- lasttag := r.Status.GetLastTagVersion()
- r.lastTag.SetLabel(lasttag)
- r.vLabel.SetLabel(cbname + " " + cbversion)
+ // cbname := r.Status.GetCurrentBranchName()
+ // cbversion := r.Status.GetCurrentBranchVersion()
+ // lasttag := r.Status.GetLastTagVersion()
+ // r.lastTag.SetLabel(lasttag)
+ // r.currentName.SetLabel(cbname)
+ // r.currentVersion.SetLabel(cbversion)
if c, ok := r.Status.Changed(); ok {
c := strings.TrimSpace(c)
@@ -67,7 +68,7 @@ func (r *Repo) NewScan() bool {
log.Info(r.Status.Path(), line)
}
}
- r.targetV.SetText(r.Status.GetTargetVersion())
+ // r.targetV.SetText(r.Status.GetTargetVersion())
status := r.Status.GetStatus()
r.dirtyLabel.SetLabel(status)