X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=cron.daily;h=93929f4467a18836677022f095d5ec690b60a09c;hb=1842b957a8b7ad430a3fdb51579337b8bc0f2730;hp=8d3100162ab7a50fbccff75ddb283c4d9a4722a8;hpb=46007f95da368217ca0bbdab3c4893157c6537e4;p=dak.git diff --git a/cron.daily b/cron.daily index 8d310016..93929f44 100755 --- a/cron.daily +++ b/cron.daily @@ -35,12 +35,13 @@ pg_dump projectb > /org/ftp.debian.org/backup/dump_$(date +%Y.%m.%d-%H:%M:%S) update-bugdoctxt update-mirrorlists +update-mailingliststxt ################################################################################ -cd $incoming +cd $accepted rm -f REPORT -katie -pak *.changes | direport | tee REPORT | \ +katie -pa *.changes | tee REPORT | \ mail -s "Install for $(date +%D)" ftpmaster@ftp-master.debian.org chgrp debadmin REPORT chmod 664 REPORT @@ -60,15 +61,19 @@ for i in proposed-updates_-_binary-* proposed-updates_-_source.list; do cat $i > cd $overridedir denise # FIXME -rm -f override.potato.all3 +rm -f override.potato.all3 override.sid.all3 for i in main contrib non-free; do cat override.potato.$i >> override.potato.all3; done +for i in main contrib non-free main.debian-installer; do cat override.sid.$i >> override.sid.all3; done # Generate Packages and Sources files cd $masterdir apt-ftparchive generate apt.conf +# Generate Release files +ziyi # Clean out old packages rhona +shania mkmaintainers copyoverrides @@ -85,6 +90,11 @@ pg_dump projectb > /org/ftp.debian.org/backup/dump_$(date +%Y.%m.%d-%H:%M:%S) ################################################################################ +# Vacuum the database +echo "VACUUM; VACUUM ANALYZE;" | psql projectb 2>&1 | grep -v "^NOTICE: Skipping.*only table owner can VACUUM it$" + +################################################################################ + ulimit -m 90000 -d 90000 -s 10000 -v 90000 run-parts --report /org/ftp.debian.org/scripts/distmnt