cloning: enforce $Girocco::Config::max_file_size512
commitd360b08b345c5abc86e21503839198e7304aacdd
authorKyle J. McKay <mackyle@gmail.com>
Sat, 15 Aug 2020 20:58:21 +0000 (15 13:58 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Sat, 15 Aug 2020 20:58:21 +0000 (15 13:58 -0700)
tree7074ce7c2c5a02792e7e20df7344a3f1f2261ba0
parentea07a9e5d1a0855af138e6ec606e7c269ec9a921
cloning: enforce $Girocco::Config::max_file_size512

When cloning a new project, enforce the new
$Girocco::Config::max_file_size512 file size limit.

Additionally, if the clone ends up failing because the limit was
exceeded, immediately remove all files in the objects subdirectory
hierarchy, include a "size exceeded" blurb in the failure message
and always cc the configured admin address in such a case regardless
of the admincc setting.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
taskd/clone.sh