summaryrefslogtreecommitdiff
path: root/tagWindow.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-17 15:47:46 -0600
committerJeff Carr <[email protected]>2024-02-17 15:47:46 -0600
commit754371fdbf52d61dcd57d1b32b453b676cee01cf (patch)
tree83a80bb9632de359e4334142801ca676534b0883 /tagWindow.go
parent15f334b2d2eab816b31e7f3a35e172e598bd5c19 (diff)
export Status
Diffstat (limited to 'tagWindow.go')
-rw-r--r--tagWindow.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/tagWindow.go b/tagWindow.go
index df89062..f34be05 100644
--- a/tagWindow.go
+++ b/tagWindow.go
@@ -50,7 +50,7 @@ func makeTagWindow() *tagWindow {
for _, repo := range repolist.AllRepos() {
allTags := repo.AllTags()
for _, t := range allTags {
- log.Info("found tag:", t.TagString(), "from", repo.String())
+ log.Info("found tag:", t.TagString(), "from", repo.Name())
}
}
}).SetProgName("TAGSLISTALL")
@@ -59,7 +59,7 @@ func makeTagWindow() *tagWindow {
me.autotypistWindow.Disable()
defer me.autotypistWindow.Enable()
for _, repo := range repolist.AllRepos() {
- if repo.String() == "go.wit.com/lib/gadgets" {
+ if repo.GoPath() == "go.wit.com/lib/gadgets" {
// only do log for now
} else {
// continue
@@ -69,15 +69,15 @@ func makeTagWindow() *tagWindow {
deleteTags := tagsW.List()
for _, t := range deleteTags {
tagW.grid.NewLabel(t.TagString())
- tagW.grid.NewLabel(repo.String())
+ tagW.grid.NewLabel(repo.Name())
tagW.grid.NewButton("delete", func() {
repo.DeleteTag(t)
})
tagW.grid.NextRow()
if me.autoDryRun.Checked() {
- log.Info("delete tag --dry-run:", t.TagString(), "from", repo.String())
+ log.Info("delete tag --dry-run:", t.TagString(), "from", repo.Name())
} else {
- log.Info("Deleting tag:", t.TagString(), "from", repo.String())
+ log.Info("Deleting tag:", t.TagString(), "from", repo.Name())
go repo.DeleteTag(t)
log.Sleep(1)
}