From 26fe7d72d7ad3e788c9596e835feb8c9ef41ed2d Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 8 Oct 2025 01:25:40 -0500 Subject: add memerable names --- tableBuild.go | 4 ++-- tableDefault.go | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/tableBuild.go b/tableBuild.go index 99f08cb..870a94e 100644 --- a/tableBuild.go +++ b/tableBuild.go @@ -10,8 +10,8 @@ import ( func (f *Forge) GetPackageVersion(repo *gitpb.Repo) string { var s string - s = repo.GetCurrentBranchVersion() - if repo.IsDirty() { + s = repo.GetUserVersion() + "s" + if repo.CheckDirty() { s += "-dirty" } return s diff --git a/tableDefault.go b/tableDefault.go index 39857c6..c3dba27 100644 --- a/tableDefault.go +++ b/tableDefault.go @@ -9,6 +9,9 @@ import ( ) // this is the default table layout for repos in forge +func (f *Forge) PrintTable(pb *gitpb.Repos) { + f.PrintDefaultTB(pb) +} func (f *Forge) PrintDefaultTB(pb *gitpb.Repos) { tablePB := f.makeDefaultTB(pb) -- cgit v1.2.3