2 # Generate a .mrconfig containing all private repos
3 # adopted from https://github.com/svend/home-bin/blob/master/gen-mrconfig-priv
7 # ./gen-mrconfig.sh GIT_REPO_URL
10 # ./gen-mrconfig.sh gitolite@some.ho.st
18 echo "[$(basename $s)]"
19 echo "checkout = git clone ssh://$SSH/$s"
26 # gitolite outputs list with DOS line endings
28 # only pick lines with space at the beginning
31 # Last field contains the repo name
33 # filter out all special gitolite groups, i.e. @all
36 # All private repos are under svend-priv/
37 #grep -e '^svend-priv/' -e '^gitolite-admin$' |
39 # Delete last empty line