test/bin-test/dav-home/sync.xml

Sat, 28 Sep 2019 09:09:14 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sat, 28 Sep 2019 09:09:14 +0200
changeset 646
37a8bfae995e
parent 643
5b8643cf0a2f
child 657
8f3410b9148f
permissions
-rw-r--r--

change metadata config

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
	<!--
	Test 1: default settings after add-directory
	-->
	<directory>
		<name>test1a</name>
		<path>$HOME/tmp-sync/test1a</path>
		<repository>dav-test-repo</repository>
		<collection>/sync/test1</collection>
		<trash>.trash</trash>
		<database>dav-sync-tests-test1a-db.xml</database>
	</directory>
	
	<directory>
		<name>test1b</name>
		<path>$HOME/tmp-sync/test1b</path>
		<repository>dav-test-repo</repository>
		<collection>/sync/test1</collection>
		<trash>.trash</trash>
		<database>dav-sync-tests-test1b-db.xml</database>
	</directory>
	
	<!--
	Test 2: default settings after add-directory
	-->
	<directory>
		<name>test2a</name>
		<path>$HOME/tmp-sync/test2a</path>
		<repository>dav-test-repo</repository>
		<collection>/sync/test2</collection>
		<trash>.trash</trash>
		<database>dav-sync-tests-test2a-db.xml</database>
		<hashing>true</hashing>
	</directory>
	
	<directory>
		<name>test2b</name>
		<path>$HOME/tmp-sync/test2b</path>
		<repository>dav-test-repo</repository>
		<collection>/sync/test2</collection>
		<trash>.trash</trash>
		<database>dav-sync-tests-test2b-db.xml</database>
		<hashing>true</hashing>
	</directory>
	
	<directory>
		<!-- same as test2a but with push strategy hash -->
		<name>test2ah</name>
		<path>$HOME/tmp-sync/test2a</path>
		<repository>dav-test-repo</repository>
		<collection>/sync/test2</collection>
		<trash>.trash</trash>
		<database>dav-sync-tests-test2a-db.xml</database>
		<hashing>true</hashing>
		<push-strategy>hash</push-strategy>
	</directory>
	
	<directory>
		<name>test2bh</name>
		<!-- same as test2b but with push strategy hash -->
		<path>$HOME/tmp-sync/test2b</path>
		<repository>dav-test-repo</repository>
		<collection>/sync/test2</collection>
		<trash>.trash</trash>
		<database>dav-sync-tests-test2b-db.xml</database>
		<hashing>true</hashing>
		<push-strategy>hash</push-strategy>
	</directory>
</configuration>

mercurial