~launchpad-pqm/launchpad/devel

3811.1.4 by Stuart Bishop
Updated production and beta configs
1
# identify the component configuration used to define the site:
2
site-definition site.zcml
3
3973.1.73 by Steve Alexander
turn on devmode explicitly on developer machines, turn off explicitly elsewhere.
4
# Turn off Zope3 developer mode.
5
devmode off
6
3811.1.4 by Stuart Bishop
Updated production and beta configs
7
# number of bytecode instructions to execute between checks for
8
# interruptions (SIGINTR, thread switches):
9
interrupt-check-interval 200
10
11
# Handler threads
12
threads 4
13
14
<server>
15
  type HTTP
3811.1.6 by Stuart Bishop
Correct port numbers for beta3 and beta4
16
  address 10033
3811.1.4 by Stuart Bishop
Updated production and beta configs
17
</server>
18
19
# non-persistent in-memory storage
20
<zodb>
21
  <mappingstorage/>
22
</zodb>
23
24
<accesslog>
25
  <logfile>
4823.3.1 by Tom Haddon
Changing hostnames for beta instances and log locations to standardize
26
    path /srv/beta.launchpad.net/beta-logs/beta3-access.log
3811.1.4 by Stuart Bishop
Updated production and beta configs
27
  </logfile>
28
</accesslog>
29
30
<eventlog>
31
  <logfile>
4823.3.1 by Tom Haddon
Changing hostnames for beta instances and log locations to standardize
32
    path /srv/beta.launchpad.net/beta-logs/beta3.log
3811.1.4 by Stuart Bishop
Updated production and beta configs
33
  </logfile>
34
</eventlog>
35
36
<canonical default>
37
    dbname launchpad_prod
38
    dbhost jubany.ubuntu.com
39
    # Might want this on, but for now test what will be seen in production
40
    show_tracebacks false
41
    bounce_address bounces@canonical.com
42
4476.2.1 by Tom Haddon
Chaning to use non-tmp pidfile directory
43
    pid_dir /srv/beta.launchpad.net/var
44
3811.1.4 by Stuart Bishop
Updated production and beta configs
45
    <launchpad>
4198.2.1 by Tom Haddon
Removing beta restriction for launchpad-beta-testers only
46
        # restrict_to_team launchpad-beta-testers
4219.1.1 by Tom Haddon
Changing beta message per mrevells request
47
        site_message We're not beta testing any features at the moment.
3811.1.4 by Stuart Bishop
Updated production and beta configs
48
        # CREATE ROLE beta3 LOGIN IN ROLE launchpad
49
        dbuser beta3
50
        errors_address launchpad-error-reports@lists.canonical.com
51
        # Bugs domain matches production, as production email gateway
52
        # is being used.
53
        bugs_domain bugs.launchpad.net
54
55
        <virtual_hosts>
56
            use_https yes
57
            <mainsite>
58
                hostname beta.launchpad.net
4823.3.1 by Tom Haddon
Changing hostnames for beta instances and log locations to standardize
59
                althostnames localhost, potassium.ubuntu.com
3811.1.4 by Stuart Bishop
Updated production and beta configs
60
            </mainsite>
5435.1.2 by Leonard Richardson
Added an 'api' vhost that responds to all major HTTP methods.
61
            <api>
62
                hostname api.beta.launchpad.net
63
            </api>
3811.1.4 by Stuart Bishop
Updated production and beta configs
64
            <blueprints>
65
                hostname blueprints.beta.launchpad.net
66
            </blueprints>
67
            <code>
68
                hostname code.beta.launchpad.net
69
            </code>
70
            <translations>
71
                hostname translations.beta.launchpad.net
72
            </translations>
73
            <bugs>
74
                hostname bugs.beta.launchpad.net
75
            </bugs>
76
            <answers>
77
                hostname answers.beta.launchpad.net
78
            </answers>
3811.5.27 by Stuart Bishop
Update beta configs
79
            <openid>
3811.5.28 by Stuart Bishop
External domain should not mention openid yet
80
                hostname login.beta.launchpad.net
3811.5.27 by Stuart Bishop
Update beta configs
81
            </openid>
3811.5.28 by Stuart Bishop
External domain should not mention openid yet
82
            <shipitubuntu>
3811.1.4 by Stuart Bishop
Updated production and beta configs
83
                hostname ubuntu.shipit.beta.lauchpad.net
84
            </shipitubuntu>
85
            <shipitkubuntu>
86
                hostname kubuntu.shipit.beta.lauchpad.net
87
            </shipitkubuntu>
88
            <shipitedubuntu>
89
                hostname edubuntu.shipit.beta.lauchpad.net
90
            </shipitedubuntu>
91
            <xmlrpc>
92
                hostname xmlrpc.beta.launchpad.net
93
            </xmlrpc>
4895.2.1 by Barry Warsaw
utilities/check-configs.py: A launchpad.conf file checker.
94
            <xmlrpc-private>
95
                hostname xmlrpc-private.launchpad.net
96
            </xmlrpc-private>
5038.1.3 by Brad Crittenden
partial update to code in response to review and fixed config files.
97
            <feeds>
98
                hostname feeds.launchpad.net
5399.1.1 by Edwin Grubbs
Force links to http instead of https for feeds
99
                # don't link to ssl for feeds
100
                rooturl http://feeds.launchpad.net/
5038.1.3 by Brad Crittenden
partial update to code in response to review and fixed config files.
101
            </feeds>
3811.1.4 by Stuart Bishop
Updated production and beta configs
102
        </virtual_hosts>
103
3869.1.6 by Diogo Matsubara
adjust beta db_statement_timeout to 25000 and add the soft_request_timeout key to beta configs
104
        db_statement_timeout 25000
105
        soft_request_timeout 10000
3811.1.4 by Stuart Bishop
Updated production and beta configs
106
107
        <launchpad_session>
108
            dbhost jubany.ubuntu.com
109
            dbuser session_beta3
110
            dbname session_prod
111
            cookie beta
112
        </launchpad_session>
113
        <launchpad_errorreports>
4823.3.1 by Tom Haddon
Changing hostnames for beta instances and log locations to standardize
114
            errordir /srv/beta.launchpad.net/beta-logs
3811.1.7 by Stuart Bishop
OOPS prefixes ending in numbers could be bad
115
            oops_prefix BC
3811.1.4 by Stuart Bishop
Updated production and beta configs
116
            copy_to_zlog false
117
        </launchpad_errorreports>
118
    </launchpad>
119
120
    <productreleasefinder>
121
        dbuser productreleasefinder
122
    </productreleasefinder>
123
124
    <librarian>
125
        dbuser librarian
126
        upload_host mizuho.ubuntu.com
127
        upload_port 9090
128
        download_host mizuho.ubuntu.com
129
        download_port 8000
4284.2.1 by Tom Haddon
Changing launchpad librarian domain
130
        download_url http://launchpadlibrarian.net/
131
        buildd_download_url http://launchpadlibrarian.net/
3811.1.4 by Stuart Bishop
Updated production and beta configs
132
        <librarian_server>
133
            root /var/tmp/fatsam
134
        </librarian_server>
135
        <librarian_gc>
136
            dbuser librariangc
137
        </librarian_gc>
138
    </librarian>
139
140
    <malone>
141
        # The From address for Malone email interface errors
142
        bugmail_error_from_address noreply@bugs.launchpad.net
143
        buglist_batch_size 50
144
    </malone>
145
146
    <shipit>
4664.1.1 by Curtis Hovey
Normalized comments for bug 3732.
147
        # XXX: salgado 2006-06-16 bug=50033:
148
        # Even though this is empty, it must be kept so that the default
3811.1.4 by Stuart Bishop
Updated production and beta configs
149
        # values are used. See https://launchpad.net/bugs/50033 for details.
150
    </shipit>
151
152
    <rosetta>
153
        <poimport>
154
            dbuser poimport
155
        </poimport>
156
        <rosettaadmin>
157
            dbuser rosettaadmin
158
        </rosettaadmin>
159
    </rosetta>
160
161
    <distributionmirrorprober>
162
        dbuser distributionmirror
4285.2.5 by Mark Shuttleworth
Test fixes for renamed series
163
        cdimage_file_list_url http://releases.ubuntu.com/.manifest
3811.1.4 by Stuart Bishop
Updated production and beta configs
164
        timeout 30
165
    </distributionmirrorprober>
166
167
    <buildsequencer>
168
        launch no
169
    </buildsequencer>
170
171
    <cveupdater>
172
        dbuser cve
173
    </cveupdater>
174
175
    <zopeless>
176
        send_email no
177
        smtp_host localhost
178
        smtp_port 25
179
    </zopeless>
180
181
    <gpghandler>
182
        host keyserver.internal 
3869.1.1 by Diogo Matsubara
Fixes 86966 (OpenPGP keys link in LaunchPad account not working)
183
        public_host keyserver.ubuntu.com
3811.1.4 by Stuart Bishop
Updated production and beta configs
184
        port 11371
185
    </gpghandler>
186
187
    <statistician>
188
        dbuser statistician
189
    </statistician>
190
4974.5.19 by Francis J. Lacoste
ZConfig is crap.
191
    <processmail>
192
        dbuser processmail
193
    </processmail>
194
3834.1.1 by Stuart Bishop
Fix beta configs
195
    <answertracker>
3881.2.2 by Francis J. Lacoste
Rename expire-questions user.
196
        dbuser answertracker
3834.1.1 by Stuart Bishop
Fix beta configs
197
    </answertracker>
3811.1.4 by Stuart Bishop
Updated production and beta configs
198
199
    <uploadqueue>
200
        dbuser queued
201
    </uploadqueue>
202
4791.1.1 by Michael Hudson
add empty codehosting sections to the beta{1,2,3,4} and edge configs; add XXXs to the empty sections in lpnet{2,3,4,5} and staging configs
203
    <codehosting>
204
        # XXX: MichaelHudson 2007-08-31
205
        # Even though this is empty, it must be kept so that the default
206
        # values are used. See https://launchpad.net/bugs/50033 for details.
207
    </codehosting>
208
4236.4.5 by David Allouche
Use default values to avoid duplicating new config values, and define the new section in all webapp config files.
209
    <codeimport>
210
    </codeimport>
211
3691.312.84 by Celso Providelo
Review/Fix all configuration files to have the PPA/CommercialRepo related sections and finetune their default values.
212
    <personalpackagearchive>
213
    </personalpackagearchive>
214
215
    <archivepublisher>
216
    </archivepublisher>
217
4813.11.18 by Guilherme Salgado
Add empty <mailman> sections on all config files to workaround bug 50033
218
    # We can't use just </mailman> because ZConfig is a huge piece of crap.
219
    <mailman>
220
    </mailman>
221
3811.1.4 by Stuart Bishop
Updated production and beta configs
222
    <karmacacheupdater>
223
        # Configuration used to run the karmacache updater.
224
        dbuser karma
225
    </karmacacheupdater>
226
227
    <targetnamecacheupdater>
228
        # Configuration used to run the bugtask targetnamecache updater.
229
        dbuser targetnamecacheupdater
230
    </targetnamecacheupdater>
231
232
    <expiredmembershipsflagger>
233
        dbuser teammembership
234
    </expiredmembershipsflagger>
235
236
</canonical>
237
238
239
# This is the config used by the test runner.
240
<canonical testrunner>
241
    dbname launchpad_ftest
242
    show_tracebacks true
243
    # chunkydiff may be turned off temporarily to help diagnose test
244
    # failures, but please don't commit this setting to rocketfuel.
245
    chunkydiff on
246
247
    bounce_address bounces@canonical.com
248
249
    <launchpad>
250
        dbuser launchpad
251
        errors_address launchpad-error-reports@lists.canonical.com
252
        bugs_domain bugs.launchpad.net
253
        <launchpad_errorreports>
254
            errordir /var/tmp/lperr.test
255
            oops_prefix T
256
            copy_to_zlog false
257
        </launchpad_errorreports>
258
        <launchpad_session>
259
            dbuser session
260
            dbname launchpad_ftest
261
        </launchpad_session>
262
    </launchpad>
263
    <librarian>
264
        dbuser librarian
265
        upload_host localhost
266
        upload_port 59090
267
        download_host localhost
268
        download_port 58000
269
        download_url http://localhost:58000/
270
        buildd_download_url http://localhost:58000/
271
        <librarian_server>
272
            launch no
273
            root /var/tmp/fatsam.test
274
        </librarian_server>
275
    </librarian>
276
    <zopeless>
277
        send_email false
278
    </zopeless>
279
280
    <supermirror>
281
        dbuser supermirror
282
        branchesdest /srv/sm-ng/mirrors
283
        masterlock /srv/sm-ng/masterlock
284
    </supermirror>
285
</canonical>