Mercurial > treepkg
comparison demopublishpackages.cfg @ 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 | a3f106580525 |
children | 8052aabada8b |
comparison
equal
deleted
inserted
replaced
254:b1776fc8e24a | 255:70735b398bb0 |
---|---|
33 | 33 |
34 # Command to execute on the build host to update the apt archive | 34 # Command to execute on the build host to update the apt archive |
35 publish_apt_archive_update: /home/ftp/apt/update | 35 publish_apt_archive_update: /home/ftp/apt/update |
36 | 36 |
37 # local cache directory. publishpackages.py may delete it and its | 37 # local cache directory. publishpackages.py may delete it and its |
38 # contents. The value is passed through the python functions | 38 # contents, so if you intend to run publishpackages.py on the same |
39 # os.expanduser and os.expandvars, so references to home directories of | 39 # system for several remote instances of treepkg, make sure the |
40 # the form ~ or ~user at the beginning of the value and environment | 40 # directory name is unique enough, to avoid one publishpackages instance |
41 # variable references of the form $VAR or ${VAR} are expanded. | 41 # removing the files of another. |
42 cachedir: /tmp/${LOGNAME}/treepkg-package-cache | 42 # |
43 # The value is passed through the python functions os.expanduser and | |
44 # os.expandvars, so references to home directories of the form ~ or | |
45 # ~user at the beginning of the value and environment variable | |
46 # references of the form $VAR or ${VAR} are expanded. | |
47 cachedir: /tmp/${LOGNAME}/treepkg-package-cache/%(build_host)s |