From 8e8ccb50f411878bf4f7131dfc48e244cf6fa870 Mon Sep 17 00:00:00 2001 From: gitolite tester Date: Sat, 31 Mar 2012 21:42:16 +0530 Subject: [PATCH] additions to default rc (commented out) for mirroring --- src/Gitolite/Rc.pm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/Gitolite/Rc.pm b/src/Gitolite/Rc.pm index 57cedb2..5654af1 100644 --- a/src/Gitolite/Rc.pm +++ b/src/Gitolite/Rc.pm @@ -248,6 +248,9 @@ __DATA__ # (Tip: perl allows a comma after the last item in a list also!) %RC = ( + # if you're using mirroring, you need a hostname. This is *one* simple + # word, not a full domain name. See documentation if in doubt + # HOSTNAME => 'darkstar', UMASK => 0077, GIT_CONFIG_KEYS => '', @@ -285,6 +288,7 @@ __DATA__ 'info' => 1, 'desc' => 1, 'perms' => 1, + # 'mirror' => 1, 'writable' => 1, }, @@ -295,6 +299,13 @@ __DATA__ # 'continuation-lines', ], + # comment out or uncomment as needed + # these will run in sequence to modify the input (arguments and environment) + INPUT => + [ + # 'Mirroring::input', + ], + # comment out or uncomment as needed # these will run in sequence just after the first access check is done ACCESS_1 => @@ -308,6 +319,8 @@ __DATA__ # if you use this, make this the first item in the list # 'renice 10', + # 'Mirroring::pre_git', + # see docs ("list of non-core programs shipped") for details # 'partial-copy', ], @@ -324,6 +337,7 @@ __DATA__ [ # if you use this, make this the last item in the list # 'cpu-time', + # 'Mirroring::post_git', ], # comment out or uncomment as needed