prune packages without a desc

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-02-10 07:46:25 -06:00
parent 51a8d8d7d2
commit 459350eaa1
2 changed files with 10 additions and 6 deletions

View File

@ -30,19 +30,19 @@ go.wit.com/log git.wit.org/wit/log a wrapper attempt around log for the GUI
# gui libraries # gui libraries
go.wit.com/lib/gadgets git.wit.org/gui/gadgets Some common collections of widgets 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/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/hostname git.wit.org/jcarr/hostname
go.wit.com/lib/gui/linuxstatus git.wit.org/jcarr/hostname 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 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 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/cloudflare git.wit.org/gui/cloudflare
go.wit.com/lib/gui/shell git.wit.org/wit/shell go.wit.com/lib/gui/shell git.wit.org/wit/shell
go.wit.com/lib/protobuf/wit git.wit.org/wit/witProtobuf go.wit.com/lib/protobuf/wit git.wit.org/wit/witProtobuf
# Support packages (forked for experiments) # 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/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/andlabs/libui git.wit.org/interesting/libui
go.wit.com/dev/davecgh/spew git.wit.org/jcarr/go-spew go.wit.com/dev/davecgh/spew git.wit.org/jcarr/go-spew

View File

@ -90,6 +90,10 @@ func indexBodyScanConfig(w http.ResponseWriter) {
} }
func indexBodyRepo(w http.ResponseWriter, gourl string, giturl string, desc string) { func indexBodyRepo(w http.ResponseWriter, gourl string, giturl string, desc string) {
// skip displaying packages without a desc
if desc == "" {
return
}
// fmt.Fprintln(w, " <tr> <td><h5>log/ (needed for the gui)</h5></td> <td></td> <td></td> <td></td> <td></td> </tr>") // fmt.Fprintln(w, " <tr> <td><h5>log/ (needed for the gui)</h5></td> <td></td> <td></td> <td></td> <td></td> </tr>")
fmt.Fprintln(w, " <tr>") fmt.Fprintln(w, " <tr>")
// fmt.Fprintln(w, " <td>"+gourl+"</td>") // fmt.Fprintln(w, " <td>"+gourl+"</td>")