aboutsummaryrefslogtreecommitdiffstats
path: root/mini-dinstall
diff options
context:
space:
mode:
authorLibravatarChristoph Goehre <christoph.goehre@gmx.de>2008-06-28 19:02:23 +0200
committerLibravatarChristoph Goehre <christoph.goehre@gmx.de>2008-06-28 19:02:23 +0200
commita94148229a62c158fcfbf190f0060dfda770812c (patch)
tree2df649c404b41369fbbc67395a03a73ce5293c5e /mini-dinstall
parent34bbaa680b773898c7765fa3a4395e415b420320 (diff)
experimental release support
Mark experimental releases with "NotAutomatic: yes" in Release file. Debian Bug 336232. Thanks to Stephan Suerken
Diffstat (limited to 'mini-dinstall')
-rwxr-xr-xmini-dinstall5
1 files changed, 5 insertions, 0 deletions
diff --git a/mini-dinstall b/mini-dinstall
index 81cc68b..955b642 100755
--- a/mini-dinstall
+++ b/mini-dinstall
@@ -362,6 +362,7 @@ class DistOptionHandler:
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_release'] = ['bool', 0]
self._optionmap['release_description'] = ['str', None]
self._optionmap['release_signscript'] = ['str', None]
@@ -1336,6 +1337,8 @@ class SimpleSubdirArchiveDirIndexer(ArchiveDirIndexer):
if not codename:
codename = suite
f.write('Codename: ' + '%s/%s\n' % (codename, arch))
+ if self._experimental_release:
+ f.write('NotAutomatic: yes\n')
f.write('Date: ' + time.strftime("%a, %d %b %Y %H:%M:%S UTC", time.gmtime()) + '\n')
f.write('Architectures: ' + arch + '\n')
if self._release_description:
@@ -1424,6 +1427,8 @@ class FlatArchiveDirIndexer(ArchiveDirIndexer):
if not codename:
codename = suite
f.write('Codename: ' + codename + '\n')
+ if self._experimental_release:
+ 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: