From: James Troup <james@nocrew.org>
Date: Mon, 1 Apr 2002 21:20:28 +0000 (+0000)
Subject: add changes[changes] as optional field to .katie for stable installs
X-Git-Tag: debian-r/squeeze~2200
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=bd8d0431f9493a8f5572de36924af72b903f09a2;p=dak.git

add changes[changes] as optional field to .katie for stable installs
---

diff --git a/TODO b/TODO
index 00a60910..96cf151b 100644
--- a/TODO
+++ b/TODO
@@ -162,6 +162,9 @@ Less Urgent
 
  * Easy:
 
+    o promote changes["changes"] to mandatory in katie.py(dump_vars)
+      after a month or so (or all .katie files contain in the queue
+      contain it).
     o Rationalize config stuff.. Dir::Foo not Dir::FooDir [breaks other people??] 
       Also Dir::Queue::Foo, not Dir::QueueFooDir
     o melanie should behave better with -a and without -b; see
diff --git a/katie.py b/katie.py
index 876e2f37..d884ef01 100644
--- a/katie.py
+++ b/katie.py
@@ -2,7 +2,7 @@
 
 # Utility functions for katie
 # Copyright (C) 2001  James Troup <james@nocrew.org>
-# $Id: katie.py,v 1.11 2002-03-14 14:12:04 ajt Exp $
+# $Id: katie.py,v 1.12 2002-04-01 21:20:28 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
@@ -162,7 +162,8 @@ class Katie:
                    "maintainername", "maintaineremail", "closes" ]:
             d_changes[i] = changes[i];
         # Optional changes fields
-        for i in [ "changed-by", "maintainer822", "filecontents", "format" ]:
+        # FIXME: changes should be mandatory
+        for i in [ "changed-by", "maintainer822", "filecontents", "format", "changes" ]:
             if changes.has_key(i):
                 d_changes[i] = changes[i];
         ## dsc