show deb package name if different than the standard
This commit is contained in:
parent
538531f503
commit
9b8cb52b7b
|
@ -2,6 +2,7 @@ package forgepb
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"path/filepath"
|
||||||
|
|
||||||
"go.wit.com/lib/gui/shell"
|
"go.wit.com/lib/gui/shell"
|
||||||
"go.wit.com/lib/protobuf/gitpb"
|
"go.wit.com/lib/protobuf/gitpb"
|
||||||
|
@ -194,6 +195,11 @@ func (f *Forge) printRepoToTable(repo *gitpb.Repo) {
|
||||||
end += "(u:" + repo.GetUserBranchName() + ") "
|
end += "(u:" + repo.GetUserBranchName() + ") "
|
||||||
}
|
}
|
||||||
|
|
||||||
|
debname := f.Config.DebName(repo.GetGoPath())
|
||||||
|
if debname != filepath.Base(gopath) {
|
||||||
|
end += "(deb:" + debname + ") "
|
||||||
|
}
|
||||||
|
|
||||||
switch repo.GetState() {
|
switch repo.GetState() {
|
||||||
case "PERFECT":
|
case "PERFECT":
|
||||||
case "unchanged":
|
case "unchanged":
|
||||||
|
|
Loading…
Reference in New Issue