3 die
() { echo "$@"; exit 1; }
5 # git clone `url u1 r1`
7 echo http
://$1:$1@localhost
/git
/$2.git
12 c
="curl http://$1:$1@localhost/git"
31 export tmp
=$
(mktemp
-d);
38 ## ls-remote admin admin
39 git ls-remote `url admin gitolite-admin`
44 git clone `url admin gitolite-admin`
47 ls -al gitolite-admin/conf
52 echo repo t2
>> conf
/gitolite.conf
53 echo 'RW+ = u1 u2' >> conf
/gitolite.conf
57 git add conf/gitolite.conf
65 /Initialized.*usr.share.httpd.gitolite-home.repositories.t2.git/
66 /To http:..localhost.git.gitolite-admin.git/
69 git ls-remote `url u1 gitolite-admin`
71 /FATAL: R any gitolite-admin u1 DENIED by fallthru/
72 git ls-remote `url u1 t2`
75 git ls-remote `url u2 t2`
78 git ls-remote `url u3 t2`
80 /FATAL: R any t2 u3 DENIED by fallthru/
82 git push `url u1 t2` master:master
84 /To http:..localhost.git.t2.git/
86 git ls-remote `url u2 t2`