]> git.decadent.org.uk Git - dak.git/commitdiff
2004-01-21 James Troup <james@nocrew.org> * denise (main): generate debian-installe...
authorJames Troup <james@nocrew.org>
Wed, 21 Jan 2004 03:19:52 +0000 (03:19 +0000)
committerJames Troup <james@nocrew.org>
Wed, 21 Jan 2004 03:19:52 +0000 (03:19 +0000)
apt.conf
denise
katie.conf
katie.conf-non-US
katie.conf-security

index 18a9152948cfdff60f07ebf3135d53e45bb4aed8..f7422d595848cebef93dbf51d3b74b918a55cc37 100644 (file)
--- a/apt.conf
+++ b/apt.conf
@@ -69,6 +69,20 @@ tree "dists/unstable"
    Sources::Compress "gzip bzip2";
 };
 
+// debian-installer
+
+tree "dists/testing/main"
+{
+   FileList "/org/ftp.debian.org/database/dists/testing_main_$(SECTION)_binary-$(ARCH).list";
+   Sections "debian-installer";
+   Architectures "alpha arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc source";
+   BinOverride "override.sarge.main.$(SECTION)";
+   SrcOverride "override.sarge.main.src";
+   BinCacheDB "packages-debian-installer-$(ARCH).db";
+   Packages::Extensions ".udeb";
+   Contents " ";
+};
+
 tree "dists/unstable/main"
 {
    FileList "/org/ftp.debian.org/database/dists/unstable_main_$(SECTION)_binary-$(ARCH).list";
@@ -81,6 +95,8 @@ tree "dists/unstable/main"
    Contents " ";
 };
 
+// Experimental
+
 tree "project/experimental"
 {
    FileList "/org/ftp.debian.org/database/dists/experimental_$(SECTION)_binary-$(ARCH).list";
diff --git a/denise b/denise
index 4b0f5847317818e8a3a808b075b4533a25cc26b8..c525122e516c5a49acbb1658d1d0e2f7b8d87c9b 100755 (executable)
--- a/denise
+++ b/denise
@@ -1,8 +1,8 @@
 #!/usr/bin/env python
 
 # Output override files for apt-ftparchive and indices/
-# Copyright (C) 2000, 2001, 2002  James Troup <james@nocrew.org>
-# $Id: denise,v 1.15 2003-01-02 18:10:02 troup Exp $
+# Copyright (C) 2000, 2001, 2002, 2004  James Troup <james@nocrew.org>
+# $Id: denise,v 1.16 2004-01-21 03:19:52 troup Exp $
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -131,26 +131,36 @@ def main ():
             continue;
         component_id = db_access.get_component_id(component);
         for type in Cnf.ValueList("OverrideType"):
-            if type == "deb":
-                override_type = "";
-                q = projectB.query("SELECT DISTINCT b.package FROM bin_associations ba, binaries b, files f, location l WHERE ba.suite = %s AND l.component = %s AND ba.bin = b.id AND b.file = f.id AND f.location = l.id" % (suite_id, component_id));
+            if type == "deb" or type == "udeb":
+                if type == "deb":
+                    override_type = "";
+                elif type == "udeb":
+                    if component != "main":
+                        continue;
+                    override_type = ".debian-installer";
+                q = projectB.query("SELECT DISTINCT b.package FROM bin_associations ba, binaries b, files f, location l WHERE ba.suite = %s AND l.component = %s AND b.type = '%s' AND ba.bin = b.id AND b.file = f.id AND f.location = l.id" % (suite_id, component_id, type));
             elif type == "dsc":
                 q = projectB.query("SELECT DISTINCT s.source FROM src_associations sa, source s, files f, location l WHERE sa.suite = %s AND l.component = %s AND sa.source = s.id AND s.file = f.id AND f.location = l.id" % (suite_id, component_id));
                 override_type = ".src";
-            elif type == "udeb":
-                continue;
             filename = "%s/override.%s.%s%s" % (Cnf["Dir::Override"], override_suite, component.replace("non-US/", ""), override_type);
             file = utils.open_file(filename, 'w');
             for i in q.getresult():
                 package = i[0];
-                if override["unstable"][component][type].has_key(package):
-                    file.write(utils.result_join(override["unstable"][component][type][package])+'\n');
-                elif override["stable"][component][type].has_key(package):
-                    file.write(utils.result_join(override["stable"][component][type][package])+'\n');
-                else:
-                    if type == "dsc" and (override["unstable"][component]["deb"].has_key(package) or override["stable"][component]["deb"].has_key(package)):
-                        continue; # source falls back on binary; so accept silently
-                    utils.warn("Can't find override entry for testing package '%s' (component %s, type %s)." % (package, component, type));
+                if type == "deb" or type == "dsc":
+                    if override["unstable"][component][type].has_key(package):
+                        file.write(utils.result_join(override["unstable"][component][type][package])+'\n');
+                    elif override["stable"][component][type].has_key(package):
+                        file.write(utils.result_join(override["stable"][component][type][package])+'\n');
+                    else:
+                        if type == "dsc" and (override["unstable"][component]["deb"].has_key(package) or override["stable"][component]["deb"].has_key(package)):
+                            continue; # source falls back on binary; so accept silently
+                        utils.warn("Can't find override entry for testing package '%s' (component %s, type %s)." % (package, component, type));
+                elif type == "udeb":
+                    if component == "main" and override["unstable"][component][type].has_key(package):
+                        file.write(utils.result_join(override["unstable"][component][type][package])+'\n');
+                    else:
+                        utils.warn("Can't find override entry for testing package '%s' (component %s, type %s)." % (package, component, type));
+
             file.close();
 
 #######################################################################################
index 5f8fd28f3d45fe95fbddc7e1003951dbb07e8601..555d12f7918c1254dfde6c7708fad7b4d6a10543 100644 (file)
@@ -4,7 +4,7 @@ Dinstall
    GPGKeyring "/org/keyring.debian.org/keyrings/debian-keyring.gpg";
    SigningKeyring "/org/ftp.debian.org/s3kr1t/dot-gnupg/secring.gpg";
    SigningPubKeyring "/org/ftp.debian.org/s3kr1t/dot-gnupg/pubring.gpg";
-   SigningKeyIds "38C6029A";
+   SigningKeyIds "1DB114E0";
    SendmailCommand "/usr/sbin/sendmail -odq -oi -t";
    MyEmailAddress "Debian Installer <installer@ftp-master.debian.org>";
    MyAdminAddress "ftpmaster@debian.org";
@@ -221,6 +221,10 @@ Suite
        CodeName "sarge";
        OverrideCodeName "sarge";
        Priority "5";
+       UdebComponents
+       {
+         main;
+       };
   };
 
   Testing-Proposed-Updates
index d9beaf6851769a499f4d42fd656627ab386ea071..490e6eec7a32947d316f963a7752a23a8b34ea0d 100644 (file)
@@ -4,7 +4,7 @@ Dinstall
    GPGKeyring "/org/keyring.debian.org/keyrings/debian-keyring.gpg";
    SigningKeyring "/org/non-us.debian.org/s3kr1t/dot-gnupg/secring.gpg";
    SigningPubKeyring "/org/non-us.debian.org/s3kr1t/dot-gnupg/pubring.gpg";
-   SigningKeyIds "30B34DD5";
+   SigningKeyIds "1DB114E0";
    SendmailCommand "/usr/sbin/sendmail -odq -oi -t";
    MyEmailAddress "Debian Installer <installer@ftp-master.debian.org>";
    MyAdminAddress "ftpmaster@debian.org";
index e3a305e02ab5ff3d31ba82f8869874e699797767..c6a156e42e1da48f4d341a9c7907f107660bfdce 100644 (file)
@@ -4,7 +4,7 @@ Dinstall
    GPGKeyring "/org/keyring.debian.org/keyrings/debian-keyring.gpg";
    SigningKeyring "/org/non-us.debian.org/s3kr1t/dot-gnupg/secring.gpg";
    SigningPubKeyring "/org/non-us.debian.org/s3kr1t/dot-gnupg/pubring.gpg";
-   SigningKeyIds "30B34DD5";
+   SigningKeyIds "1DB114E0";
    SendmailCommand "/usr/sbin/sendmail -odq -oi -t";
    MyEmailAddress "Debian Installer <installer@ftp-master.debian.org>";
    MyAdminAddress "ftpmaster@debian.org";