]> git.decadent.org.uk Git - dak.git/commitdiff
[rmurray] teach control_overrides about untouchable suites.
authorJames Troup <james@nocrew.org>
Tue, 13 Feb 2007 01:07:46 +0000 (01:07 +0000)
committerJames Troup <james@nocrew.org>
Tue, 13 Feb 2007 01:07:46 +0000 (01:07 +0000)
ChangeLog
dak/control_overrides.py

index 725c24c6d93ccb99eb8bc79a3045e5cba619ff65..f9f45f97c0a1c2345da3a96f261fc0abbd71dc91 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2007-02-08  Ryan Murray  <rmurray@debian.org>
 
+       * dak/control_overrides.py (main): refuse to operate on
+       untouchable suites.
+
        * config/debian/pseudo-packages.maintainers: drop install,
        installation, boot-floppy, slink-cd, potato-cd and
        nonus.debian.org.  Update base.
index 69949e244f1589df8d6d19c59eb5152e7b4cf829..01eee0ed359646d7d13fbaa9792b72bebbe9e801 100755 (executable)
@@ -282,6 +282,9 @@ def main ():
     if action == "list":
         list(suite, component, type)
     else:
+        if Cnf.has_key("Suite::%s::Untouchable" % suite) and Cnf["Suite::%s::Untouchable" % suite] != 0:
+           daklib.utils.fubar("%s: suite is untouchable" % suite)
+
         Logger = daklib.logging.Logger(Cnf, "control-overrides")
         if file_list:
             for file in file_list: