summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-03 04:09:46 -0600
committerJeff Carr <[email protected]>2024-11-03 04:09:46 -0600
commit6ed4a6924c0a45afe8e54a797c1d0ade3471020c (patch)
treeb402fd56b5c0336ab1d0855f4aef6b51de46094d
parent50d4acb9c1c22cb97f81981d70e4a31a9e43136d (diff)
add notes for mirrors.wit.comv0.22.2
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--indexHtml.go10
1 files changed, 10 insertions, 0 deletions
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, "<body>")
+ fmt.Fprintln(w, " <br>")
+ fmt.Fprintln(w, "There are debian packages for most of these:<br>")
+ fmt.Fprintln(w, " <br>")
+ fmt.Fprintln(w, "echo deb http://mirrors.wit.com/wit/ sid main > /etc/apt/sources.list.d/wit.list <br>")
+ fmt.Fprintln(w, "apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4A854AEAF7E0E16D <br>")
+ fmt.Fprintln(w, "apt update<br>")
+ fmt.Fprintln(w, "apt install go-clone<br>")
+ fmt.Fprintln(w, " <br>")
fmt.Fprintln(w, " <div class=\"container\">")
fmt.Fprintln(w, " <div class=\"row\">")
fmt.Fprintln(w, " <table class=\"u-full-width\">")
@@ -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