Cloning design overhaul - daemon instead of cronjobs
commitdb33815f0fae6e879bf4def3039d6e892474ca47
authorPetr Baudis <petr.baudis@novartis.com>
Fri, 15 Aug 2008 18:26:54 +0000 (15 20:26 +0200)
committerPetr Baudis <petr.baudis@novartis.com>
Fri, 15 Aug 2008 18:26:54 +0000 (15 20:26 +0200)
treea9ea6da13d85972b41ea46251054face968eda34
parent3aee7a552178a45b6adacec65ef2607a767e98b9
Cloning design overhaul - daemon instead of cronjobs

The clonecheck cronjob was removed, as was Girocco::Config::mqueuedir.
Instead, mirroring/cloned.pl listens to requests at /tmp/girocco.cloned
(sent by new Girocco::Project::clone()) and runs jobs/clone.sh on its own.
jobs/clone.sh does not mail failures but instead saves them to .clonelog
within the repository and regproj.cgi shows this file online. On failure,
repository is not removed but just .clone_failed is touched.
Girocco/Config.pm
Girocco/Project.pm
cgi/regproj.cgi
install.sh
jobs/clonecheck.sh [deleted file]
mirroring/Girocco [new symlink]
mirroring/clone.sh
mirroring/cloned.pl [new file with mode: 0755]