comparison 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
comparison
equal deleted inserted replaced
292:0542181b8452 293:faeeac2c4c71
26 root_cmd: sudo 26 root_cmd: sudo
27 pbuilder_dir: %(treepkg_dir)s/pbuilder 27 pbuilder_dir: %(treepkg_dir)s/pbuilder
28 pbuilderrc: %(pbuilder_dir)s/pbuilderrc 28 pbuilderrc: %(pbuilder_dir)s/pbuilderrc
29 deb_email: treepkg@example.com 29 deb_email: treepkg@example.com
30 deb_fullname: TreePKG 30 deb_fullname: TreePKG
31 debrevision_prefix: treepkg 31 pkg_revision_template: treepkg%%(pkg_revision)d
32 handle_dependencies: False 32 handle_dependencies: False
33 33
34 [treepkg] 34 [treepkg]
35 instructions_file: %(treepkg_dir)s/instructions 35 instructions_file: %(treepkg_dir)s/instructions
36 check_interval: 3600 36 check_interval: 3600
81 [ 81 [
82 dict(name="extraargs", 82 dict(name="extraargs",
83 base_dir="/home/builder/mill/tracks/extraargs", 83 base_dir="/home/builder/mill/tracks/extraargs",
84 deb_email="treepkg@example.com", 84 deb_email="treepkg@example.com",
85 deb_fullname="TreePKG", 85 deb_fullname="TreePKG",
86 debrevision_prefix="treepkg", 86 pkg_revision_template="treepkg%(pkg_revision)d",
87 handle_dependencies=False, 87 handle_dependencies=False,
88 packager_class="readconfig_test.extraargs", 88 packager_class="readconfig_test.extraargs",
89 pbuilderrc="/home/builder/mill/pbuilder/pbuilderrc", 89 pbuilderrc="/home/builder/mill/pbuilder/pbuilderrc",
90 root_cmd=['sudo'], 90 root_cmd=['sudo'],
91 signing_key_id="", 91 signing_key_id="",
96 dict(name="simple", 96 dict(name="simple",
97 base_dir="/home/builder/mill/tracks/simple", 97 base_dir="/home/builder/mill/tracks/simple",
98 deb_email="treepkg@example.com", 98 deb_email="treepkg@example.com",
99 deb_fullname="TreePKG", 99 deb_fullname="TreePKG",
100 rules_svn_url="", 100 rules_svn_url="",
101 debrevision_prefix="treepkg", 101 pkg_revision_template="treepkg%(pkg_revision)d",
102 handle_dependencies=True, 102 handle_dependencies=True,
103 packager_class="readconfig_test.simple", 103 packager_class="readconfig_test.simple",
104 pbuilderrc="/home/builder/mill/pbuilder/pbuilderrc", 104 pbuilderrc="/home/builder/mill/pbuilder/pbuilderrc",
105 root_cmd=['sudo'], 105 root_cmd=['sudo'],
106 signing_key_id="abcd1234", 106 signing_key_id="abcd1234",
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)