[Debpool-commits] [SCM] Debpool Project Repository branch, master, updated. 0.2.3-63-g38a32aa
ceros-guest
ceros-guest at alioth.debian.org
Tue Jun 3 07:07:10 UTC 2008
The following commit has been merged in the master branch:
commit 21b1aac0380bbf2eb5e311c03c44d10ef39d6d94
Author: ceros-guest <ceros-guest>
Date: Thu Jan 10 23:03:22 2008 +0000
Update example Config.pm for new options.
diff --git a/examples/Config.pm b/examples/Config.pm
index e49cd45..50b9c25 100644
--- a/examples/Config.pm
+++ b/examples/Config.pm
@@ -9,19 +9,18 @@ package DebPool::Config;
# File/Directory configuration
#
-# These config values determine what directories various parts of the
-# archive are put in, and what permissions those directories have, as well
-# as the default permissions for files.
+# These config values determine what directories various parts of the archive
+# are put in, and what permissions those directories have, as well as the
+# default permissions for files.
#
-# NOTE: While debpool will attempt to create db_dir, dists_dir,
-# incoming_dir, installed_dir, pool_dir, and reject_dir if they do not
-# exist, it will *not* attempt to do this for archive_dir.
+# NOTE: While debpool will attempt to create db_dir, dists_dir, incoming_dir,
+# installed_dir, pool_dir, and reject_dir if they do not exist, it will *not*
+# attempt to do this for archive_dir.
#
-# WARNING: If you redefine archive_dir and you want the other four
-# entries to reflect this by incorporating the new value, you *MUST*
-# redefine them here (even if you simply use the default value of
-# 'archive_dir'/<dirname>) so that they use the new definition of
-# archive_dir.
+# WARNING: If you redefine archive_dir and you want the other four entries to
+# reflect this by incorporating the new value, you *MUST* redefine them here
+# (even if you simply use the default value of 'archive_dir'/<dirname>) so
+# that they use the new definition of archive_dir.
#$Options{'archive_dir'} = '/var/cache/debpool';
#$Options{'db_dir'} = "$Options{'archive_dir'}/db";
@@ -42,47 +41,47 @@ package DebPool::Config;
#$Options{'reject_dir_mode'} = 0750;
#$Options{'reject_file_mode'} = 0640;
#$Options{'lock_file'} = "$Options{'archive_dir'}/.lock";
+
+# Compression configuration
+
+# These values control what formats will be used to compress the distribution
+# files (Packages, Sources).
+
#$Options{'compress_dists'} = 0;
+#$Options{'bzcompress_dists'} = 0;
# Archive configuration
#
-# These values control which distributions, components, and architectures
-# the archive will support.
+# These values control which distributions, components, and architectures the
+# archive will support.
#$Options{'dists'} = {
-# 'stable' => 'woody',
-# 'testing' => 'sarge',
+# 'stable' => 'etch',
+# 'testing' => 'lenny',
# 'unstable' => 'sid',
# 'experimental' => 'experimental'
-#};
-
-#$Options{'virtual_dists'} = {
-#};
-
-#$Options{'sections'} = [ 'main', 'contrib', 'non-free' ];
+# };
+#$Options{'virtual_dists'} = {};
+#$Options{'sections'} = [ 'main', 'contrib', 'non-free', 'debian-installer' ];
#$Options{'archs'} = [ 'i386' ];
# Release configuration
-# If all of the variables below are defined (release_origin, release_label,
-# and release_description), Release files will be generated for each
-# distribution directory.
-#
-# Please note that enabling Release files will introduce a dependancy on
-# the packages 'libdigest-md5-perl' and 'libdigest-sha1-perl'.
+# If the variables 'release_origin', 'release_label', and 'release_description'
+# are defined, Release files will be generated for each distribution directory.
+
+# Please note that enabling Release files will introduce a dependancy on the
+# package 'libdigest-sha-perl'.
#$Options{'release_origin'} = undef;
#$Options{'release_label'} = undef;
#$Options{'release_description'} = undef;
-
-#$Options{'release_noauto'} = [
-# 'experimental',
-#];
+#$Options{'release_noauto'} = [ 'experimental' ];
# Signature configuration
-# Please note that enabling either of these options will cause a dependancy
-# on the 'gnupg' package. See /usr/share/doc/debpool/README.GnuPG for more
+# Please note that enabling any of these options will cause a dependancy on
+# the 'gnupg' package. See /usr/share/doc/debpool/README.GnuPG for more
# information.
#$Options{'require_sigs_debs'} = 0;
@@ -92,34 +91,34 @@ package DebPool::Config;
# GnuPG configuration
# These values will only be used if the use of GnuPG is triggered in some
-# fashion (such as 'require_sigs' or 'sign_release' being true), and
-# thus do not (in themselves) trigger a dependancy on GnuPG. Please see
-# /usr/share/doc/debpool/README.GnuPG for more information.
+# fashion (such as any of the values in ``Signature configuration'' being
+# enabled) , and thus do not (in themselves) trigger a dependancy on GnuPG.
+# Please see /usr/share/doc/debpool/README.GnuPG for more information.
#$Options{'gpg_bin'} = '/usr/bin/gpg';
-#$Options{'gpg_home'} = '/home/user/.gnupg';
+#$Options{'gpg_home'} = $ENV{'HOME'}.'/.gnupg';
#$Options{'gpg_keyrings'} = [ 'uploaders.gpg' ];
#$Options{'gpg_sign_key'} = undef;
-#$Options{'gpg_passfile'} = '/home/user/.gnupg/passphrase';
+#$Options{'gpg_passfile'} = $ENV{'HOME'}.'/.gnupg/passphrase';
# Logging configuration
-#
+
# These are values which control the logging system.
-#$Options{'log_file'} = '/home/user/.debpool/DebPool.log';
+#$Options{'log_file'} = $ENV{'HOME'}.'/.debpool/debpool.log';
# Misc. configuration
-# These are values which don't particularly fit into any of the other
-# sections.
+# These are values which don't particularly fit into any of the other sections.
#$Options{'daemon'} = 0;
#$Options{'sleep'} = 300;
+#$Options{'use_inotify'} = 0;
#$Options{'rollback'} = 0;
#$Options{'rebuild-files'} = 0;
#$Options{'rebuild-dbs'} = 0;
#$Options{'rebuild-all'} = 0;
-# We're a module, so return a true value.
+# This file is a module, so return a true value.
1;
--
Debpool Project Repository
More information about the Debpool-commits
mailing list