dfbsd git setup
Matthew Dillon
dillon at apollo.backplane.com
Thu Jan 29 17:08:32 PST 2015
:Thanks for the great writeup! Why not use git-shell instead of command= stuff?
:
:Also do you happen to do anything special with permissions on the git
:repo or is shared=group + setgid stuff enough to keep everything sane?
Shared group works well. Here's what the config file looks like in
the master repo:
We do use git-shell but I wrote a little wrapper for it called
git-ssh-command that execs it with 'cmd' as a single argument to -c
(taken from the SSH_ORIGINAL_COMMAND env variable). I don't remember
why I did that, it was a very long time ago.
-Matt
[core]
repositoryformatversion = 0
filemode = true
bare = true
sharedRepository = group
packedGitWindowSize = 64m
packedGitLimit = 256m
[pack]
packSizeLimit = 64m
[hooks]
mailinglist = commits at dragonflybsd.org
emailprefix = "git: "
gitweburl = http://gitweb.dragonflybsd.org
[gc]
aggressiveWindow = 100
auto = 0
[gitweb]
#owner = The DragonFly Project
owner = Fred
-Matt
Matthew Dillon
<dillon at backplane.com>
More information about the Users
mailing list