diff --git a/Makefile b/Makefile index 5109e63..4c4606f 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ all: + git pull echo "build it!" # GO111MODULE=off go get -u -v . GO111MODULE=off go build -v -x diff --git a/files/repomap b/files/repomap index 84ec168..20bc093 100644 --- a/files/repomap +++ b/files/repomap @@ -1,22 +1,35 @@ -# log/ (needed for the gui) - -go.wit.com/log git.wit.org/wit/log - # gui core packages -go.wit.com/widget git.wit.org/gui/widget -go.wit.com/gui git.wit.org/gui/gui +go.wit.com/gui git.wit.org/gui/gui The GUI API +go.wit.com/widget git.wit.org/gui/widget Definitions for Buttons, Texcboxes, etc. + +# Applications + +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 Useful for debugging toolkits +go.wit.com/apps/autotypist git.wit.org/jcarr/autotypist Used to maintain these repos +go.wit.com/apps/guireleaser git.wit.org/jcarr/guireleaser Used to do version released +go.wit.com/apps/control-panel-dns git.wit.org/jcarr/control-panel-dns A DNS Control Panel +go.wit.com/apps/control-panel-digitalocean git.wit.org/wit/control-panel-digitalocean A simple Digital Ocean Control Panel +go.wit.com/apps/control-panel-cloudflare git.wit.org/wit/control-panel-cloudflare +go.wit.com/apps/control-panel-vpn git.wit.org/jcarr/control-panel-vpn +go.wit.com/apps/go.wit.com git.wit.org/jcarr/go.wit.com # gui toolkit packages -go.wit.com/toolkits/tree git.wit.org/toolkits/tree -go.wit.com/toolkits/nocui git.wit.org/toolkits/nocui -go.wit.com/toolkits/gocui git.wit.org/toolkits/gocui -go.wit.com/toolkits/andlabs git.wit.org/toolkits/andlabs -go.wit.com/toolkits/debian git.wit.org/toolkits/debian +go.wit.com/toolkits/tree git.wit.org/toolkits/tree Common plugin code to talk to the GUI +go.wit.com/toolkits/nocui git.wit.org/toolkits/nocui A minimum toolkit plugin using STDIN/STDOUT +go.wit.com/toolkits/gocui git.wit.org/toolkits/gocui A gui plugin using 'gocui' +go.wit.com/toolkits/andlabs git.wit.org/toolkits/andlabs A gui plugin using andlabs/ui +go.wit.com/toolkits/debian git.wit.org/toolkits/debian packages the plugins for debian + +# log/ (modified for the gui) + +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 -go.wit.com/lib/debugger git.wit.org/gui/debugger +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/hostname git.wit.org/jcarr/hostname go.wit.com/lib/gui/linuxstatus git.wit.org/jcarr/hostname @@ -26,20 +39,7 @@ 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 -# Applications - -go.wit.com/apps/helloworld git.wit.org/gui/helloworld -go.wit.com/apps/basicwindow git.wit.org/jcarr/basicwindow -go.wit.com/apps/gadgetwindow git.wit.org/jcarr/gadgetwindow -go.wit.com/apps/autotypist git.wit.org/jcarr/autotypist -go.wit.com/apps/guireleaser git.wit.org/jcarr/guireleaser -go.wit.com/apps/control-panel-dns git.wit.org/jcarr/control-panel-dns -go.wit.com/apps/control-panel-digitalocean git.wit.org/wit/control-panel-digitalocean -go.wit.com/apps/control-panel-cloudflare git.wit.org/wit/control-panel-cloudflare -go.wit.com/apps/control-panel-vpn git.wit.org/jcarr/control-panel-vpn -go.wit.com/apps/go.wit.com git.wit.org/jcarr/go.wit.com - -# Support packages +# Support packages (forked for experiments) go.wit.com/dev/alexflint/arg git.wit.org/jcarr/go-arg go.wit.com/dev/alexflint/scalar git.wit.org/jcarr/go-scalar diff --git a/indexHtml.go b/indexHtml.go index a00ef10..a809229 100644 --- a/indexHtml.go +++ b/indexHtml.go @@ -6,8 +6,6 @@ import ( "strconv" "strings" "time" - - "go.wit.com/log" ) func indexHeader(w http.ResponseWriter) { @@ -38,14 +36,14 @@ func indexBodyStart(w http.ResponseWriter) { fmt.Fprintln(w, "
Package | ") + fmt.Fprintln(w, "Package (IPv6 only) | ") fmt.Fprintln(w, "Version | ") fmt.Fprintln(w, "Age | ") fmt.Fprintln(w, "Dev Version | ") - fmt.Fprintln(w, "go get | ") - fmt.Fprintln(w, "Authoritative sources (IPv6 only) | ") - fmt.Fprintln(w, "") - fmt.Fprintln(w, " | Documentation | ") + fmt.Fprintln(w, "Description | ") + // fmt.Fprintln(w, "Authoritative sources (IPv6 only) | ") + // fmt.Fprintln(w, "") + fmt.Fprintln(w, " | GO Docs | ") fmt.Fprintln(w, "||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
log/ (needed for the gui) | ||||||||||||||
"+gourl+" | ") - for i, s := range versionMap { - log.Println("found i =", i, "with", "s =", s) - } + // fmt.Fprintln(w, ""+gourl+" | ") + fmt.Fprintln(w, ""+gourl+" | ") + // for i, s := range versionMap { + // log.Println("found i =", i, "with", "s =", s) + // } var vtime, version string gourl = strings.TrimSpace(gourl) tmp, _ := versionMap[gourl] @@ -117,16 +125,11 @@ func indexBodyRepo(w http.ResponseWriter, gourl string, giturl string, github st } fmt.Fprintln(w, ""+version+" | ") // version - fmt.Fprintln(w, ""+ vtime +" | ") // dev version + fmt.Fprintln(w, ""+vtime+" | ") // dev version fmt.Fprintln(w, "") // dev version - fmt.Fprintln(w, " | "+gourl+" | ") - fmt.Fprintln(w, ""+giturl+" | ") - if github == "" { - fmt.Fprintln(w, "") - } else { - fmt.Fprintln(w, " | github.com/wit-go/log | ") - } - fmt.Fprintln(w, "") + fmt.Fprintln(w, " | "+desc+" | ") + // fmt.Fprintln(w, ""+giturl+" | ") + fmt.Fprintln(w, "") fmt.Fprintln(w, " |