X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=cron.daily;h=5cb1cebd0bb94459a5e997d54dbfad6ad9f00e7a;hb=bfa2095bc1519f2b31faf9d2cde70ea6ef32adbc;hp=61f74db985dc27fea639c046ea5dd0f3686297a4;hpb=2e38e1b4845d2404e76bd9bb993a7025a1ed693c;p=dak.git diff --git a/cron.daily b/cron.daily index 61f74db9..5cb1cebd 100755 --- a/cron.daily +++ b/cron.daily @@ -39,9 +39,9 @@ update-mailingliststxt ################################################################################ -cd $incoming +cd $accepted rm -f REPORT -katie -pak *.changes | direport | tee REPORT | \ +kelly -pa *.changes | tee REPORT | \ mail -s "Install for $(date +%D)" ftpmaster@ftp-master.debian.org chgrp debadmin REPORT chmod 664 REPORT @@ -52,17 +52,19 @@ symlinks -d -r $ftpdir cd $masterdir jenna -# FIXME -cd /org/ftp.debian.org/database/dists/ -rm -f proposed-updates_-_all.list -for i in proposed-updates_-_binary-* proposed-updates_-_source.list; do cat $i >> proposed-updates_-_all.list; done - # Generate override files cd $overridedir denise + +# Update task overrides for testing and unstable +# [JT 2004-02-04 disabled; copying in by hand for now] +#cat $extoverridedir/task | perl -ne 'print if /^\S+\sTask\s\S+(,\s*\S+)*$/;' > override.sarge.extra.main +#cat $extoverridedir/task | perl -ne 'print if /^\S+\sTask\s\S+(,\s*\S+)*$/;' > override.sid.extra.main + # 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 @@ -72,6 +74,7 @@ ziyi # Clean out old packages rhona +shania mkmaintainers copyoverrides @@ -84,7 +87,27 @@ echo Archive maintenance finished at $(date +%X) ################################################################################ echo "Creating post-daily-cron-job backup of projectb database..." -pg_dump projectb > /org/ftp.debian.org/backup/dump_$(date +%Y.%m.%d-%H:%M:%S) +POSTDUMP=/org/ftp.debian.org/backup/dump_$(date +%Y.%m.%d-%H:%M:%S) +pg_dump projectb > $POSTDUMP +(cd /org/ftp.debian.org/backup; ln -sf $POSTDUMP current) + +################################################################################ + +# Vacuum the database +echo "VACUUM; VACUUM ANALYZE;" | psql projectb 2>&1 | grep -v "^NOTICE: Skipping.*only table owner can VACUUM it$" + +################################################################################ + +# Send a report on NEW/BYHAND packages +helena | mail -e -s "NEW and BYHAND on $(date +%D)" ftpmaster@ftp-master.debian.org +# and one on crufty packages +rene | mail -e -s "rene run for $(date +%D)" ftpmaster@ftp-master.debian.org + +################################################################################ + +# Run billie + +time billie ################################################################################