]> git.decadent.org.uk Git - dak.git/commitdiff
update cron.buildd to use a filelist exported from the db rather than adirectory...
authorRyan Murray <rmurray@debian.org>
Mon, 10 Nov 2003 06:08:24 +0000 (06:08 +0000)
committerRyan Murray <rmurray@debian.org>
Mon, 10 Nov 2003 06:08:24 +0000 (06:08 +0000)
apt.conf.buildd
cron.buildd

index 09c9ed5db1d64e2be4b43dc4ceb462a89a726388..9ea04491014b1f9af89f081028c69324794ef384 100644 (file)
@@ -16,16 +16,22 @@ Default
 bindirectory "incoming"
 {
    Packages "Packages";
-   Sources "Sources";
    Contents " ";
 
    BinOverride "override.sid.all3";
-   SrcOverride "override.sid.all3.src";
    BinCacheDB "packages-accepted.db";
    
-   FileList "/org/ftp.debian.org/database/dists/unstable_accepted_binary.list";
-   SourceFileList "/org/ftp.debian.org/database/dists/unstable_accepted_source.list";
+   FileList "/org/ftp.debian.org/database/dists/unstable_accepted.list";
 
    PathPrefix "";
    Packages::Extensions ".deb .udeb";
 };
+
+bindirectory "incoming/"
+{
+   Sources "Sources";
+   BinOverride "override.sid.all3";
+   SrcOverride "override.sid.all3.src";
+   SourceFileList "/org/ftp.debian.org/database/dists/unstable_accepted.list";
+};
+
index 1d874c74940dd3a3a20ff222ef36f2664b8b9dd3..15e10a6fa52f12bbae468fcfd1c142e7aa0fa4ca 100644 (file)
@@ -16,9 +16,7 @@ if [ ! -e "$ftpdir/Archive_Maintenance_In_Progress" ]; then
                rm -f "$LOCKFILE"
        }
        trap cleanup 0
-       psql projectb -A -t -q -c 'SELECT filename FROM accepted_autobuild WHERE suite = 5' > $dbdir/dists/unstable_accepted.list
-       grep 'dsc$' $dbdir/dists/unstable_accepted.list > $dbdir/dists/unstable_accepted_source.list
-       grep 'deb$' $dbdir/dists/unstable_accepted.list > $dbdir/dists/unstable_accepted_binary.list
+       psql projectb -A -t -q -c "SELECT filename FROM accepted_autobuild WHERE suite = 5 AND filename ~ 'd(sc|eb)$'" > $dbdir/dists/unstable_accepted.list
         cd $overridedir
         denise &>/dev/null
         rm -f override.sid.all3 override.sid.all3.src