r155 - branches/rewrite/tests/Config

Nat Budin partial-mirror-devel@lists.alioth.debian.org
Sat, 03 Jul 2004 16:44:20 -0600


Author: natbudin-guest
Date: Sat Jul  3 16:44:20 2004
New Revision: 155

Added:
   branches/rewrite/tests/Config/invalid-section.conf
   branches/rewrite/tests/Config/section-types.conf
Log:
Added the config files for the tests.  (Oops.)


Added: branches/rewrite/tests/Config/invalid-section.conf
==============================================================================
--- (empty file)
+++ branches/rewrite/tests/Config/invalid-section.conf	Sat Jul  3 16:44:20 2004
@@ -0,0 +1,51 @@
+;;
+;; debpartial-mirror configuration file.
+;;
+;; $Id: debpartial-mirror.conf 130 2004-07-02 12:33:24Z natbudin-guest $
+
+;;
+;; This has a section "bad_section" with an unresolvable type.
+;;
+
+
+[GLOBAL]
+mirror_dir = /var/cache/debpartial-mirror/
+architectures = i386
+
+sections = main
+distributions = stable
+
+get_suggests = true
+get_recommends = true
+get_provides = true
+
+[bad_section]
+haha = i_have_no_type
+
+[sarge]
+server = http://ftp.debian.org/debian
+sections = main
+distributions = sarge
+filter = subsection:base priority:important
+
+[sid_debian-installer]
+server = http://ftp.debian.org/debian
+sections = main/debian-installer
+distributions = sid
+filter = all
+
+include_from_task = /usr/share/debian-cd/tasks/base-sarge
+exclude_from_task = /usr/share/debian-cd/tasks/exclude-sarge
+
+[local_custom_packages]
+server = file:///var/lib/custom-packages
+sections = main
+distributions = local
+filter = all
+
+resolve_deps_using = sarge
+
+[my_custom_debian_distro]
+backends = sarge sid_debian-installer local_custom_packages
+name = sarge-with-sids-installer-and-some-other-stuff
+filter_sarge = all

Added: branches/rewrite/tests/Config/section-types.conf
==============================================================================
--- (empty file)
+++ branches/rewrite/tests/Config/section-types.conf	Sat Jul  3 16:44:20 2004
@@ -0,0 +1,52 @@
+;;
+;; debpartial-mirror configuration file.
+;;
+;; $Id: debpartial-mirror.conf 130 2004-07-02 12:33:24Z natbudin-guest $
+
+;;
+;; This has the resolve_deps_using option in a merge backend, which is not
+;; allowed.
+;;
+
+[GLOBAL]
+mirror_dir = /var/cache/debpartial-mirror/
+architectures = i386
+
+sections = main
+distributions = stable
+
+get_suggests = true
+get_recommends = true
+get_provides = true
+
+[sarge]
+server = http://ftp.debian.org/debian
+
+sections = main
+distributions = sarge
+
+filter = subsection:base priority:important
+
+[sid_debian-installer]
+server = http://ftp.debian.org/debian
+sections = main/debian-installer
+distributions = sid
+filter = all
+
+include_from_task = /usr/share/debian-cd/tasks/base-sarge
+exclude_from_task = /usr/share/debian-cd/tasks/exclude-sarge
+
+[local_custom_packages]
+server = file:///var/lib/custom-packages
+sections = main
+distributions = local
+filter = all
+
+resolve_deps_using = sarge
+
+[my_custom_debian_distro]
+backends = sarge sid_debian-installer local_custom_packages
+name = sarge-with-sids-installer-and-some-other-stuff
+filter_sarge = all
+
+resolve_deps_using = sarge