show deb package name if different than the standard

This commit is contained in:
Jeff Carr 2025-01-18 10:34:38 -06:00
parent 538531f503
commit 9b8cb52b7b
1 changed files with 6 additions and 0 deletions

View File

@ -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":