Hacker News new | ask | show | jobs
by lobo_tuerto 1928 days ago
If interested in self hosting your git repos have a look at gitolite: https://gitolite.com/gitolite/index.html
2 comments

Gitolite is good if you want a locked-down git server with sophisticated access control

Gitolite provides a command-line UI only; you can use it with gitweb or cgit to allow people to view repositories in a web browser.

No issues or pull requests or fancy stuff like that!

gitolite is pretty fancy but depends on a text based configuration, and it's easy to make your own git-shell which is basically a shell that will allow certain commands, and assign each ssh key to a git-shell with arguments such as a username if you want to bind to a db or something
> basically a shell that will allow certain commands, and assign each ssh key to a git-shell with arguments such as a username

Well, to be fair, you don’t need gitolite for that. You can just do that with any account and the right .ssh/authorized_keys file. prgmr.com uses/used(?) this for out of band access to VMs for example.

Oh man, I remember 10 years ago when Gitlab was a very modest UI on top of this.