changeset 255:70735b398bb0

Improve default value and explanation for the cachedir setting
author Bernhard Herzog <bh@intevation.de>
date Wed, 15 Apr 2009 13:50:31 +0000
parents b1776fc8e24a
children 8052aabada8b
files demopublishpackages.cfg
diffstat 1 files changed, 10 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/demopublishpackages.cfg	Tue Apr 14 13:15:41 2009 +0000
+++ b/demopublishpackages.cfg	Wed Apr 15 13:50:31 2009 +0000
@@ -35,8 +35,13 @@
 publish_apt_archive_update: /home/ftp/apt/update
 
 # local cache directory.  publishpackages.py may delete it and its
-# contents.  The value is passed through the python functions
-# os.expanduser and os.expandvars, so references to home directories of
-# the form ~ or ~user at the beginning of the value and environment
-# variable references of the form $VAR or ${VAR} are expanded.
-cachedir: /tmp/${LOGNAME}/treepkg-package-cache
+# contents, so if you intend to run publishpackages.py on the same
+# system for several remote instances of treepkg, make sure the
+# directory name is unique enough, to avoid one publishpackages instance
+# removing the files of another.
+#
+# The value is passed through the python functions os.expanduser and
+# os.expandvars, so references to home directories of the form ~ or
+# ~user at the beginning of the value and environment variable
+# references of the form $VAR or ${VAR} are expanded.
+cachedir: /tmp/${LOGNAME}/treepkg-package-cache/%(build_host)s
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)