X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=cron.daily;h=f868b74041faf93ce31883bbde694ef718133778;hb=224c797a5dccbd6567a234cbc8afd6c6714d7c62;hp=d1fa06b8d0220fed06daf0521ee1d734029f0c9a;hpb=0c9d7f6f12805e923e7a448536060f31782df710;p=dak.git diff --git a/cron.daily b/cron.daily index d1fa06b8..f868b740 100755 --- a/cron.daily +++ b/cron.daily @@ -35,17 +35,13 @@ pg_dump projectb > /org/ftp.debian.org/backup/dump_$(date +%Y.%m.%d-%H:%M:%S) update-bugdoctxt update-mirrorlists +update-mailingliststxt ################################################################################ -# temporary hack to work around the lack of an apt-utils & python-apt package -export PYTHONPATH=$PYTHONPATH:/org/ftp.debian.org/scripts/apt/build/bin/ -export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/org/ftp.debian.org/scripts/apt/build/bin/ -export PATH=$PATH:/org/ftp.debian.org/scripts/apt/build/bin/ - -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 @@ -56,13 +52,28 @@ symlinks -d -r $ftpdir cd $masterdir jenna +# Generate override files +cd $overridedir +denise + +# Update task overrides for testing and unstable +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 -cd /org/ftp.debian.org/database/dists/ -for i in proposed-updates_-_binary-*; do cat $i >> proposed-updates_-_binary.list; done +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 -#rhona +# Clean out old packages +rhona +shania mkmaintainers copyoverrides @@ -79,6 +90,18 @@ 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$" + +################################################################################ + +# 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 + +################################################################################ + ulimit -m 90000 -d 90000 -s 10000 -v 90000 run-parts --report /org/ftp.debian.org/scripts/distmnt