comparison test/test_readconfig.py @ 511:e5b66539f893

new variable to set choose the scm for sources and debian dirs svn_url and git_url are now deprecated in favour of url and scm_type added a tag detector for git in kde enterprise packager
author Bjoern Ricks <bricks@intevation.de>
date Tue, 09 Nov 2010 17:20:47 +0000
parents 296d26453e2a
children 6d4778487728
comparison
equal deleted inserted replaced
510:1f04bd88fca3 511:e5b66539f893
36 check_interval: 3600 36 check_interval: 3600
37 name: testtreepkg 37 name: testtreepkg
38 38
39 [pkg_simple] 39 [pkg_simple]
40 pkg_basename: simple1 40 pkg_basename: simple1
41 svn_url: svn://example.com/%(name)s/trunk 41 url: svn://example.com/%(name)s/trunk
42 base_dir: %(tracks_dir)s/%(name)s 42 base_dir: %(tracks_dir)s/%(name)s
43 packager_class: readconfig_test.%(name)s 43 packager_class: readconfig_test.%(name)s
44 handle_dependencies: True 44 handle_dependencies: True
45 signing_key_id: abcd1234 45 signing_key_id: abcd1234
46 changelog_msg_template: Update to feature branch r%%(revision)s 46 changelog_msg_template: Update to feature branch r%%(revision)s
47 version_template: 1.0.svn%%(revision)s 47 version_template: 1.0.svn%%(revision)s
48 os: foo os 48 os: foo os
49 status_hook: echo simple hook 49 status_hook: echo simple hook
50 50
51 [pkg_extraargs] 51 [pkg_extraargs]
52 svn_url: svn://example.com/%(name)s/trunk 52 url: svn://example.com/%(name)s/trunk
53 svn_subset: -N . 53 svn_subset: -N .
54 subdir 54 subdir
55 svn_externals: scripts admin 55 svn_externals: scripts admin
56 base_dir: %(tracks_dir)s/%(name)s 56 base_dir: %(tracks_dir)s/%(name)s
57 packager_class: readconfig_test.extraargs 57 packager_class: readconfig_test.extraargs
58 orig_tarball: %(base_dir)s/mytarball.tgz 58 orig_tarball: %(base_dir)s/mytarball.tgz
59 rules_svn_url: file:///tmp/my-debian-repository 59 rules_url: file:///tmp/my-debian-repository
60 deb_build_options: parallel=2 60 deb_build_options: parallel=2
61 os: bar os 61 os: bar os
62 status_hook: echo extra hook 62 status_hook: echo extra hook
63 """ 63 """
64 64
110 pkg_basename="", 110 pkg_basename="",
111 root_cmd=['sudo'], 111 root_cmd=['sudo'],
112 signing_key_id="", 112 signing_key_id="",
113 svn_externals=["scripts", "admin"], 113 svn_externals=["scripts", "admin"],
114 svn_subset=[(".", False), ("subdir", True)], 114 svn_subset=[(".", False), ("subdir", True)],
115 svn_url="svn://example.com/extraargs/trunk", 115 url="svn://example.com/extraargs/trunk",
116 rules_svn_url="file:///tmp/my-debian-repository", 116 rules_url="file:///tmp/my-debian-repository",
117 version_template="%(revision)s", 117 version_template="%(revision)s",
118 orig_tarball=("/home/builder/mill/" 118 orig_tarball=("/home/builder/mill/"
119 "tracks/extraargs/mytarball.tgz"), 119 "tracks/extraargs/mytarball.tgz"),
120 git_url="", 120 branch="",
121 git_branch="",
122 builder_cls="PBuilder", 121 builder_cls="PBuilder",
123 os="bar os", 122 os="bar os",
124 status_hook="echo extra hook"), 123 status_hook="echo extra hook"),
125 dict(name="simple", 124 dict(name="simple",
126 base_dir="/home/builder/mill/tracks/simple", 125 base_dir="/home/builder/mill/tracks/simple",
127 changelog_msg_template=("Update to feature branch" 126 changelog_msg_template=("Update to feature branch"
128 " r%(revision)s"), 127 " r%(revision)s"),
129 deb_email="treepkg@example.com", 128 deb_email="treepkg@example.com",
130 deb_fullname="TreePKG", 129 deb_fullname="TreePKG",
131 deb_build_options="", 130 deb_build_options="",
132 rules_svn_url="", 131 rules_url="",
133 pkg_revision_template="treepkg%(pkg_revision)s", 132 pkg_revision_template="treepkg%(pkg_revision)s",
134 handle_dependencies=True, 133 handle_dependencies=True,
135 packager_class="readconfig_test.simple", 134 packager_class="readconfig_test.simple",
136 builderconfig="/home/builder/mill/pbuilder/pbuilderrc", 135 builderconfig="/home/builder/mill/pbuilder/pbuilderrc",
137 pkg_basename="simple1", 136 pkg_basename="simple1",
138 root_cmd=['sudo'], 137 root_cmd=['sudo'],
139 signing_key_id="abcd1234", 138 signing_key_id="abcd1234",
140 svn_externals=[], 139 svn_externals=[],
141 svn_subset=[], 140 svn_subset=[],
142 svn_url="svn://example.com/simple/trunk", 141 url="svn://example.com/simple/trunk",
143 version_template="1.0.svn%(revision)s", 142 version_template="1.0.svn%(revision)s",
144 git_url="", 143 branch="",
145 git_branch="",
146 builder_cls="PBuilder", 144 builder_cls="PBuilder",
147 os="foo os", 145 os="foo os",
148 status_hook="echo simple hook")]) 146 status_hook="echo simple hook")])
149 147
150 def main(): 148 def main():
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)