From 754371fdbf52d61dcd57d1b32b453b676cee01cf Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 17 Feb 2024 15:47:46 -0600 Subject: export Status --- tagWindow.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tagWindow.go') 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) } -- cgit v1.2.3