diff test/test_readconfig.py @ 293:faeeac2c4c71

Replace debrevision_prefix with pkg_revision_template. Their meaning is similar, but the template is not just a prefix, it's a template for Python's %-based string formatting. This allows more complex configuration to be done with command line settings so that it's easy to do a one-off build with a package revision like "kk5.2".
author Bernhard Herzog <bh@intevation.de>
date Tue, 06 Oct 2009 13:13:04 +0000
parents eaa696629a91
children 4dd6ec3a1151
line wrap: on
line diff
--- a/test/test_readconfig.py	Tue Oct 06 12:55:11 2009 +0000
+++ b/test/test_readconfig.py	Tue Oct 06 13:13:04 2009 +0000
@@ -28,7 +28,7 @@
 pbuilderrc: %(pbuilder_dir)s/pbuilderrc
 deb_email: treepkg@example.com
 deb_fullname: TreePKG
-debrevision_prefix: treepkg
+pkg_revision_template: treepkg%%(pkg_revision)d
 handle_dependencies: False
 
 [treepkg]
@@ -83,7 +83,7 @@
                  base_dir="/home/builder/mill/tracks/extraargs",
                  deb_email="treepkg@example.com",
                  deb_fullname="TreePKG",
-                 debrevision_prefix="treepkg",
+                 pkg_revision_template="treepkg%(pkg_revision)d",
                  handle_dependencies=False,
                  packager_class="readconfig_test.extraargs",
                  pbuilderrc="/home/builder/mill/pbuilder/pbuilderrc",
@@ -98,7 +98,7 @@
                  deb_email="treepkg@example.com",
                  deb_fullname="TreePKG",
                  rules_svn_url="",
-                 debrevision_prefix="treepkg",
+                 pkg_revision_template="treepkg%(pkg_revision)d",
                  handle_dependencies=True,
                  packager_class="readconfig_test.simple",
                  pbuilderrc="/home/builder/mill/pbuilder/pbuilderrc",
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)