[Treepkg-commits] r181 - trunk

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Apr 15 15:50:31 CEST 2009


Author: bh
Date: 2009-04-15 15:50:31 +0200 (Wed, 15 Apr 2009)
New Revision: 181

Modified:
   trunk/demopublishpackages.cfg
Log:
Improve default value and explanation for the cachedir setting


Modified: trunk/demopublishpackages.cfg
===================================================================
--- trunk/demopublishpackages.cfg	2009-04-14 13:15:41 UTC (rev 180)
+++ trunk/demopublishpackages.cfg	2009-04-15 13:50:31 UTC (rev 181)
@@ -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



More information about the Treepkg-commits mailing list