Mercurial > treepkg
diff test/test_readconfig.py @ 305:3781e9958eba
Add per-track configuration option version_template used by the
SourcePackager to construct the version number. Also add some tests.
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Tue, 01 Dec 2009 11:26:47 +0000 |
parents | 6cffb43a28ca |
children | 163f0d8b64eb |
line wrap: on
line diff
--- a/test/test_readconfig.py Thu Nov 26 20:20:57 2009 +0000 +++ b/test/test_readconfig.py Tue Dec 01 11:26:47 2009 +0000 @@ -43,6 +43,7 @@ handle_dependencies: True signing_key_id: abcd1234 changelog_msg_template: Update to feature branch r%%(revision)d +version_template: 1.0.svn%%(revision)s [pkg_extraargs] svn_url: svn://example.com/%(name)s/trunk @@ -103,6 +104,7 @@ svn_subset=[(".", False), ("subdir", True)], svn_url="svn://example.com/extraargs/trunk", rules_svn_url="file:///tmp/my-debian-repository", + version_template="%(revision)s", orig_tarball=("/home/builder/mill/" "tracks/extraargs/mytarball.tgz")), dict(name="simple", @@ -121,4 +123,5 @@ root_cmd=['sudo'], signing_key_id="abcd1234", svn_subset=[], - svn_url="svn://example.com/simple/trunk")]) + svn_url="svn://example.com/simple/trunk", + version_template="1.0.svn%(revision)s")])