diff 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
line wrap: on
line diff
--- a/test/test_readconfig.py	Tue Nov 09 15:26:20 2010 +0000
+++ b/test/test_readconfig.py	Tue Nov 09 17:20:47 2010 +0000
@@ -38,7 +38,7 @@
 
 [pkg_simple]
 pkg_basename: simple1
-svn_url: svn://example.com/%(name)s/trunk
+url: svn://example.com/%(name)s/trunk
 base_dir: %(tracks_dir)s/%(name)s
 packager_class: readconfig_test.%(name)s
 handle_dependencies: True
@@ -49,14 +49,14 @@
 status_hook: echo simple hook
 
 [pkg_extraargs]
-svn_url: svn://example.com/%(name)s/trunk
+url: svn://example.com/%(name)s/trunk
 svn_subset: -N .
             subdir
 svn_externals: scripts admin
 base_dir: %(tracks_dir)s/%(name)s
 packager_class: readconfig_test.extraargs
 orig_tarball: %(base_dir)s/mytarball.tgz
-rules_svn_url: file:///tmp/my-debian-repository
+rules_url: file:///tmp/my-debian-repository
 deb_build_options: parallel=2
 os: bar os
 status_hook: echo extra hook
@@ -112,13 +112,12 @@
                  signing_key_id="",
                  svn_externals=["scripts", "admin"],
                  svn_subset=[(".", False), ("subdir", True)],
-                 svn_url="svn://example.com/extraargs/trunk",
-                 rules_svn_url="file:///tmp/my-debian-repository",
+                 url="svn://example.com/extraargs/trunk",
+                 rules_url="file:///tmp/my-debian-repository",
                  version_template="%(revision)s",
                  orig_tarball=("/home/builder/mill/"
                                "tracks/extraargs/mytarball.tgz"),
-                 git_url="",
-                 git_branch="",
+                 branch="",
                  builder_cls="PBuilder",
                  os="bar os",
                  status_hook="echo extra hook"),
@@ -129,7 +128,7 @@
                  deb_email="treepkg@example.com",
                  deb_fullname="TreePKG",
                  deb_build_options="",
-                 rules_svn_url="",
+                 rules_url="",
                  pkg_revision_template="treepkg%(pkg_revision)s",
                  handle_dependencies=True,
                  packager_class="readconfig_test.simple",
@@ -139,10 +138,9 @@
                  signing_key_id="abcd1234",
                  svn_externals=[],
                  svn_subset=[],
-                 svn_url="svn://example.com/simple/trunk",
+                 url="svn://example.com/simple/trunk",
                  version_template="1.0.svn%(revision)s",
-                 git_url="",
-                 git_branch="",
+                 branch="",
                  builder_cls="PBuilder",
                  os="foo os",
                  status_hook="echo simple hook")])
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)