diff treepkg/readconfig.py @ 305:3781e9958eba

Add per-track configuration option version_template used by the SourcePackager to construct the version number. Also add some tests.
author Bernhard Herzog <bh@intevation.de>
date Tue, 01 Dec 2009 11:26:47 +0000
parents 6cffb43a28ca
children 163f0d8b64eb
line wrap: on
line diff
--- a/treepkg/readconfig.py	Thu Nov 26 20:20:57 2009 +0000
+++ b/treepkg/readconfig.py	Tue Dec 01 11:26:47 2009 +0000
@@ -69,6 +69,7 @@
     ("rules_svn_url", str, ""), "packager_class",
     ("root_cmd", shlex.split, "sudo"), "pbuilderrc",
     "deb_email", "deb_fullname", ("deb_build_options", str, ""),
+    ("version_template", str, "%(revision)s"),
     "pkg_revision_template", ("pkg_basename", str, ""),
     ("handle_dependencies", convert_bool),
     ("signing_key_id", str, ""),
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)