Mercurial > treepkg
comparison test/test_readconfig.py @ 306:163f0d8b64eb
Make the svn external subdirectories configurable in the configuration
file with the per-track option svn_externals. The class attribute
svn_external_subdirs is still used if svn_externals were specified.
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Tue, 01 Dec 2009 11:42:14 +0000 |
parents | 3781e9958eba |
children | 23be5ab5bc7c |
comparison
equal
deleted
inserted
replaced
305:3781e9958eba | 306:163f0d8b64eb |
---|---|
47 | 47 |
48 [pkg_extraargs] | 48 [pkg_extraargs] |
49 svn_url: svn://example.com/%(name)s/trunk | 49 svn_url: svn://example.com/%(name)s/trunk |
50 svn_subset: -N . | 50 svn_subset: -N . |
51 subdir | 51 subdir |
52 svn_externals: scripts admin | |
52 base_dir: %(tracks_dir)s/%(name)s | 53 base_dir: %(tracks_dir)s/%(name)s |
53 packager_class: readconfig_test.extraargs | 54 packager_class: readconfig_test.extraargs |
54 orig_tarball: %(base_dir)s/mytarball.tgz | 55 orig_tarball: %(base_dir)s/mytarball.tgz |
55 rules_svn_url: file:///tmp/my-debian-repository | 56 rules_svn_url: file:///tmp/my-debian-repository |
56 deb_build_options: parallel=2 | 57 deb_build_options: parallel=2 |
99 # The PackageTrack an empty pkg_basename it with the | 100 # The PackageTrack an empty pkg_basename it with the |
100 # value of name | 101 # value of name |
101 pkg_basename="", | 102 pkg_basename="", |
102 root_cmd=['sudo'], | 103 root_cmd=['sudo'], |
103 signing_key_id="", | 104 signing_key_id="", |
105 svn_externals=["scripts", "admin"], | |
104 svn_subset=[(".", False), ("subdir", True)], | 106 svn_subset=[(".", False), ("subdir", True)], |
105 svn_url="svn://example.com/extraargs/trunk", | 107 svn_url="svn://example.com/extraargs/trunk", |
106 rules_svn_url="file:///tmp/my-debian-repository", | 108 rules_svn_url="file:///tmp/my-debian-repository", |
107 version_template="%(revision)s", | 109 version_template="%(revision)s", |
108 orig_tarball=("/home/builder/mill/" | 110 orig_tarball=("/home/builder/mill/" |
120 packager_class="readconfig_test.simple", | 122 packager_class="readconfig_test.simple", |
121 pbuilderrc="/home/builder/mill/pbuilder/pbuilderrc", | 123 pbuilderrc="/home/builder/mill/pbuilder/pbuilderrc", |
122 pkg_basename="simple1", | 124 pkg_basename="simple1", |
123 root_cmd=['sudo'], | 125 root_cmd=['sudo'], |
124 signing_key_id="abcd1234", | 126 signing_key_id="abcd1234", |
127 svn_externals=[], | |
125 svn_subset=[], | 128 svn_subset=[], |
126 svn_url="svn://example.com/simple/trunk", | 129 svn_url="svn://example.com/simple/trunk", |
127 version_template="1.0.svn%(revision)s")]) | 130 version_template="1.0.svn%(revision)s")]) |