# HG changeset patch # User Bernhard Herzog # Date 1239803431 0 # Node ID 70735b398bb07f0a51fba0e0c618416120a02fa3 # Parent b1776fc8e24aaf4d5f0d806ebe93506d01cc2264 Improve default value and explanation for the cachedir setting diff -r b1776fc8e24a -r 70735b398bb0 demopublishpackages.cfg --- 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