From 459350eaa1c4a79f7b5332be16ae1907a178f306 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 10 Feb 2024 07:46:25 -0600 Subject: [PATCH] prune packages without a desc Signed-off-by: Jeff Carr --- files/repomap | 12 ++++++------ indexHtml.go | 4 ++++ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/files/repomap b/files/repomap index 20bc093..b2122ba 100644 --- a/files/repomap +++ b/files/repomap @@ -30,19 +30,19 @@ go.wit.com/log git.wit.org/wit/log a wrapper attempt around log for the GUI # gui libraries go.wit.com/lib/gadgets git.wit.org/gui/gadgets Some common collections of widgets go.wit.com/lib/debugger git.wit.org/gui/debugger An attempt at a debugger -go.wit.com/lib/gui/repostatus git.wit.org/jcarr/repostatus +go.wit.com/lib/gui/repostatus git.wit.org/jcarr/repostatus used by autotypist go.wit.com/lib/gui/hostname git.wit.org/jcarr/hostname -go.wit.com/lib/gui/linuxstatus git.wit.org/jcarr/hostname -go.wit.com/lib/gui/logsettings git.wit.org/jcarr/logsettings -go.wit.com/lib/gui/digitalocean git.wit.org/gui/digitalocean +go.wit.com/lib/gui/linuxstatus git.wit.org/jcarr/hostname for the DNS Control Panel +go.wit.com/lib/gui/logsettings git.wit.org/jcarr/logsettings used for 'log' and debugger +go.wit.com/lib/gui/digitalocean git.wit.org/gui/digitalocean used by the DO control panel go.wit.com/lib/gui/cloudflare git.wit.org/gui/cloudflare go.wit.com/lib/gui/shell git.wit.org/wit/shell go.wit.com/lib/protobuf/wit git.wit.org/wit/witProtobuf # Support packages (forked for experiments) -go.wit.com/dev/alexflint/arg git.wit.org/jcarr/go-arg +go.wit.com/dev/alexflint/arg git.wit.org/jcarr/go-arg slight modifications to arg go.wit.com/dev/alexflint/scalar git.wit.org/jcarr/go-scalar -go.wit.com/dev/andlabs/ui git.wit.org/interesting/andlabs-ui +go.wit.com/dev/andlabs/ui git.wit.org/interesting/andlabs-ui attempts to add RiscV support go.wit.com/dev/andlabs/libui git.wit.org/interesting/libui go.wit.com/dev/davecgh/spew git.wit.org/jcarr/go-spew diff --git a/indexHtml.go b/indexHtml.go index a809229..0aa4b17 100644 --- a/indexHtml.go +++ b/indexHtml.go @@ -90,6 +90,10 @@ func indexBodyScanConfig(w http.ResponseWriter) { } func indexBodyRepo(w http.ResponseWriter, gourl string, giturl string, desc string) { + // skip displaying packages without a desc + if desc == "" { + return + } // fmt.Fprintln(w, "
log/ (needed for the gui)
") fmt.Fprintln(w, " ") // fmt.Fprintln(w, " "+gourl+"")