comparison test/test_readconfig.py @ 304:6cffb43a28ca

Add a way to specify svn subset checkouts where only parts of a source tree are checked out. The subset can be specified in the configuration file on a per-track basis. This feature was already present for some of the kde enterprise packagers but is now part of the base classes.
author Bernhard Herzog <bh@intevation.de>
date Thu, 26 Nov 2009 20:20:57 +0000
parents e82fb08781a2
children 3781e9958eba
comparison
equal deleted inserted replaced
303:df01eb4dbfc5 304:6cffb43a28ca
44 signing_key_id: abcd1234 44 signing_key_id: abcd1234
45 changelog_msg_template: Update to feature branch r%%(revision)d 45 changelog_msg_template: Update to feature branch r%%(revision)d
46 46
47 [pkg_extraargs] 47 [pkg_extraargs]
48 svn_url: svn://example.com/%(name)s/trunk 48 svn_url: svn://example.com/%(name)s/trunk
49 svn_subset: -N .
50 subdir
49 base_dir: %(tracks_dir)s/%(name)s 51 base_dir: %(tracks_dir)s/%(name)s
50 packager_class: readconfig_test.extraargs 52 packager_class: readconfig_test.extraargs
51 orig_tarball: %(base_dir)s/mytarball.tgz 53 orig_tarball: %(base_dir)s/mytarball.tgz
52 rules_svn_url: file:///tmp/my-debian-repository 54 rules_svn_url: file:///tmp/my-debian-repository
53 deb_build_options: parallel=2 55 deb_build_options: parallel=2
96 # The PackageTrack an empty pkg_basename it with the 98 # The PackageTrack an empty pkg_basename it with the
97 # value of name 99 # value of name
98 pkg_basename="", 100 pkg_basename="",
99 root_cmd=['sudo'], 101 root_cmd=['sudo'],
100 signing_key_id="", 102 signing_key_id="",
103 svn_subset=[(".", False), ("subdir", True)],
101 svn_url="svn://example.com/extraargs/trunk", 104 svn_url="svn://example.com/extraargs/trunk",
102 rules_svn_url="file:///tmp/my-debian-repository", 105 rules_svn_url="file:///tmp/my-debian-repository",
103 orig_tarball=("/home/builder/mill/" 106 orig_tarball=("/home/builder/mill/"
104 "tracks/extraargs/mytarball.tgz")), 107 "tracks/extraargs/mytarball.tgz")),
105 dict(name="simple", 108 dict(name="simple",
115 packager_class="readconfig_test.simple", 118 packager_class="readconfig_test.simple",
116 pbuilderrc="/home/builder/mill/pbuilder/pbuilderrc", 119 pbuilderrc="/home/builder/mill/pbuilder/pbuilderrc",
117 pkg_basename="simple1", 120 pkg_basename="simple1",
118 root_cmd=['sudo'], 121 root_cmd=['sudo'],
119 signing_key_id="abcd1234", 122 signing_key_id="abcd1234",
123 svn_subset=[],
120 svn_url="svn://example.com/simple/trunk")]) 124 svn_url="svn://example.com/simple/trunk")])
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)