X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcron.dinstall;h=c730a116c28120978e8bc040f79ec574150de43b;hb=886228a319cf00e80feb24aaf49ecc2db995b243;hp=2e84dae1c8db74f7b50e3d1f2cbf9a84b44488a8;hpb=92836c3eece617d1b39d3631db4d8c80a55bbcd4;p=dak.git diff --git a/config/debian/cron.dinstall b/config/debian/cron.dinstall index 2e84dae1..c730a116 100755 --- a/config/debian/cron.dinstall +++ b/config/debian/cron.dinstall @@ -235,6 +235,13 @@ function buildd() { apt-ftparchive generate apt.conf.buildd } +function buildd_dir() { + # Rebuilt the buildd dir to avoid long times of 403 + log "Regenerating the buildd incoming dir" + STAMP=$(date "+%Y%m%d%H%M") + make_buildd_dir +} + function scripts() { log "Running various scripts from $scriptsdir" cd $scriptsdir @@ -324,6 +331,8 @@ function stats() { cd $configdir $scriptsdir/update-ftpstats $base/log/* > $base/misc/ftpstats.data R --slave --vanilla < $base/misc/ftpstats.R + dak stats arch-space > $webdir/arch-space + dak stats pkg-nums > $webdir/pkg-nums } function aptftpcleanup() { @@ -585,6 +594,14 @@ GO=( ) stage $GO +GO=( + FUNC="buildd_dir" + TIME="buildd_dir" + ARGS="" + ERR="false" +) +stage $GO + GO=( FUNC="cruft" TIME="cruft"