From 6ed4a6924c0a45afe8e54a797c1d0ade3471020c Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 3 Nov 2024 04:09:46 -0600 Subject: [PATCH] add notes for mirrors.wit.com Signed-off-by: Jeff Carr --- indexHtml.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/indexHtml.go b/indexHtml.go index a4df8b3..c96d92c 100644 --- a/indexHtml.go +++ b/indexHtml.go @@ -6,6 +6,7 @@ import ( "strconv" "strings" "time" + "go.wit.com/log" ) func indexHeader(w http.ResponseWriter) { @@ -31,6 +32,14 @@ func indexHeader(w http.ResponseWriter) { func indexBodyStart(w http.ResponseWriter) { // fmt.Fprintln(w, " fmt.Fprintln(w, "") + fmt.Fprintln(w, "
") + fmt.Fprintln(w, "There are debian packages for most of these:
") + fmt.Fprintln(w, "
") + fmt.Fprintln(w, "echo deb http://mirrors.wit.com/wit/ sid main > /etc/apt/sources.list.d/wit.list
") + fmt.Fprintln(w, "apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4A854AEAF7E0E16D
") + fmt.Fprintln(w, "apt update
") + fmt.Fprintln(w, "apt install go-clone
") + fmt.Fprintln(w, "
") fmt.Fprintln(w, "
") fmt.Fprintln(w, "
") fmt.Fprintln(w, " ") @@ -112,6 +121,7 @@ func indexBodyRepo(w http.ResponseWriter, gourl string, giturl string, desc stri if len(parts) > 1 { version = parts[1] } + log.Warn("gourl ", gourl, "vtime =", vtime, "version =", version) if vtime != "" { // Convert the string to an integer