5 # this is hardcoded; change it if needed
10 # ----------------------------------------------------------------------
18 # without setting HOSTNAME in rc
25 try
"ADMIN_PUSH set1; /FATAL/";
26 try
"/bad ref 'refs/heads/dev/%HOSTNAME'/";
28 # make a hostname entry
29 $ENV{G3T_RC
} = "$ENV{HOME}/g3trc";
30 put
"$ENV{G3T_RC}", "\$rc{HOSTNAME} = 'frodo';\n";
38 try
"ADMIN_PUSH set1; /FATAL/";
39 try
"/bad ref 'refs/heads/%HOSTNAME_baz'/";
48 try
"ADMIN_PUSH set1; !/FATAL/";
50 gitolite access bar u2 R any; /R any bar u2 DENIED by fallthru/
51 gitolite access bar u2 W any; /W any bar u2 DENIED by fallthru/
52 gitolite access bar u1 W any; !/DENIED/; /refs/heads/frodo/; !/baz/
53 gitolite access bar u1 R any; !/DENIED/; /refs/heads/frodo/; !/baz/
54 gitolite access bar u1 R refs/heads/frodo; /R refs/heads/frodo bar u1 DENIED by fallthru/
55 gitolite access bar u1 W refs/heads/frodo; /W refs/heads/frodo bar u1 DENIED by fallthru/
56 gitolite access bar u1 R refs/heads/frodo/1; !/DENIED/; /refs/heads/frodo/; !/baz/
57 gitolite access bar u1 W refs/heads/frodo/1; !/DENIED/; /refs/heads/frodo/; !/baz/
58 gitolite access bar u1 R refs/heads/sam; /R refs/heads/sam bar u1 DENIED by fallthru/
59 gitolite access bar u1 W refs/heads/sam; /W refs/heads/sam bar u1 DENIED by fallthru/
60 gitolite access bar u1 R refs/heads/master; /R refs/heads/master bar u1 DENIED by fallthru/
61 gitolite access bar u1 W refs/heads/master; /W refs/heads/master bar u1 DENIED by fallthru/
63 gitolite access bar u1 R refs/heads/frodo-baz; !/DENIED/; /refs/heads/frodo-baz/
64 gitolite access bar u1 W refs/heads/frodo-baz; !/DENIED/; /refs/heads/frodo-baz/
73 try
"ADMIN_PUSH set1; !/FATAL/";
75 gitolite list-repos; /foo-frodo/
76 gitolite list-phy-repos; /foo-frodo/