Mercurial > treepkg
comparison demopublishpackages.cfg @ 89:3caf4a5ecbf0
Add scripts that help publish the packages produced by the tree packager
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Tue, 11 Sep 2007 13:48:18 +0000 |
parents | |
children | 4d6c3431face |
comparison
equal
deleted
inserted
replaced
88:3ae54f99db26 | 89:3caf4a5ecbf0 |
---|---|
1 # Demo configuration file for publishpackages.py. The default config | |
2 # file used by publishpackages.py is publishpackages.cfg, so to use this | |
3 # file as the basis for your configuration, copy or rename this file and | |
4 # adapt it to your needs. | |
5 | |
6 [publishpackages] | |
7 # Username and host on which the treepackager runs. publishpackages.py | |
8 # has to be able to connect to that host as the builduser via ssh | |
9 # without knowning the password. This is best achieved with the | |
10 # ssh-agent. | |
11 build_user: builder | |
12 build_host: localhost | |
13 | |
14 # the program to run on build_host to list the filenames of the packages | |
15 # in question. Currently publishpackages.py assumes that the default | |
16 # configuration for that program works. | |
17 build_listpackages: ~/treepkg/bin/bin/listpackages.py | |
18 | |
19 # Username and host on which to publish the packages. | |
20 # publishpackages.py uses ssh to execute commands on the publish_host to | |
21 # create directories and scp to copy the files from the local cache to | |
22 # the publish_host. | |
23 publish_user: builder | |
24 publish_host: localhost | |
25 | |
26 # the directory on the publish_host where the apt directories reside. | |
27 publish_dir: /home/ftp/apt/dists/ | |
28 | |
29 # Command to execute on the build host to update the apt archive | |
30 publish_apt_archive_update: /home/ftp/apt/update | |
31 | |
32 # local cache directory. publishpackages.py may delete it and its | |
33 # contents. The value is passed through the python functions | |
34 # os.expanduser and os.expandvars, so references to home directories of | |
35 # the form ~ or ~user at the beginning of the value and environment | |
36 # variable references of the form $VAR or ${VAR} are expanded. | |
37 cachedir: /tmp/${LOGNAME}/treepkg-package-cache |