. $SCRIPTVARS
################################################################################
echo Archive maintenance started at $(date +%X)
. $SCRIPTVARS
################################################################################
echo Archive maintenance started at $(date +%X)
# Update task overrides for testing and unstable
# [JT 2004-02-04 disabled; copying in by hand for now]
# Update task overrides for testing and unstable
# [JT 2004-02-04 disabled; copying in by hand for now]
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
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
# Needs to be rebuilt, as files have moved. Due to unaccepts, we need to
# update this before wanna-build is updated.
psql projectb -A -t -q -c "SELECT filename FROM queue_build WHERE suite = 5 AND queue = 0 AND in_queue = true AND filename ~ 'd(sc|eb)$'" > $dbdir/dists/unstable_accepted.list
apt-ftparchive generate apt.conf.buildd
# Needs to be rebuilt, as files have moved. Due to unaccepts, we need to
# update this before wanna-build is updated.
psql projectb -A -t -q -c "SELECT filename FROM queue_build WHERE suite = 5 AND queue = 0 AND in_queue = true AND filename ~ 'd(sc|eb)$'" > $dbdir/dists/unstable_accepted.list
apt-ftparchive generate apt.conf.buildd
#
# Fetch bugs information before unchecked processing is allowed again.
/org/ftp.debian.org/testing/britney bugs
rm -f $NOTICE
#
# Fetch bugs information before unchecked processing is allowed again.
/org/ftp.debian.org/testing/britney bugs
rm -f $NOTICE
# Vacuum the database
echo "VACUUM; VACUUM ANALYZE;" | psql projectb 2>&1 | grep -v "^NOTICE: Skipping.*only table owner can VACUUM it$"
################################################################################
# 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
echo Daily cron scripts successful.
ulimit -m 90000 -d 90000 -s 10000 -v 90000
run-parts --report /org/ftp.debian.org/scripts/distmnt
echo Daily cron scripts successful.