all repos — legit @ e6a2ef85604f4a46c84515038ef00eeab27cdf29

legit - simple git web interface in go (fork)

update readme
Iris Lightshard nilix@nilfm.cc
PGP Signature
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEkFh6dA+k/6CXFXU4O3+8IhROY5gFAmPeja8ACgkQO3+8IhRO
Y5in5g//cALMpQFPOti5JiwN5nAEhw2GBiNZl5Rjy7qQsCmqq7fAAcF5cCGVBG6k
yXLnsFNBHJiv5okHY5CZzrQbhgBj7HSpD0UhPYaDlwL07bpVZN6c7VHZseODWbul
Ewt+/7EJewvltc9z5uVOA+UB2vSflIHo92YnUo2Y193FVMzleTPKhmPjMcaZ0L7c
RI672yDPePFLYhlMnzMjBajn+2jietaQJ70ECNOhyST3xBWxEj2WwQ4YIxeBmPl5
j30YsuoQ1nbyZ9/AfFfobpNnoNwDiyTjl04UmDmW9ZU0T0UgJp0wbUS8mPHf1oSC
h4ZxLuyjw3u4uvdaWIQsX8LMs1KsA7i/cS5D1Z0DGJuog909+JF0C9HIc/Al81N7
OppZrXzsjm2CgrLvfGSa4iIc1Gj3AWH8ulu31AvXAy5+kZOYJOe6l0ZFchGJhc+n
yMj+MRrUxk+9ymDYmEM9+zfT/ikEp418+6t3Q+nuZhU47fq6Gfokt8rytgt4wtEY
aWretbHE28feV8NnzNv7SIurkwQd7HThy+3OHPg0gETlooMBdY7MTN+AjRYRNZ/w
xS9uq8/kD1IGCED0sQrq/B5wrw5FxM1btmH8Mppeb2vZpBGv59vNw7HFLhltLMlC
zvAe174AxFzi+Iv54Fke/Qty7fv+9BNUlYhT1zAEFDNwLSfN1Fs=
=8+XO
-----END PGP SIGNATURE-----
commit

e6a2ef85604f4a46c84515038ef00eeab27cdf29

parent

30683a7ceca293d0a3db54f77ecc82c9ddcba787

2 files changed, 10 insertions(+), 3 deletions(-)

jump to
M config.yamlconfig.yaml

@@ -1,5 +1,5 @@

repo: - scanPath: /var/www/git/ + scanPath: /var/www/git readme: - readme - README
M readmereadme

@@ -48,6 +48,8 @@ static: ./static

meta: title: git good description: i think it's a skill issue + footer: served with legit vVERSION; email patches to MAINTAINER + maintainerEmail: x@icyphox.sh server: name: git.icyphox.sh host: 127.0.0.1

@@ -57,9 +59,14 @@ These options are fairly self-explanatory, but of note are:

• repo.scanPath: where all your git repos live (or die). legit doesn't traverse subdirs yet. -• repo.readme: readme files to look for. Markdown isn't rendered. +• repo.readme: readme files to look for. Markdown is rendered via + BlackFriday and relative links to files in the repo are supported • repo.mainBranch: main branch names to look for. • repo.ignore: repos to ignore. +• meta.footer: footer HTML. VERSION is interpolated with the version string + and MAINTAINER is interpolated with a mailto link to meta.maintainerEmail + (can be empty) +• meta.maintainerEmail: probably your own (can be empty) • server.name: used for go-import meta tags and clone URLs.

@@ -67,7 +74,7 @@ NOTES

• Run legit behind a TLS terminating proxy like relayd(8) or nginx. • Cloning only works in bare repos -- this is a limitation inherent to git. You - can still view bare repos just fine in legit. + can still view normal repos just fine in legit. • The default head.html template uses my CDN to fetch fonts -- you may or may not want this. • Pushing over https, while supported, is disabled because auth is a