From 014c9d5e3a408cb2b795acb994847b9b0a8b723a Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 17 Nov 2024 06:26:01 -0600 Subject: [PATCH] remove old git.wit.org references --- dumpClient.go | 2 - main.go | 10 +-- repoHTML.go | 24 ------ resources/index.html | 200 ------------------------------------------- resources/repomap | 10 --- resources/test.html | 11 --- 6 files changed, 1 insertion(+), 256 deletions(-) delete mode 100644 resources/index.html delete mode 100644 resources/repomap delete mode 100644 resources/test.html diff --git a/dumpClient.go b/dumpClient.go index 6c5c1af..4d3f6c1 100644 --- a/dumpClient.go +++ b/dumpClient.go @@ -105,8 +105,6 @@ func registerClient(f *os.File, r *http.Request) bool { if name == "Gopath" { gopath = value } - // Giturl https://git.wit.org/gui/go-gui-toolkits.git - // Headers: Gopath } } diff --git a/main.go b/main.go index 40a4cbc..8037a50 100644 --- a/main.go +++ b/main.go @@ -65,10 +65,6 @@ func okHandler(w http.ResponseWriter, r *http.Request) { indexBodyEnd(w) return } - if tmp == "/old" { - writeFile(w, "index.html") - return - } if tmp == "/install.sh" { writeFile(w, "install.sh") return @@ -91,10 +87,6 @@ func okHandler(w http.ResponseWriter, r *http.Request) { } return } - if tmp == "/test" { - writeFile(w, "test.html") - return - } if tmp == "/goReference.svg" { writeFile(w, "goReference.svg") return @@ -180,7 +172,7 @@ func badurl(w http.ResponseWriter, badurl string) { fmt.Fprintln(w, " IPv4 IS NOT SUPPORTED
") fmt.Fprintln(w, " MANY OF THESE REPOS REQUIRE IPv6.
") fmt.Fprintln(w, "
") - fmt.Fprintln(w, " bad url", badurl, "redirecting") + fmt.Fprintln(w, " bad url", badurl, "redirecting") fmt.Fprintln(w, " ") fmt.Fprintln(w, "") } diff --git a/repoHTML.go b/repoHTML.go index 9985e19..3f69612 100644 --- a/repoHTML.go +++ b/repoHTML.go @@ -12,20 +12,6 @@ import ( "go.wit.com/log" ) -/* - - - - - - - - - Nothing to see here. Please move along. - - -*/ - func repoHTML(w http.ResponseWriter, gourl string, realurl string) { realurl = "https://" + realurl log.Info("go repo =", gourl, "real url =", realurl) @@ -42,16 +28,6 @@ func repoHTML(w http.ResponseWriter, gourl string, realurl string) { fmt.Fprintln(w, "Nothing to see here. Please move along.\"") fmt.Fprintln(w, "") fmt.Fprintln(w, "") - - /* - var tmp string - tmp = r.URL.String() - if tmp == "/gui" { - findFile(w) - return - } - fmt.Fprintln(w, "OK") - */ } func findkey(url string) (string, string) { diff --git a/resources/index.html b/resources/index.html deleted file mode 100644 index 85aa2a1..0000000 --- a/resources/index.html +++ /dev/null @@ -1,200 +0,0 @@ - - - - - - - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Packagego getAuthoritative sources (IPv6 only)github mirrorDocumentation
log/ (needed for the gui)
log go.wit.com/log git.wit.org/wit/log github.com/wit-go/log Go Reference
gui/ packages
gui/gui go.wit.com/gui/gui git.wit.org/gui/gui github.com/wit-go/gui Go Reference
gui/widget go.wit.com/gui/widget git.wit.org/gui/widget github.com/wit-go/widget Go Reference
gui/gadgets go.wit.com/gui/gadgets git.wit.org/gui/gadgets github.com/wit-go/gadgets Go Reference
gui/toolkits go.wit.com/gui/toolkits git.wit.org/gui/toolkits github.com/wit-go/toolkits Go Reference
gui/debugger go.wit.com/gui/debugger git.wit.org/gui/debugger github.com/wit-go/debugger Go Reference
gui/examples go.wit.com/gui/examples git.wit.org/gui/examples github.com/wit-go/examples
gui/digitalocean go.wit.com/gui/digitalocean git.wit.org/gui/digitalocean Go Reference
gui/cloudflare go.wit.com/gui/cloudflare git.wit.org/gui/cloudflare Go Reference
Applications
control-panel-dns go.wit.com/apps/control-panel-dns git.wit.org/jcarr/control-panel-dns Go Reference
control-panel-digitalocean go.wit.com/apps/control-panel-digitalocean git.wit.org/wit/control-panel-digitalocean Go Reference
control-panel-cloudflare go.wit.com/apps/control-panel-cloudflare git.wit.org/wit/control-panel-cloudflare Go Reference
Support packages
arg go.wit.com/arg git.wit.org/wit/arg github.com/wit-go/go-arg Go Reference
spew go.wit.com/spew git.wit.org/wit/spew github.com/wit-go/spew Go Reference
dnssec go.wit.com/dnssec git.wit.org/wit/dnssec github.com/wit-go/dnssec Go Reference
shell go.wit.com/shell git.wit.org/wit/shell github.com/wit-go/shell Go Reference
-
-
- - - - diff --git a/resources/repomap b/resources/repomap deleted file mode 100644 index 938f13f..0000000 --- a/resources/repomap +++ /dev/null @@ -1,10 +0,0 @@ -# sample gowebd package mappings - -go.wit.com/gui git.wit.org/gui/gui The GUI API intended for Control Panels -go.wit.com/widget git.wit.org/gui/widget Primitive Definitions for Buttons, Dropdowns, etc. - -# Tutorials - -go.wit.com/apps/helloworld git.wit.org/gui/helloworld A simple Demo -go.wit.com/apps/basicwindow git.wit.org/jcarr/basicwindow A bit more of a Demo -go.wit.com/apps/gadgetwindow git.wit.org/jcarr/gadgetwindow A more complicated Demo used for debugging the toolkits diff --git a/resources/test.html b/resources/test.html deleted file mode 100644 index c9b9f10..0000000 --- a/resources/test.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - Nothing to see here. Please move along. - -