Gitosis

Lightning talk at PyCon US 2009

software for hosting git repositories

no shell

access control

ssh public keys

git-shell

used to do manually

sucked

python

~1.2kloc

~2kloc of tests

example config

[group gitosis-admin]
members = tv@musti
writable = gitosis-admin

editing

cp ~jdoe/id_rsa.pub \
  keydir/jdoe.pub
vi gitosis.conf
git add .
git commit -m \
  'Added John to developers.'
git push

private

[group private]
members = tv@musti
writable =
	sekrits
	maps/whereiburiedthebodies

typical setup

[group ep2008sprint]
members = tv@musti tobixen kaali schwa avn
writable = fs

[repo fs]
owner = Tommi Virtanen
gitweb = yes
daemon = yes
description = fs -- Common Pythonic Filesystem API

readonly

[group deploy]
members =
	deploy@server1
	deploy@server2
readonly = exampleapp

rails developers are using it!

Thanks

BoF at 11:40 today

tv@eagain.net http://eagain.net/

i suck at making
websites for projects