Changes
9 changed files (+12/-12)
-
-
@@ -15,6 +15,6 @@ meta:title: icy does git description: come get your free software server: name: git.icyphox.sh name: github.com/pocka host: 0.0.0.0 port: 5555
-
-
-
@@ -1,4 +1,4 @@module git.icyphox.sh/legit module github.com/pocka/legit go 1.22.0
-
-
-
@@ -6,8 +6,8 @@ "fmt""log" "net/http" "git.icyphox.sh/legit/config" "git.icyphox.sh/legit/routes" "github.com/pocka/legit/config" "github.com/pocka/legit/routes" ) func main() {
-
-
-
@@ -52,7 +52,7 @@ title: git gooddescription: i think it's a skill issue syntaxHighlight: monokailight server: name: git.icyphox.sh name: github.com/pocka host: 127.0.0.1 port: 5555
-
-
-
@@ -8,10 +8,10 @@import ( "html/template" "git.icyphox.sh/legit/config" "git.icyphox.sh/legit/git" "github.com/go-git/go-git/v5/plumbing" "github.com/go-git/go-git/v5/plumbing/object" "github.com/pocka/legit/config" "github.com/pocka/legit/git" ) // repositorySummary contains overview of a git repository.
-
-
-
@@ -7,8 +7,8 @@ "log""net/http" "path/filepath" "git.icyphox.sh/legit/git/service" securejoin "github.com/cyphar/filepath-securejoin" "github.com/pocka/legit/git/service" ) func (d *deps) InfoRefs(w http.ResponseWriter, r *http.Request) {
-
-
-
@@ -3,7 +3,7 @@import ( "net/http" "git.icyphox.sh/legit/config" "github.com/pocka/legit/config" ) // Checks for gitprotocol-http(5) specific smells; if found, passes
-
-
-
@@ -12,11 +12,11 @@ "sort""strconv" "strings" "git.icyphox.sh/legit/config" "git.icyphox.sh/legit/git" securejoin "github.com/cyphar/filepath-securejoin" "github.com/dustin/go-humanize" "github.com/microcosm-cc/bluemonday" "github.com/pocka/legit/config" "github.com/pocka/legit/git" "github.com/russross/blackfriday/v2" )
-
-
-
@@ -15,7 +15,7 @@ "github.com/alecthomas/chroma/v2/formatters/html""github.com/alecthomas/chroma/v2/lexers" "github.com/alecthomas/chroma/v2/styles" "git.icyphox.sh/legit/git" "github.com/pocka/legit/git" ) func isGoModule(gr *git.GitRepo) bool {
-