From: Joerg Jaspert Date: Wed, 6 Aug 2008 23:20:23 +0000 (+0200) Subject: Merge from Joachim X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9cd0a9b4d5fc20932b3818bf4e45fbffebc9fc5;p=dak Merge from Joachim --- a9cd0a9b4d5fc20932b3818bf4e45fbffebc9fc5 diff --cc ChangeLog index b6b1ac90,74879a3b..4bb52a3d --- a/ChangeLog +++ b/ChangeLog @@@ -1,20 -1,13 +1,30 @@@ +2008-08-07 Joerg Jaspert + + * dak/process_accepted.py (install): Error out with the new + exception if we dont know the source package for a file we want to + install. Shouldn't ever hit us, but better safe than sorry. + + * daklib/dak_exceptions.py (dakerrors): new exception - no source field. + +2008-08-05 Joerg Jaspert + + * config/debian/cron.unchecked: disable the ssh-move insanity (and + as soon as rietz is back online - replace it with a one-line scp + or rsync statement followed by a one-line rm) + And now replaced this 128 line perl "not-invented-here" with a + one-line rsync command, using a feature rsync only understands + since sarge - damn new-fangled technology. + + 2008-08-05 Joachim Breitner + + * dak/cruft_report.py: In full mode, report out-of-date binaries on + architectures that have set Not-For-Us for that package. + + * scripts/nfu/get-w-b-db: Script to fetch the wanna-build database + dump from http://buildd.debian.org/ + + * config/debian/cron.weekly: Run the above script + 2008-08-03 Mark Hymers * dak/process_new.py: Apply jvw's patch so that process_new shows diff --cc config/debian/cron.weekly index 39224ce8,9a4c56f1..4baaf46c --- a/config/debian/cron.weekly +++ b/config/debian/cron.weekly @@@ -49,6 -49,10 +49,10 @@@ echo "Cleanup apt-ftparchive's database apt-ftparchive -q clean apt.conf apt-ftparchive -q clean apt.conf.buildd + # Update wanna-build dump -echo "Update wanan-build database dump" ++echo "Update wanna-build database dump" + /org/ftp.debian.org/scripts/nfu/get-w-b-db + echo "Finally, all is done, compressing logfile" exec > /dev/null 2>&1 diff --cc scripts/nfu/get-w-b-db index 00000000,48d2c5f8..c34e5e38 mode 000000,100755..100755 --- a/scripts/nfu/get-w-b-db +++ b/scripts/nfu/get-w-b-db @@@ -1,0 -1,20 +1,22 @@@ + #!/bin/bash + ++set -e ++ + # list of architectures taken from + # http://buildd.debian.org/stats/ + + # For debugging, you can override the path using + # the WB_DB_DIR enviroment variable + if [ -z "$WB_DB_DIR" ] + then - WB_DB_DIR=/org/ftp.debian.org/scripts/nfu ++ WB_DB_DIR=/srv/ftp.debian.org/scripts/nfu + fi + + cd $WB_DB_DIR || { echo "Failed to cd to $WB_DB_DIR" ; exit 1 ;} + + for arch in alpha amd64 arm armel hppa i386 ia64 m68k mips mipsel powerpc s390 sparc + do + rm -f $arch-all.txt + echo "Getting $arch-all.txt" + wget -q http://buildd.debian.org/stats/$arch-all.txt + done