From 9b8cb52b7b4ba895d026edb7c5e5f65d85d5a8ad Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 18 Jan 2025 10:34:38 -0600 Subject: [PATCH] show deb package name if different than the standard --- humanTable.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/humanTable.go b/humanTable.go index 54afb68..0bd9718 100644 --- a/humanTable.go +++ b/humanTable.go @@ -2,6 +2,7 @@ package forgepb import ( "fmt" + "path/filepath" "go.wit.com/lib/gui/shell" "go.wit.com/lib/protobuf/gitpb" @@ -194,6 +195,11 @@ func (f *Forge) printRepoToTable(repo *gitpb.Repo) { end += "(u:" + repo.GetUserBranchName() + ") " } + debname := f.Config.DebName(repo.GetGoPath()) + if debname != filepath.Base(gopath) { + end += "(deb:" + debname + ") " + } + switch repo.GetState() { case "PERFECT": case "unchanged":