comparison README @ 78:9a602d8eaa60

initial revision of the subversion repository
author Thomas Arendsen Hein <thomas@intevation.de>
date Tue, 24 Apr 2012 17:13:43 +0200
parents 26a617c0f76b
children 91deff3db739
comparison
equal deleted inserted replaced
77:f0aa5a8af056 78:9a602d8eaa60
100 with at least one packager and the correct root_cmd and pbuilderrc 100 with at least one packager and the correct root_cmd and pbuilderrc
101 options (the defaults for both should be OK if you use sudo as described 101 options (the defaults for both should be OK if you use sudo as described
102 above), you can create the directories, the pbuilder configuration and 102 above), you can create the directories, the pbuilder configuration and
103 the chroot environment with the script initpbuilder.py like this: 103 the chroot environment with the script initpbuilder.py like this:
104 104
105 ./initpbuilder.py --mirrorsite=<URL of preferred debian mirror> 105 bin/initpbuilder.py --mirrorsite=<URL of preferred debian mirror>
106 106
107 You can specify some more mirrors with the --othermirror option. For 107 You can specify some more mirrors with the --othermirror option. For
108 more information run "./initpbuilder.py --help" and consult the pbuilder 108 more information run "bin/initpbuilder.py --help" and consult the pbuilder
109 documentation. 109 documentation.
110 110
111 111
112 Configure the web front-end 112 Configure the web front-end
113 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 113 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
121 Web-server: 121 Web-server:
122 122
123 The default configuration should be OK in most cases. If you want you 123 The default configuration should be OK in most cases. If you want you
124 can customize it in cherrypy.cfg. Start the web front-end with 124 can customize it in cherrypy.cfg. Start the web front-end with
125 125
126 ./starttreepkgweb.py 126 bin/starttreepkgweb.py
127 127
128 starttreepkgweb has some options to specify which configuration files to use. 128 starttreepkgweb has some options to specify which configuration files to use.
129 129
130 130
131 Static pages: 131 Static pages:
135 the tree packager runs. publishstaticweb.py is usually run on another 135 the tree packager runs. publishstaticweb.py is usually run on another
136 system and connects via ssh and rsync to the tree packager host, creates 136 system and connects via ssh and rsync to the tree packager host, creates
137 the files with createstaticweb.py and copies the files from the tree 137 the files with createstaticweb.py and copies the files from the tree
138 packager host to a third host. 138 packager host to a third host.
139 139
140 The config file for publishstaticweb.py is demostaticweb.cfg. Copy this 140 The configuration file for publishstaticweb.py is demostaticweb.cfg.
141 file to staticweb.cfg and adapt it to your system. The comments in the 141 Copy this file to staticweb.cfg and adapt it to your system. The
142 file describe the options. Afterwards, run the script with 142 comments in the file describe the options. Afterwards, run the script
143 with
143 144
144 ./publishstaticweb.py 145 bin/publishstaticweb.py
145 146
146 147
147 Running the Tree Packager 148 Running the Tree Packager
148 ------------------------- 149 -------------------------
149 150
150 After configuration, run the tree packager with 151 After configuration, run the tree packager with
151 152
152 ./runtreepkg.py [options] [packager...] 153 bin/runtreepkg.py [options] [packager...]
153 154
154 For each packager listed on the command line -- or all configured 155 For each packager listed on the command line -- or all configured
155 packagers if none are given -- the tree packager checks our or updates 156 packagers if none are given -- the tree packager checks out or updates
156 the sources and builds binary packages if the new revision hasn't been 157 the sources and builds binary packages if the new revision hasn't been
157 packaged yet. 158 packaged yet.
158 159
159 If the option --once has been given, the tree packager exits after it 160 If the option --once has been given, the tree packager exits after it
160 has checked each packager once. Without it, the check is done 161 has checked each packager once. Without it, the check is done
161 repeatedly. The interval between two checks can be set in the config 162 repeatedly. The interval between two checks can be set in the configuration
162 file. 163 file.
163 164
164 Call runtreepkg.py with the --help option to see a list of the available 165 Call runtreepkg.py with the --help option to see a list of the available
165 options. 166 options.
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)