]> git.decadent.org.uk Git - dak.git/commitdiff
Remove old dislocation support
authorJoerg Jaspert <joerg@debian.org>
Tue, 23 Dec 2008 19:36:54 +0000 (20:36 +0100)
committerJoerg Jaspert <joerg@debian.org>
Tue, 23 Dec 2008 19:36:54 +0000 (20:36 +0100)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
ChangeLog
config/debian-security/dak.conf
config/debian/dak.conf
dak/make_suite_file_list.py

index a54a2eb1063da758585a89209f7d50851812866a..9083037f33b331d648a3e9718e603fbfeac387d5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-12-23  Joerg Jaspert  <joerg@debian.org>
+
+       * dak/make_suite_file_list.py (stable_dislocation_p): Removed
+
+       * config/debian/dak.conf, config/debian-security/dak.conf: Remove "StableDislocationSupport "false";"
+
 2008-12-19  Joerg Jaspert  <joerg@debian.org>
 
        * daklib/utils.py: move the html escape stuff here.
index 3281f7e107b03b11ba1cea81ac28f025f1d6ace8..ff74a599bf07cc5fed1f18f01b252b77b767ab34 100644 (file)
@@ -33,7 +33,6 @@ Dinstall
    DefaultSuite "stable";
    SuiteSuffix "updates";
    OverrideMaintainer "dak@security.debian.org";
-   StableDislocationSupport "false";
    LegacyStableHasNoSections "false";
 };
 
index f69dc635eda8f3d1fc30e369c9b73897bd94e194..b82154b3318b3f6547bae3551b491ca598c99622 100644 (file)
@@ -24,7 +24,6 @@ Dinstall
    BXANotify "true";
    CloseBugs "true";
    OverrideDisparityCheck "true";
-   StableDislocationSupport "false";
    DefaultSuite "unstable";
    UserExtensions "/srv/ftp.debian.org/dak/config/debian/extensions.py";
    QueueBuildSuites
index e36643858a1d4096effbb65e309938ec91604bdf..697484be21781a5f024d5340520fe29234e7a4df 100755 (executable)
@@ -331,27 +331,6 @@ def write_filelists(packages, dislocated_files):
 
 ################################################################################
 
-# Want to use stable dislocation support: True or false?
-def stable_dislocation_p():
-    # If the support is not explicitly enabled, assume it's disabled
-    if not Cnf.FindB("Dinstall::StableDislocationSupport"):
-        return 0
-    # If we don't have a stable suite, obviously a no-op
-    if not Cnf.has_key("Suite::Stable"):
-        return 0
-    # If the suite(s) weren't explicitly listed, all suites are done
-    if not Options["Suite"]:
-        return 1
-    # Otherwise, look in what suites the user specified
-    suites = utils.split_args(Options["Suite"])
-
-    if "stable" in suites:
-        return 1
-    else:
-        return 0
-
-################################################################################
-
 def do_da_do_da():
     # If we're only doing a subset of suites, ensure we do enough to
     # be able to do arch: all mapping.
@@ -367,10 +346,7 @@ def do_da_do_da():
     (con_suites, con_architectures, con_components, check_source) = \
                  utils.parse_args(Options)
 
-    if stable_dislocation_p():
-        dislocated_files = symlink_dists.find_dislocated_stable(Cnf, projectB)
-    else:
-        dislocated_files = {}
+    dislocated_files = {}
 
     query = """
 SELECT b.id, b.package, a.arch_string, b.version, l.path, f.filename, c.name,