Package: mini-dinstall
Version: 0.6.22
Severity: wishlist
Tags: patch

Hi Thomas,

I'm attaching a patch that adds support to "NotAutomatic: yes" into
Release file - the experimental release support. I think it will be
useful for CDD and maybe others.

Best regards,
Gustavo Franco - <[EMAIL PROTECTED]>
diff -Nru mini-dinstall-0.6.21/mini-dinstall mini-dinstall-0.6.21.1/mini-dinstall
--- mini-dinstall-0.6.21/mini-dinstall  2005-02-12 16:09:45.000000000 -0200
+++ mini-dinstall-0.6.21.1/mini-dinstall        2005-10-28 16:44:58.000000000 -0200
@@ -347,6 +347,7 @@
         self._optionmap['release_label'] = ['str', self._optionmap['release_origin'][1]]
         self._optionmap['release_suite'] = ['str', None]
         self._optionmap['release_codename'] = ['str', None]
+       self._optionmap['experimental'] = ['bool', 0]
         self._optionmap['release_description'] = ['str', None]
         self._optionmap['release_signscript'] = ['str', None]

@@ -1108,12 +1109,14 @@
         f.write('Label: ' + self._release_label + '\n')
         suite = self._release_suite
         if not suite:
-            suite = self._name
+            suite = self._name
         f.write('Suite: ' + suite + '\n')
         codename = self._release_codename
         if not codename:
             codename = suite
         f.write('Codename: ' + codename + '\n')
+        if self._experimental:
+            f.write('NotAutomatic: yes\n')
         f.write('Date: ' + time.strftime("%a, %d %b %Y %H:%M:%S UTC", time.gmtime()) + '\n')
         f.write('Architectures: ' + string.join(self._arches, ' ') + '\n')
         if self._release_description:

Reply via email to