diff treepkg/readconfig.py @ 299:c32dc72ba979

Turn the SourcePackager class attribute pkg_basename into a per-track configuratin option. The default value is the track name, as in most cases they're identical anyway. For now, the change is compatible with old SourcePackager subclasses that override pkg_basename.
author Bernhard Herzog <bh@intevation.de>
date Fri, 20 Nov 2009 21:06:10 +0000
parents 4dd6ec3a1151
children e82fb08781a2
line wrap: on
line diff
--- a/treepkg/readconfig.py	Fri Nov 20 20:22:34 2009 +0000
+++ b/treepkg/readconfig.py	Fri Nov 20 21:06:10 2009 +0000
@@ -27,7 +27,7 @@
     "name", "base_dir", "svn_url", ("rules_svn_url", str, ""), "packager_class",
     ("root_cmd", shlex.split, "sudo"), "pbuilderrc",
     "deb_email", "deb_fullname", ("deb_build_options", str, ""),
-    "pkg_revision_template",
+    "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)