3 # Invoked from mirroring/cloned.pl
10 proj
="${projdir%.git}"
12 cd "$cfg_reporoot/$projdir"
13 trap "echo '@OVER@'; touch .clone_failed" EXIT
18 echo "Configuring repository..."
19 git config
--bool mirror.allowed true
22 echo "Initiating mirroring..."
26 echo "Final touches..."
27 git update-server-info
29 mail -s "[$cfg_name] $proj clone completed" "$mail,$cfg_admin" <<EOT
30 Congratulations! The clone of project $proj just completed.
33 * GitWeb interface: $cfg_gitweburl/$projdir
34 * Project settings: $cfg_webadmurl/editproj.cgi?name=$proj
39 echo "Mirroring finished successfuly!"