summaryrefslogtreecommitdiff
path: root/doDebian.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-04 00:07:26 -0500
committerJeff Carr <[email protected]>2025-10-04 00:07:26 -0500
commitf50d2bcb19f2165723dcd5e5e20368561a2febc9 (patch)
tree43fb71304799c5e5e7229bac396dffbfe5aad159 /doDebian.go
parent21f674cc5d222ca3fde330d5f14e556555fff183 (diff)
make a table here for .deb building reposv0.1.4
Diffstat (limited to 'doDebian.go')
-rw-r--r--doDebian.go18
1 files changed, 2 insertions, 16 deletions
diff --git a/doDebian.go b/doDebian.go
index 60b0600..63921cc 100644
--- a/doDebian.go
+++ b/doDebian.go
@@ -27,7 +27,7 @@ func doDebian() {
}
initForge()
- doInstallScan()
+ // doInstallScan()
found := gitpb.NewRepos()
for check := range me.forge.Repos.IterAll() {
@@ -39,24 +39,10 @@ func doDebian() {
continue
}
- if check.IsGoPlugin() {
- continue
- }
found.Append(check)
}
- tablePB := me.forge.GetBuildBaseTB(found)
- log.Info("TABLE FUNC LEN=", len(tablePB.Funcs))
- col := tablePB.AddStringFunc("a", func(r *gitpb.Repo) string {
- debname := me.forge.Config.DebName(r.GetNamespace())
- if actualp := me.machine.FindInstalledByName(debname); actualp != nil {
- return "b"
- }
- return "c"
- })
- col.Width = 6
- log.Info("TABLE FUNC LEN=", len(tablePB.Funcs))
- tablePB.PrintTable()
+ printRepos(found)
// func (f *Forge) isInstalled(repo *gitpb.Repo) string {
// return "X"