+2
-2
cmd/legit/main.go
+2
-2
cmd/legit/main.go
+2
-2
config.yaml
+2
-2
config.yaml
legit/config/config.go
config/config.go
legit/config/config.go
config/config.go
legit/contrib/Dockerfile
contrib/Dockerfile
legit/contrib/Dockerfile
contrib/Dockerfile
legit/contrib/docker-compose.yml
contrib/docker-compose.yml
legit/contrib/docker-compose.yml
contrib/docker-compose.yml
legit/contrib/legit.service
contrib/legit.service
legit/contrib/legit.service
contrib/legit.service
legit/db/init.go
db/init.go
legit/db/init.go
db/init.go
legit/db/pubkeys.go
db/pubkeys.go
legit/db/pubkeys.go
db/pubkeys.go
legit/db/repo.go
db/repo.go
legit/db/repo.go
db/repo.go
legit/git/diff.go
git/diff.go
legit/git/diff.go
git/diff.go
legit/git/git.go
git/git.go
legit/git/git.go
git/git.go
legit/git/repo.go
git/repo.go
legit/git/repo.go
git/repo.go
legit/git/service/service.go
git/service/service.go
legit/git/service/service.go
git/service/service.go
legit/git/service/write_flusher.go
git/service/write_flusher.go
legit/git/service/write_flusher.go
git/service/write_flusher.go
legit/git/tree.go
git/tree.go
legit/git/tree.go
git/tree.go
+1
-1
legit/routes/auth.go
routes/auth.go
+1
-1
legit/routes/auth.go
routes/auth.go
legit/routes/auth/auth.go
routes/auth/auth.go
legit/routes/auth/auth.go
routes/auth/auth.go
legit/routes/auth/types.go
routes/auth/types.go
legit/routes/auth/types.go
routes/auth/types.go
+1
-1
legit/routes/file.go
routes/file.go
+1
-1
legit/routes/file.go
routes/file.go
···
11
11
"github.com/alecthomas/chroma/v2/formatters/html"
12
12
"github.com/alecthomas/chroma/v2/lexers"
13
13
"github.com/alecthomas/chroma/v2/styles"
14
-
"github.com/icyphox/bild/legit/git"
14
+
"github.com/icyphox/bild/git"
15
15
)
16
16
17
17
func (h *Handle) listFiles(files []git.NiceTree, data map[string]any, w http.ResponseWriter) {
+1
-1
legit/routes/git.go
routes/git.go
+1
-1
legit/routes/git.go
routes/git.go
+4
-4
legit/routes/handler.go
routes/handler.go
+4
-4
legit/routes/handler.go
routes/handler.go
···
9
9
_ "github.com/bluesky-social/indigo/xrpc"
10
10
"github.com/go-chi/chi/v5"
11
11
"github.com/gorilla/sessions"
12
-
"github.com/icyphox/bild/legit/config"
13
-
"github.com/icyphox/bild/legit/db"
14
-
"github.com/icyphox/bild/legit/routes/auth"
15
-
"github.com/icyphox/bild/legit/routes/tmpl"
12
+
"github.com/icyphox/bild/config"
13
+
"github.com/icyphox/bild/db"
14
+
"github.com/icyphox/bild/routes/auth"
15
+
"github.com/icyphox/bild/routes/tmpl"
16
16
)
17
17
18
18
// Checks for gitprotocol-http(5) specific smells; if found, passes
legit/routes/html_util.go
routes/html_util.go
legit/routes/html_util.go
routes/html_util.go
+4
-4
legit/routes/routes.go
routes/routes.go
+4
-4
legit/routes/routes.go
routes/routes.go
···
18
18
"github.com/go-chi/chi/v5"
19
19
"github.com/go-git/go-git/v5/plumbing"
20
20
"github.com/gorilla/sessions"
21
-
"github.com/icyphox/bild/legit/config"
22
-
"github.com/icyphox/bild/legit/db"
23
-
"github.com/icyphox/bild/legit/git"
24
-
"github.com/icyphox/bild/legit/routes/auth"
21
+
"github.com/icyphox/bild/config"
22
+
"github.com/icyphox/bild/db"
23
+
"github.com/icyphox/bild/git"
24
+
"github.com/icyphox/bild/routes/auth"
25
25
"github.com/russross/blackfriday/v2"
26
26
"golang.org/x/crypto/ssh"
27
27
)
legit/routes/tmpl/tmpl.go
routes/tmpl/tmpl.go
legit/routes/tmpl/tmpl.go
routes/tmpl/tmpl.go
+1
-1
legit/routes/util.go
routes/util.go
+1
-1
legit/routes/util.go
routes/util.go
legit/static/legit.png
static/legit.png
legit/static/legit.png
static/legit.png
legit/static/style.css
static/style.css
legit/static/style.css
static/style.css
legit/templates/errors/404.html
templates/errors/404.html
legit/templates/errors/404.html
templates/errors/404.html
legit/templates/errors/500.html
templates/errors/500.html
legit/templates/errors/500.html
templates/errors/500.html
legit/templates/index.html
templates/index.html
legit/templates/index.html
templates/index.html
legit/templates/layouts/head.html
templates/layouts/head.html
legit/templates/layouts/head.html
templates/layouts/head.html
legit/templates/layouts/repo-header.html
templates/layouts/repo-header.html
legit/templates/layouts/repo-header.html
templates/layouts/repo-header.html
legit/templates/repo/commit.html
templates/repo/commit.html
legit/templates/repo/commit.html
templates/repo/commit.html
legit/templates/repo/empty.html
templates/repo/empty.html
legit/templates/repo/empty.html
templates/repo/empty.html
legit/templates/repo/file.html
templates/repo/file.html
legit/templates/repo/file.html
templates/repo/file.html
legit/templates/repo/log.html
templates/repo/log.html
legit/templates/repo/log.html
templates/repo/log.html
legit/templates/repo/new.html
templates/repo/new.html
legit/templates/repo/new.html
templates/repo/new.html
legit/templates/repo/refs.html
templates/repo/refs.html
legit/templates/repo/refs.html
templates/repo/refs.html
legit/templates/repo/repo.html
templates/repo/repo.html
legit/templates/repo/repo.html
templates/repo/repo.html
legit/templates/repo/tree.html
templates/repo/tree.html
legit/templates/repo/tree.html
templates/repo/tree.html
legit/templates/settings/keys.html
templates/settings/keys.html
legit/templates/settings/keys.html
templates/settings/keys.html
legit/templates/user/login.html
templates/user/login.html
legit/templates/user/login.html
templates/user/login.html