annotate demostaticweb.cfg @ 102:e6cfe3b80956

fix typos
author Bernhard Herzog <bh@intevation.de>
date Tue, 04 Mar 2008 14:08:17 +0000
parents 3b9f35a50abf
children 38aeaa34fa8c
rev   line source
68
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
1 # Demo config file for publishstaticweb.py. The default config file
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
2 # used by publishstaticweb.py is staticweb.cfg, so to use this file as
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
3 # the basis for your configuration, copy or rename this file and adapt
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
4 # it to your needs.
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
5
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
6 [staticweb]
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
7 # Username and host on which the treepackager runs. publishstaticweb.py
78
9a602d8eaa60 initial revision of the subversion repository
Thomas Arendsen Hein <thomas@intevation.de>
parents: 76
diff changeset
8 # has to be able to connect to that host as the build_user via ssh
9a602d8eaa60 initial revision of the subversion repository
Thomas Arendsen Hein <thomas@intevation.de>
parents: 76
diff changeset
9 # without knowing the password. This is best achieved with the
68
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
10 # ssh-agent. Also, publishstaticweb.py uses rsync to copy files from
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
11 # build_host to the local host.
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
12 build_user: builder
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
13 build_host: localhost
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
14
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
15 # the program to run on build_host to create the static web-page.
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
16 # Currently publishstaticweb.py assumes that the default configuration
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
17 # for that program works.
82
3b9f35a50abf Make the defaults a bit more useful:
Bernhard Herzog <bh@intevation.de>
parents: 78
diff changeset
18 build_create: ~/treepkg/bin/createstaticweb.py
68
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
19
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
20 # the directory on build_host where the static web-site should be put.
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
21 # This value is used as the parameter to the build_create command on
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
22 # build_host.
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
23 build_dir: /tmp/treepkg-web
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
24
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
25 # Username and host on which to publish the static pages.
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
26 # publishstaticweb.py uses rsync to copy the files from the local cache
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
27 # to the publish_host.
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
28 publish_user: builder
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
29 publish_host: localhost
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
30
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
31 # the directory on the publish_host where the web-site resides. It's
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
32 # the directory where the index.html file will be found. The script may
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
33 # delete files under that directory.
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
34 publish_dir: /tmp/treepkg-status
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
35
57a0b747ea3e add publishstaticweb.py and demo config file
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
36 # local cache directory. publishstaticweb.py may delete it and its
76
7c55fb368d0b web: expand the cachedir value of of staticweb.cfg
Bernhard Herzog <bh@intevation.de>
parents: 68
diff changeset
37 # contents. The value is passed through the python functions
7c55fb368d0b web: expand the cachedir value of of staticweb.cfg
Bernhard Herzog <bh@intevation.de>
parents: 68
diff changeset
38 # os.path.expanduser and os.path.expandvars, so references to home
7c55fb368d0b web: expand the cachedir value of of staticweb.cfg
Bernhard Herzog <bh@intevation.de>
parents: 68
diff changeset
39 # directories of the form ~ or ~user at the beginning of the value and
7c55fb368d0b web: expand the cachedir value of of staticweb.cfg
Bernhard Herzog <bh@intevation.de>
parents: 68
diff changeset
40 # environment variable references of the form $VAR or ${VAR} are
7c55fb368d0b web: expand the cachedir value of of staticweb.cfg
Bernhard Herzog <bh@intevation.de>
parents: 68
diff changeset
41 # expanded.
82
3b9f35a50abf Make the defaults a bit more useful:
Bernhard Herzog <bh@intevation.de>
parents: 78
diff changeset
42 cachedir: /tmp/${LOGNAME}/treepkg-status-cache
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)